valhallasw added a comment.
the reason on_connect is not called is the following. Compare
DEBUG:socketIO_client:[transports available] websocket xhr-multipart htmlfile jsonp-polling flashsocket xhr-polling DEBUG:socketIO_client.transports:[transport selected] websocket DEBUG:socketIO_client.transports:[packet sent] 1::/rc: DEBUG:socketIO_client.transports:[packet received] 1:: DEBUG:socketIO_client: [connect] DEBUG:socketIO_client.transports:[packet received] 1::/rc
to
DEBUG:socketIO_client:[transports available] websocket xhr-multipart htmlfile jsonp-polling flashsocket xhr-polling DEBUG:socketIO_client.transports:[packet received] 1:: DEBUG:socketIO_client: [connect] (... nothing)
This means socketio_client doesn't actually register in the /rc namespace, and thus our code is not called.
TASK DETAIL https://phabricator.wikimedia.org/T85717
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: valhallasw Cc: gerritbot, jayvdb, valhallasw, Aklapper, pywikipedia-bugs