Replies: 1 comment 4 replies
-
Never tried Web sockets with |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm writing a cli that talks jmap directly, I can list messages, send an email and everything seems to be working fine...
but I can't get it to listen to the websocket. Any idea why?
stalwart is behind an nginx that I think is properly configured for websockets:
But I can't get it to upgrade the connection. I'm trying directly from the server to remove nginx potentially messing up:
Am i doing something wrong? what parameters are invalid?
If I put an invalid login:password, I have an authentication error as expected
"type":"about:blank","status":401,"title":"Unauthorized","detail":"You have to authenticate first."}
stalwart logs contains:
2025-07-31T10:09:43Z ERROR Bad resource parameters (resource.bad-parameters) listenerId = "http", localPort = 8080, remoteIp = 127.0.0.1, remotePort = 54234, details = "WebSocket upgrade failed", reason = "Missing or Invalid Connection or Upgrade headers."
Any idea?
Beta Was this translation helpful? Give feedback.
All reactions