[GH-ISSUE #1760] Authentication Timeout in nats #3038

Closed
opened 2026-03-14 06:20:13 +03:00 by kerem · 1 comment
Owner

Originally created by @optiproplus on GitHub (Feb 21, 2024).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1760

Server Info (please complete the following information):

  • OS: Ubuntu 22.04.3
  • Browser: firefox
  • RMM Version (as shown in top left of web UI): v0.17.5

Installation Method:

  • Standard
  • Docker

Describe the bug:

  1. this is fresh install to the new vps
  2. client installs successfully, however i'm unable to control it
  3. i can see constant timeouts in nats while in debug mode, here is http request trace between nginx and nat-server

T 127.0.0.1:55290 -> 127.0.0.1:9235 [AP] #147045
GET /natsws HTTP/1.1..Host: api.xxx.yyy..Upgrade: websocket..Connection: upgrade..X-Forwarded-Host: api.xx
x.yyy:443..X-Forwarded-For: a.b.c.d, e.f.g.h..X-Forwarded-Proto: https..X-Real-IP: a.b.c
.d..User-Agent: Go-http-client/1.1..Sec-WebSocket-Key: o+oHYyk8+8vjllySpL45Cg==..Sec-WebSocket-Version: 13..Sec-Web
socket-Extensions: permessage-deflate; server_no_context_takeover; client_no_context_takeover....

T 127.0.0.1:9235 -> 127.0.0.1:55290 [AP] #147047
HTTP/1.1 101 Switching Protocols..Upgrade: websocket..Connection: Upgrade..Sec-WebSocket-Accept: X8/o3ZdLtmvpkARZM9NP
IGbTaJc=....

T 127.0.0.1:9235 -> 127.0.0.1:55290 [AP] #147049
.~..INFO {"server_id":"NBC4ULHQ7VNMUFKYFPCUKB6CBYRSOKIQTPGDMJNS55MBAYULHAKB2OPZ","server_name":"NBC4ULHQ7VNMUFKYFPCUK
B6CBYRSOKIQTPGDMJNS55MBAYULHAKB2OPZ","version":"2.10.10","proto":1,"git_commit":"983a1d2","go":"go1.21.6","host":"127
.0.0.1","port":9235,"headers":true,"auth_required":true,"max_payload":67108864,"client_id":10345,"client_ip":"127.0.0
.1","xkey":"XBWN5XQCV3VEKQRH4BVQMJUHWF3OIBSICYW2DAPVTK7UVWUKEL7A3OUX"} ..

T 127.0.0.1:9235 -> 127.0.0.1:55290 [AP] #147051
..-ERR 'Authentication Timeout'......Authentication Timeout

Originally created by @optiproplus on GitHub (Feb 21, 2024). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1760 **Server Info (please complete the following information):** - OS: Ubuntu 22.04.3 - Browser: firefox - RMM Version (as shown in top left of web UI): v0.17.5 **Installation Method:** - [x] Standard - [ ] Docker **Describe the bug**: 1. this is fresh install to the new vps 2. client installs successfully, however i'm unable to control it 3. i can see constant timeouts in nats while in debug mode, here is http request trace between nginx and nat-server T 127.0.0.1:55290 -> 127.0.0.1:9235 [AP] #147045 GET /natsws HTTP/1.1..Host: api.xxx.yyy..Upgrade: websocket..Connection: upgrade..X-Forwarded-Host: api.xx x.yyy:443..X-Forwarded-For: a.b.c.d, e.f.g.h..X-Forwarded-Proto: https..X-Real-IP: a.b.c .d..User-Agent: Go-http-client/1.1..Sec-WebSocket-Key: o+oHYyk8+8vjllySpL45Cg==..Sec-WebSocket-Version: 13..Sec-Web socket-Extensions: permessage-deflate; server_no_context_takeover; client_no_context_takeover.... ## T 127.0.0.1:9235 -> 127.0.0.1:55290 [AP] #147047 HTTP/1.1 101 Switching Protocols..Upgrade: websocket..Connection: Upgrade..Sec-WebSocket-Accept: X8/o3ZdLtmvpkARZM9NP IGbTaJc=.... ## T 127.0.0.1:9235 -> 127.0.0.1:55290 [AP] #147049 .~..INFO {"server_id":"NBC4ULHQ7VNMUFKYFPCUKB6CBYRSOKIQTPGDMJNS55MBAYULHAKB2OPZ","server_name":"NBC4ULHQ7VNMUFKYFPCUK B6CBYRSOKIQTPGDMJNS55MBAYULHAKB2OPZ","version":"2.10.10","proto":1,"git_commit":"983a1d2","go":"go1.21.6","host":"127 .0.0.1","port":9235,"headers":true,"auth_required":true,"max_payload":67108864,"client_id":10345,"client_ip":"127.0.0 .1","xkey":"XBWN5XQCV3VEKQRH4BVQMJUHWF3OIBSICYW2DAPVTK7UVWUKEL7A3OUX"} .. ## T 127.0.0.1:9235 -> 127.0.0.1:55290 [AP] #147051 ..-ERR 'Authentication Timeout'......Authentication Timeout
kerem closed this issue 2026-03-14 06:20:18 +03:00
Author
Owner

@silversword411 commented on GitHub (Feb 21, 2024):

You're not proxying?
You don't have some in-network security product blocking stuff?

<!-- gh-comment-id:1956911394 --> @silversword411 commented on GitHub (Feb 21, 2024): You're not proxying? You don't have some in-network security product blocking stuff?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#3038
No description provided.