-
Notifications
You must be signed in to change notification settings - Fork 519
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
Auth not working properly since Autobahn websocket server #434
Comments
@reinzor I can't find documentation about how to run the authenticate service, can you point me at some information so I can try to repro this? |
This is indeed not properly documented (maybe we should add some documentation in the rosbridge aswell). Rosauth package doc: http://wiki.ros.org/rosauth then call the http://robotwebtools.org/jsdoc/roslibjs/current/Ros.html#authenticate |
However, after more testing, it seems to hang only under heavy load so maybe this might be related to #425 |
@reinzor is this still an issue? |
Yes, for now I reduced the bandwidth and it seems to work fine but for high loads, authentication seems to fail for some reason. It seems that something is "hanging". |
I tried to repro this but couldn't get it to auth properly under normal conditions. I'm happy to debug this when there's documentation on how to set it up. |
You might find this works better with #464 |
We will try this out! Thanks |
Seemed to be coupled to #425 , no longer deserves a separate issue. |
Expected Behavior
Authentication should work with multiple clients.
Actual Behavior
When multiple clients set-up an auth connection, at some point the auth service is not called and the client is not authenticated. When running the authenticated websocket server separately, it seems that it hangs and does not respond on any incoming connections.
Steps to Reproduce the Problem
I could only reproduce this when the system is under some load. With a simple set-up, this does not occur.
Specifications
MELODIC
):Ubuntu 18.04 LTS
):3b375b23a4bc36cdc0d79fab8914def77951ded4
):[Twisted, version 17.9.0]
):The text was updated successfully, but these errors were encountered: