-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Superfluous response.WriteHeader #130
Comments
Howdy, that looks like you haven't sent the domain url properly. It's checking the origin of the web socket verifier request (which effectively allows you to change networks and not have to re-mfa if your device responds within 6 seconds) But it's not finding the challenge so it might be deauthenticating you. Also, if you're installing wag from binaries have you enabled IP forwarding? Can you asloc heck that the user is shown as authenticated in the wag ui.. |
That screenshot doesn't show if the user is authenticated or not. Can you show me the debug firewall state? |
Yes. That's showing its not authorised. And also that it's trying to register your mfa for some reason. I think you should probably reset the account mfa and try again. Not sure what the problem is there |
Hello everyone,
I recently downloaded and installed version v8.0.0 Clustering using the provided binaries instead of building them from source.
After installation, I can see that the deny rules are reflected in the application's firewall state. I am able to register a user and successfully authenticate.
However, my issue is that the authenticated user can only access the VPN server, and not any other resources. Upon checking the logs, I found the following errors:
2024/09/25 11:27:17 http: superfluous response.WriteHeader call from github.com/NHAS/wag/internal/router.(*Challenger).WS (session_manager.go:157) 2024/09/25 11:27:21 websocket origin does not equal expected value: "http://172.16.101.1:445" != "" 2024/09/25 11:27:21 pablo_deny 172.16.101.212 failed to create websocket challenger: websocket: request origin not allowed by Upgrader.CheckOrigin 2024/09/25 11:27:21 http: superfluous response.WriteHeader call from github.com/NHAS/wag/internal/router.(*Challenger).WS (session_manager.go:157) {"level":"info","ts":"2024-09-25T11:27:24.409979+0200","caller":"traceutil/trace.go:171","msg":"trace[755734487] put","detail":"{key:wag/node/229e0fb671e145bf/ping; req_size:65; response_revision:32151; }","duration":"249.360221ms","start":"2024-09-25T11:27:24.160602+0200","end":"2024-09-25T11:27:24.409962+0200","steps":["trace[755734487] 'process raft request' (duration: 249.278958ms)"],"step_count":1} 2024/09/25 11:27:25 websocket origin does not equal expected value: "http://172.16.101.1:445" != "" 2024/09/25 11:27:25 pablo_deny 172.16.101.212 failed to create websocket challenger: websocket: request origin not allowed by Upgrader.CheckOrigin 2024/09/25 11:27:25 http: superfluous response.WriteHeader call from github.com/NHAS/wag/internal/router.(*Challenger).WS (session_manager.go:157)
Could you help me with this error? Is it that I'm configuring it incorrectly, or could it be a bug?
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: