roqtech / documentation

https://documentation-orhp.vercel.app
MIT License
1 stars 5 forks source link

Issue with certificate #40

Open boilermanc opened 1 year ago

boilermanc commented 1 year ago

I am getting an error and have this as an overview. i did change the url from localhost to a local ip address. but update the .env file accordingly.

FetchError: request to https://mars-pp.roq-platform.com/v01/authorize/serviceAccount failed, reason: Hostname/IP does not match certificate's altnames: Host: mars-pp.roq-platform.com. is not in the cert's altnames: DNS:*.de-2.platformsh.site

It seems like your application is still trying to establish a secure connection to the https://mars-pp.roq-platform.com/v01/authorize/serviceAccount URL, but it's failing because the certificate presented by the server doesn't match the hostname of the URL.

The certificate issue might be due to the environment variable ROQ_PLATFORM_URL not being set correctly. I believe you mentioned earlier that you are using https://jupiter-pp.roq-platform.com for your ROQ_PLATFORM_URL. However, the error message suggests the application is trying to connect to https://mars-pp.roq-platform.com/v01/authorize/serviceAccount, which might be the cause of the issue.

junwatu commented 1 year ago

Hello, @boilermanc. Could you please clarify if the issue occurred within the generated application?