Closed devmgardner closed 2 years ago
Syncplay was not designed to work with proxies so it falls outside our supported use cases. Is https://github.com/weeb-poly/syncplay-proxy of any use?
Syncplay was not designed to work with proxies so it falls outside our supported use cases. Is https://github.com/weeb-poly/syncplay-proxy of any use?
Good question! I installed it, and have no clue what to do from here. Nginx/websockets are still fairly new to me.
@devmgardner In general Nginx reverse proxy is specifically for HTTP(S) and tiny selection of other protocols. Syncplay doesn't use HTTP, so this wont work.
You could use a service offering free subdomains like duckdns to work around this issue.
@devmgardner In general Nginx reverse proxy is specifically for HTTP(S) and tiny selection of other protocols. Syncplay doesn't use HTTP, so this wont work.
You could use a service offering free subdomains like duckdns to work around this issue.
I had a duckdns subdomain before I set up my own domain, I appreciate the info! I was actually able to get this to work as another subdomain on my main domain; instead of attempting to use a reverse proxy, I set up an SRV record for my domain to point to my forwarded port on my router and now it works properly. Thanks again!
Describe the bug Syncplay-server is running on Ubuntu Server 20.04, with both a dedicated LAN and WAN IP. I have a subdomain forwarded to my WAN IP, ports 8998 and 8999 are forwarded in my router to port 8999 on my server, and have the rules set up in ufw (and have reloaded). Syncplay is set to listen on port 8998, and I have an nginx reverse proxy running, listening on port 8999 and redirecting to http://127.0.0.1:8998. I am able to connect to the server using both the LAN IP and my subdomain, and can connect using my subdomain while using a VPN, however I receive an error and am immediately disconnected from the server. I have found nothing in the syslog to tell me why my client on my MacBook cannot connect.
To Reproduce Steps to reproduce the behavior:
Expected behavior After resolving nginx proxy issues, I was expecting the client to connect and stay connected.
Screenshots syncplay bash script:
syncplay-server --port 8998 --password password
/etc/nginx/sites-available/movies.conf:
Configuration of syncplay client on MacBook:
Error message from syncplay client on MacBook:
Version and platform:
Additional context I mainly want to use nginx because I am currently hosting another site on another subdomain, so I need some form of reverse proxy as Google Domains does not allow for domain forwarding with port numbers attached. I need a domain name specifically because I'm hosting this for my family while my dad's out of the country getting another medical degree.