-
Notifications
You must be signed in to change notification settings - Fork 583
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
Zoraxy support ( Meshcentral Router debug ) #6042
Comments
I want to say if u have it working with nginx but not this new one, then it must be something with the new reverse proxy server that's wrong? Maybe config? Edit. Can u share any config/screenshots of the reverse proxy? Also ur config.json for meshcentral |
Hello, this is the developer from Zoraxy. If it's not too much trouble, would you mind sharing the configuration on the Zoraxy side? We would greatly appreciate it, as it would allow us to take a closer look and assist you more effectively. Thank you very much for your cooperation! |
Hi, my config is pretty simple ( Meshcentral work from browser Firefox/Chromium):
Maybe i need some "Custom Headers" with MeshRouter? Thanks! |
Strange one, do u have port 80 open on ur reverse proxy? Or only 443? As I notice u have disabled the redirport which should be set? Cam u access the webbui using http://mydomain.com? Or must u use https://mydomain.com |
I don't have port 80 open... Every connection should be redirected Like i said, same config with Nginx Proxy Manager works... Only MeshRouter fail to connect ( using some legacy communication? ) |
yes sorry the screenshot you show now is self-explanitory, listen on 443 but also listen on port 80 and to http to https! |
Huh? Go-http-client? I think zoraxy is doing a header request to check the url is valid then doing the request afterwards. I'll have to set up a new vm and test it myself, see whats happening Also note, the is no debug in config.json, it's part of the run arguments, but I could be mistaken! Might be missing from the schema.json! |
It looks like something went wrong in Zoraxy's header passing, will take a look |
@yeungalan also the |
Thanks! Will take a look as well @tobychui is the main author of zoraxy and I will let him aware of this as well :) |
That is weird, Go-HTTP-Client has been removed from the headers since a few versions ago. //Hide Go-HTTP-Client UA if the client didnt sent us one
if _, ok := header["User-Agent"]; !ok {
// If the outbound request doesn't have a User-Agent header set,
// don't send the default Go HTTP client User-Agent.
header.Set("User-Agent", "")
} and I don't see any issue regarding the logic to identify requests that containing the
Have you tried updating your Zoraxy to latest version? |
Hi, reinstalled all again with last Zoraxy ( 3.0.2 ) and same result ( i'm using docker btw )... I can install some sandbox server meshcentral+zoraxy to make tests and find out what could be wrong... It´s better to open another issue on Zoraxy repo? Or continue debug here? Thanks! |
ok so just tagging onto this to remind me and others, |
ok just looked into it more, we add a custom header which contains our authentication EDIT: clarification, its the websocket that doesnt have the headers! EDIT2: have opened request here tobychui/zoraxy#426 |
Thanks for this update! |
Hi, im testing Zoraxy reverse proxy with Meshcentral and Web dashboard work but Meshcentral Router don't... Any option to debug this? with ".\MeshCentralRouter.exe -debug" i only got:
Same config with Nginx Proxy Manager don't have any problem... Thanks!
The text was updated successfully, but these errors were encountered: