Python-SocketIO >= 5.7.0 rejecting connections to namespaces created via external processes using Redis message broker #975
-
Describe the bug To Reproduce Expected behavior Logs Not available at the moment. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Version 5.7. introduces a change with regards to accepting connections. Because of an unintended omission, previous versions accepted connections from any namespaces. In 5.7 (practically 5.7.1) by default only connections from known namespaces are accepted. Known namespaces are the default namespace
|
Beta Was this translation helpful? Give feedback.
Version 5.7. introduces a change with regards to accepting connections. Because of an unintended omission, previous versions accepted connections from any namespaces. In 5.7 (practically 5.7.1) by default only connections from known namespaces are accepted. Known namespaces are the default namespace
/
and any namespaces for which there are event handlers. If you want to accept connections from other namespaces you have two options:connect
handler for any of the namespaces that you want to acceptnamespaces
argument to provide the list of namespaces you'd like to accept. If you passnamespaces='*'
all namespaces will be accepted, which is the unintended behavior of 5.6 and …