Error testing haaska

Hi there,
I’m trying to get an Haaska skill.
This is the guide I followed:

My config.json

{
“url”: “https://mattsnow.duckdns.org:8123/api”,
“bearer_token”: “my long long long long token”,
“debug”: false,
“ssl_verify”: true,
“ssl_client”: []
}

And this is the error while I do a test in the AWS section:

{
“errorMessage”: “(‘Connection aborted.’, RemoteDisconnected(‘Remote end closed connection without response’,))”,
“errorType”: “ConnectionError”,
“stackTrace”: [
[
“/var/task/haaska.py”,
111,
“event_handler”,
“return ha.post(‘alexa/smart_home’, event, wait=True)”
],
[
“/var/task/haaska.py”,
65,
“post”,
“timeout=(None, read_timeout))”
],
[
“/var/task/requests/sessions.py”,
581,
“post”,
“return self.request(‘POST’, url, data=data, json=json, **kwargs)”
],
[
“/var/task/requests/sessions.py”,
533,
“request”,
“resp = self.send(prep, **send_kwargs)”
],
[
“/var/task/requests/sessions.py”,
646,
“send”,
“r = adapter.send(request, **kwargs)”
],
[
“/var/task/requests/adapters.py”,
498,
“send”,
“raise ConnectionError(err, request=request)”
]
]
}

Log output:
START RequestId: 90cf3ebe-1014-4a6c-8a81-8345b5ece37c Version: $LATEST
(‘Connection aborted.’, RemoteDisconnected(‘Remote end closed connection without response’,)): ConnectionError
Traceback (most recent call last):
File “/var/task/haaska.py”, line 111, in event_handler
return ha.post(‘alexa/smart_home’, event, wait=True)
File “/var/task/haaska.py”, line 65, in post
timeout=(None, read_timeout))
File “/var/task/requests/sessions.py”, line 581, in post
return self.request(‘POST’, url, data=data, json=json, **kwargs)
File “/var/task/requests/sessions.py”, line 533, in request
resp = self.send(prep, **send_kwargs)
File “/var/task/requests/sessions.py”, line 646, in send
r = adapter.send(request, **kwargs)
File “/var/task/requests/adapters.py”, line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: (‘Connection aborted.’, RemoteDisconnected(‘Remote end closed connection without response’,))

END RequestId: 90cf3ebe-1014-4a6c-8a81-8345b5ece37c
REPORT RequestId: 90cf3ebe-1014-4a6c-8a81-8345b5ece37c Duration: 119.93 ms Billed Duration: 200 ms Memory Size: 128 MB Max Memory Used: 60 MB

And, yes, the skill is broken… can you help me? I can’t find my error…

Thanks you all!

Hard to tell, but a couple of things to verify or try:

  • Verify you have connectivity to your HA from an external network to your https://mattsnow.duckdns.org:8123/

  • Set ssl_verify to false.

  • Check your HA configuration.yaml to make sure it has:

alexa:
  smart_home:
  • Check your user profile in HA to make sure it shows that some long lived access token has been allocated for haaska.

All points are veryfied!

Here the new log:
{
“errorMessage”: “(‘Connection aborted.’, RemoteDisconnected(‘Remote end closed connection without response’,))”,
“errorType”: “ConnectionError”,
“stackTrace”: [
[
“/var/task/haaska.py”,
111,
“event_handler”,
“return ha.post(‘alexa/smart_home’, event, wait=True)”
],
[
“/var/task/haaska.py”,
65,
“post”,
“timeout=(None, read_timeout))”
],
[
“/var/task/requests/sessions.py”,
581,
“post”,
“return self.request(‘POST’, url, data=data, json=json, **kwargs)”
],
[
“/var/task/requests/sessions.py”,
533,
“request”,
“resp = self.send(prep, **send_kwargs)”
],
[
“/var/task/requests/sessions.py”,
646,
“send”,
“r = adapter.send(request, **kwargs)”
],
[
“/var/task/requests/adapters.py”,
498,
“send”,
“raise ConnectionError(err, request=request)”
]
]
}

I have the same problem.
Do you resolved the problem?
thanks so much