-
Notifications
You must be signed in to change notification settings - Fork 30
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
unexpected response from server: "!!! -ERR 'Authentication Timeout'␍␊" #205
Comments
@nidi3 That means that the client was presented with a connect, but didn't authenticated quickly enough there could be several reasons for this:
If the client fails to connect, and you have reconnect enabled, the client should just attempt to reconnect Can you show your client config options and also verify that the server doesn't have a timeout directive for authorization
|
Hi @aricart Thanks for the quick answer! Indeed, we have an authorization timeout set. We'll try to set it higher.
Not sure about this part. We have reconnect enabled in the ConnectionOptions, so nats.ws should attempt to reconnect automatically? It seems not to. There are two possible errors:
The first case we can handle in the application, for the second case we don't know what the unexpected response was. |
@nidi3, I am hoping on your side, you are NOT using an |
@nidi3 really want to know what your connection options are for the client, and the timeout for the server. |
@nidi3 thanks for finding this, fix should be in the next release |
Hi @aricart |
From time to time we get an "unexpected response from server" Error and on the console there's the message "!!! -ERR 'Authentication Timeout'"
Thanks
The text was updated successfully, but these errors were encountered: