-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide a page referencing API Error codes and messages with sitiations where they might be encountered #61
Comments
I assume you are using Relay. It also looks like the error message is clear on what is happening. |
Well, if the space url is incorrect, should there be a message indicating it rather than a weird message indicating some endpoint being down? |
Hi @senthilmk, can you share a code snippet to help me reproduce the error please? You can include the Python version and environment too. |
Sorry to resurrect this but I'm having the same issue. @lpradovera mentioned something about a Space URL, where would that be passed to the library? I'm struggling to find any reference to that in the docs. I'm using code very similar to this example and getting the error when calling
|
From what I can tell, the issue is that aiohttp is using an incomplete/outdate set of root certificates. This can be resolved by passing the bundle from async def connect(self):
logging.debug('Connecting to: {0}'.format(self.host))
ssl_context = ssl.create_default_context(cafile=certifi.where())
self.ws = await self._session.ws_connect(self.host, ssl_context=ssl_context) Happy to make a PR for it if that'd be helpful, I'm not sure if there's a better solution though. |
Hey @WilliamOConnell! I made some tests and i'm not seeing the FYI: the Space URL is out of context for this issue. Thanks! |
I'm using Python 3.10 on Windows 10 (x64). Signalwire package version 2.0.4. When I run it I get the |
Whenn I try and send an SMS, I enounter this message. I could not find any information on the signarlwire site.
WARNING:root:relay.signalwire.com seems down..
INFO:root:Connection closed..
The text was updated successfully, but these errors were encountered: