jpillora / cloud-torrent

☁️ Cloud Torrent: a self-hosted remote torrent client
GNU Affero General Public License v3.0
5.79k stars 1.81k forks source link

Why does browser access always show "connecting"? #297

Closed wefantasy closed 3 years ago

wefantasy commented 5 years ago

Why does browser access always show "connecting"?

jeslinmx commented 4 years ago

Could you open up a development console and see what's going on in the network side?

reysec commented 4 years ago

same with me if use nginx as reverse proxy to this cloud-torrent... if i use plain ip public addres, it's working successfully...

rockydares commented 4 years ago

same with me if use nginx as reverse proxy to this cloud-torrent... if i use plain ip public addres, it's working successfully...

Kindly elaborate

chaitanyarahalkar commented 4 years ago

If you are using it behind a reverse proxy like Nginx try adding this to your nginx configuration -

location /sync { proxy_pass http://127.0.0.1:$PORT; proxy_set_header Connection ''; proxy_http_version 1.1; chunked_transfer_encoding off; proxy_buffering off; proxy_cache off; }

Or you can try a fork of it - https://github.com/boypt/simple-torrent

Glide01 commented 3 years ago

If you are using it behind a reverse proxy like Nginx try adding this to your nginx configuration -

location /sync { proxy_pass http://127.0.0.1:$PORT; proxy_set_header Connection ''; proxy_http_version 1.1; chunked_transfer_encoding off; proxy_buffering off; proxy_cache off; }

Or you can try a fork of it - https://github.com/boypt/simple-torrent

It work! Can you tell me why?