Skip to content
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

Bug: ws requests don't come through in apache2 reverse proxies. #5002

Open
Speiger opened this issue Apr 14, 2024 · 0 comments
Open

Bug: ws requests don't come through in apache2 reverse proxies. #5002

Speiger opened this issue Apr 14, 2024 · 0 comments
Labels
Bug Something isn't working Triage

Comments

@Speiger
Copy link

Speiger commented Apr 14, 2024

Steps to reproduce the behavior

  • 1: Install focal board using git clone and running the docker command.
  • 2: setup the apache2 config
  • 3: open the board and look at network console and see that the ws/wss connection fails
    opera_bLSPZB3cvF
Apache2

<VirtualHost *:80>
	ServerName myURL.com
	Redirect permanent / https://myURL.com/
</VirtualHost>

<VirtualHost *:443>
	ServerName myURL.com
	ProxyPreserveHost On
	
	AllowEncodedSlashes NoDecode
	SSLEngine On
	ProxyPass /ws/ ws://127.0.0.1:8082/
	ProxyPassReverse /ws/ ws://127.0.0.1:8082/
	
	<Location />
		Require all granted
		ProxyPass http://127.0.0.1:8082/
		ProxyPassReverse http://127.0.0.1:8082/
		ProxyPassReverseCookieDomain 127.0.0.1 myURL.com
	</Location>
	
	SSLCertificateFile /etc/letsencrypt/live/myURL.com/cert.pem
	SSLCertificateKeyFile /etc/letsencrypt/live/myURL.com/privkey.pem
	SSLCertificateChainFile /etc/letsencrypt/live/myURL.com/chain.pem
	ProxyPass / http://localhost:8082/ nocanon
	ProxyPassReverse / http://localhost:8082/
</VirtualHost>

Expected behavior

That the focal board setup works with apache2 and is responsive and doesn't require a refresh for any change done.
A best solution would be that a script for apache2 is provided.

Edition and Platform

  • todays git patch and ubuntu 22.04
@Speiger Speiger added Bug Something isn't working Triage labels Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Triage
Projects
None yet
Development

No branches or pull requests

1 participant