haaska icon indicating copy to clipboard operation
haaska copied to clipboard

config.json URL ending with letter "a" are cut short when testing.

Open raulvasquez opened this issue 5 years ago • 1 comments

I am running into an issue where the domain is cut short when testing in lambda:

Config.json. "url": "https://test.domain.caa/api/",

DROPS .caa to .c

Response: { "errorMessage": "HTTPSConnectionPool(host='test.domain.c', port=443): Max retries exceeded with url: /api/alexa/smart_home (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb95f068c18>: Failed to establish a new connection: [Errno -2] Name or service not known',))", "errorType": "ConnectionError", Config.json. "url": "https://test.domain.caaaaaaa/api/",

Drops .caaaaaaa to .c also

Response: { "errorMessage": "HTTPSConnectionPool(host='test.domain.c', port=443): Max retries exceeded with url: /api/alexa/smart_home (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fca8b306c18>: Failed to establish a new connection: [Errno -2] Name or service not known',))", "errorType": "ConnectionError",

url": "https://test.domain.caxa/api/" drops caxa to cax. "errorMessage": "HTTPSConnectionPool(host='test.domain.cax', port=443): Max retries exceeded with url: /api/alexa/smart_home (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f84f143cc18>: Failed to establish a new connection: [Errno -2] Name or service not known',))", "errorType": "ConnectionError",

url": "https://test.domain.caxaZa/api/" same behavior. Response: { "errorMessage": "HTTPSConnectionPool(host='test.domain.caxaz', port=443): Max retries exceeded with url: /api/alexa/smart_home (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa56731ec18>: Failed to establish a new connection: [Errno -2] Name or service not known',))", "errorType": "ConnectionError",

raulvasquez avatar Apr 23 '19 00:04 raulvasquez

I resolved my issue by adding a colon : after the domain. Eg. https://domain.caxa:/api/

raulvasquez avatar Apr 23 '19 14:04 raulvasquez