knackpy icon indicating copy to clipboard operation
knackpy copied to clipboard

SSLError when using URL Slug for dedicated server

Open elrezad opened this issue 1 year ago • 2 comments

Hi team, thank you for this software.

We've recently moved our Knack apps to a dedicated server at apps.mycompany.com. The endpoint for the api should be api.apps.mycompany.com, but when I try to connect it throws an error:

requests.exceptions.SSLError: HTTPSConnectionPool(host='api.apps.mycompany.com-api.knack.com', port=443): Max retries exceeded with url: /v1/applications/60df87fxxxxxxxxxxxxxxxx (Caused by SSLError(CertificateError("hostname 'api.apps.mycompany.com-api.knack.com' doesn't match '*.knack.com'")))

I've contacted Knack's support, but any help would be much appreciated.

Thanks and best regards

elrezad avatar Jan 15 '24 09:01 elrezad