-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Always "disconnected" #142
Comments
Hi @staelche Can you give a bit more info please, e.g. logs from MailHog or more info on the VM configuration? When you say Also do you have any proxies (e.g. nginx or haproxy) in front of it? Without seeing any additional info, my best guess is that your VM isn't allowing the websocket connection for some reason. |
I am also experiencing the same disconnected button: |
I was also experiencing this while proxying from Apache (for SSL) on Centos 7.whatever. Here is a virtual host that ended up working. The key seemed to be specifying the explicit ProxyPass for the websocket path, and putting that before the HTTP ProxyPass directive.
|
I have the an website running on Apache 2.4 at URL https://www.domain.com and MailHog UI in docker on local port 8025. Requests are reverse-proxy from URL https://www.domain.com/mail/ Here is the configuration:
It is very important to note that without proxy_wstunnel_module websockets does not work
Also I had to redirect I've also disabled Expires headers because my default config added a big time span, and MailHog pages were not reloading properly |
I have the situation that on my development virtual machine I am always disconnected. On other servers it works pretty fine.
Do you have any explanation for this?
I am using the latest amd64 version with an up to date debian (on all machines) and start it always without any commandline options.
The text was updated successfully, but these errors were encountered: