Unable to register the Client application with error Failed to fetch

Hello OpenEMR Team,

I am unable to Register the Client application.
Filled all the required details including JWK URL and got failed to fetch Error

Could you please assist on this in priority.

Hello Team,

Could you please assist on the registration error.

Hello OpenEMR Team,

I am unable to Register the Client application.
Filled all the required details including JWK URL and got failed to fetch Error

Could you please assist on this in priority.

Have you checked the forums for answers similar to yours? This question has been asked many times before and it almost always come down to a mismatch between your browser and the server’s SSL setup. Open up the javascript developer’s console and you’ll find likely that the fetch failed because you are attempting to retrieve an SSL resource from an non-SSL standard.

1 Like

Hello @adunsulag ,

We validated the SSL resources and it looking good from our end and the openEMR is using the older version TLS version, like 1.0 or 1.1. Tried configuring the openEMR TLS higher veriosn in below two files (openemr.conf or config.php) to 1.2 or 1.3, but unable to locate the tls_version on the files.

Could you please assist us how we can update the openEMR TLS version.

SSL is setup on the apache web server or nginx depending on how you’ve setup OpenEMR. How did you setup OpenEMR? What version is this?

It is in azure hosted.
Open EMR facing Fetch failed issue ,I validated the SSL resources and it looking good from our end and the openEMR is using the older version TLS version, like 1.0 or 1.1.
We tried all the multiple steps mentioned below for fixing the issue it did not helped:

  1. Tried configuring the openEMR TLS higher veriosn in below two files (openemr.conf or config.php) to 1.2 or 1.3, but unable to locate the tls_version on the files.---------------------------Unable to locate the file.

  2. Locate the php.ini file, usually found in the /etc/php/7.x/fpm directory (replace 7.x with your PHP version).
    Edit the file and add the following line:
    openssl.default_cipher_suites = TLSv1.2------------------- There’s no openssl.default_cipher_suites

  3. In Azure App Service, the php.ini file is read-only, so you can’t modify it directly. Instead, you can use the ini_set function in your OpenEMR code to update the openssl.default_cipher_suites setting.

Added the following line to your OpenEMR configuration file (openemr.conf.php or config.php):
ini_set(‘openssl.default_cipher_suites’, ‘TLSv1.2’);-----------------It did not hep

Could you please let us know a support number a resource who can assist on the below?

I suggest contacting a professional support vendor. You can see a list here:
https://www.open-emr.org/wiki/index.php/Professional_Support