crossbario / crossbario/autobahn-python
Component: correctly process all transport options
Open
Nobody has claimed this yet.
bug
needs-discussion
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 768
- PR merge metrics
- No merged PRs in 30d
Description
Connection failed: ValueError: Unknown rawsocket transport option: max_message_size=1048576
{
"id": "xbrmm1",
"type": "xbrmm",
"options": {
"env": {
"inherit": true
}
},
"makers": [
{
"id": "maker1",
"store": {
"type": "cfxdb",
"path": "../.xbrdb-transactions",
"maxsize": 1073741824
},
"blockchain": {
"type": "ethereum",
"gateway": {
"type": "user",
"http": "http://localhost:1545"
}
},
"connection": {
"realm": "realm1",
"transport": {
"type": "rawsocket",
"endpoint": {
"type": "unix",
"path": "xbrmm.sock"
},
"serializer": "cbor",
"options": {
"max_message_size": 1048576
}
}
}
}
]
}
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 at autobahn/twisted/component.py around line 110 and inspect how the transport configuration passes the rawsocket options shown in the issue. Reproduce the connection with max_message_size set, then verify that the transport accepts and processes the configured option without raising the unknown-option error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100