immense / immense/Remotely

Remotely Stream ended ISP/NGINX

Open
#766 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
5.1k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

### Discussed in https://github.com/immense/Remotely/discussions/764

Originally posted by **CFox243** November 2, 2023
So, iv been trying to track this down for a while now. Mediacom connection ends the stream every 30-60 seconds, but no other ISP does. Seems to be Mediacom on a wireless network that causes it, but the system connection never drops out so not sure.
not sure if it has something to do with the area or if I have my Nginx proxy miss configured. local works fine, even going through the proxy.
but if someone is on Mediacom they disconnect constantly. AT&T connection seems to be fine. any help would be greatly appreciated.

Proxy advanced settings
```location / {
# HSTS (ngx_http_headers_module is required) (63072000 seconds = 2 years)
add_header Strict-Transport-Security "max-age=63072000; preload" always;

proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_http_version 1.1;

# Proxy!
include conf.d/include/proxy.conf;
proxy_send_timeout 300;
proxy_read_timeout 300;
}

location /_blazor {
proxy_set_header Connection $http_connection;
proxy_http_version 1.1;

# Proxy!
include conf.d/include/proxy.conf;

proxy_send_timeout 300;
proxy_read_timeout 300;
}

location /AgentHub {
proxy_set_header Connection $http_connection;
proxy_http_version 1.1;

# Proxy!
include conf.d/include/proxy.conf;

proxy_send_timeout 300;
proxy_read_timeout 300;
}

location /ViewerHub {
proxy_set_header Connection $http_connection;
proxy_http_version 1.1;

# Proxy!
include conf.d/include/proxy.conf;

proxy_send_timeout 300;
proxy_read_timeout 300;
}

location /CasterHub {
proxy_set_header Connection $http_connection;
proxy_http_version 1.1;

# Proxy!
include conf.d/include/proxy.conf;

proxy_send_timeout 300;
proxy_read_timeout 300;
}
```

The host connection is 1gb up/down

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with Discussion 764 and the listed NGINX locations for /, /_blazor, /AgentHub, /ViewerHub, and /CasterHub. Compare the 30–60 second disconnects on Mediacom wireless connections with local and AT&T behavior; done requires identifying a reproducible cause and a verified configuration or application fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, nginx
Domain
backend, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.