crossbario / crossbario/autobahn-python
Error Message for rawsocket/websocket could be improved.
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 768
- PR merge metrics
- No merged PRs in 30d
Description
hi,
I have been looking at autobahn-python client code, it looks like we do not have correct error message for scenario's where we are trying to use a secured raw socket, rss:: and connection fails for any reason.
Currently we have
'ssl argument value passed to %s conflicts with the "ws:" '
'prefix of the url argument. Did you mean to use "wss:"?' %
self.__class__.__name__)
which can certainly be improved upon.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the quoted SSL-versus-"ws:" error message in the Autobahn-Python client code and inspect how secured raw socket failures are handled. Reproduce the relevant connection failure, decide on clearer wording for the error, and verify the resulting client error behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100