Comments (7)
Same here with intermittent disconnects. Just starting using this and I really like the potential but this is a non-starter.
from remotely.
Installing the client on Windows 11 runs without any problems. Also the client connects to the server and is shown as active. After some time, the client gets offline on the website. There is no error in the logs or the event log.
In the logs there is a successful versioncheck about every 90 seconds:
[Information] [v2023.09.11.1010] [Process ID: 3664] [Thread ID: 25] [2023-11-23 20:25:32.219] [Remotely.Agent.Services.Windows.UpdaterWin] Service Updater: Version is current. [Information] [v2023.09.11.1010] [Process ID: 3664] [Thread ID: 26] [2023-11-23 20:27:05.311] [Remotely.Agent.Services.AgentHubConnection] Reconnected to server.
Sometimes, the clients connects again after some time, but most of the time, the client keeps beeing offline. Restarting the windows service and the client connects correctly to the server, but after some time it disconnects again.
Any idea, why it's always disconnecting?
are you running through a proxy server?
from remotely.
On my end it does appear to be the proxy that is the issue. Perhaps you can recommend some headers that need to be modified/adjusted in order to get this to stay working all the time?
from remotely.
if using nginx proxy
location / {
proxy_pass http://ip:5000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_send_timeout 30m;
proxy_connect_timeout 3600s;
proxy_read_timeout 30m;
client_max_body_size 10M;
}
location /_blazor {
proxy_pass http://ip:5000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_send_timeout 30m;
proxy_connect_timeout 3600s;
proxy_read_timeout 30m;
client_max_body_size 10M;
}
location /AgentHub {
proxy_pass http://ip:5000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_send_timeout 30m;
proxy_connect_timeout 3600s;
proxy_read_timeout 30m;
client_max_body_size 10M;
}
location /ViewerHub {
proxy_pass http://ip:5000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_send_timeout 30m;
proxy_connect_timeout 3600s;
proxy_read_timeout 30m;
client_max_body_size 10M;
}
location /CasterHub {
proxy_pass http://ip:5000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_send_timeout 30m;
proxy_connect_timeout 3600s;
proxy_read_timeout 30m;
client_max_body_size 10M;
}
from remotely.
It's not just one of those- they all need to be in place?
from remotely.
from remotely.
if using nginx proxy
location / { proxy_pass http://ip:5000; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection keep-alive; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_send_timeout 30m; proxy_connect_timeout 3600s; proxy_read_timeout 30m; client_max_body_size 10M; } location /_blazor { proxy_pass http://ip:5000; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_send_timeout 30m; proxy_connect_timeout 3600s; proxy_read_timeout 30m; client_max_body_size 10M; } location /AgentHub { proxy_pass http://ip:5000; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_send_timeout 30m; proxy_connect_timeout 3600s; proxy_read_timeout 30m; client_max_body_size 10M; } location /ViewerHub { proxy_pass http://ip:5000; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_send_timeout 30m; proxy_connect_timeout 3600s; proxy_read_timeout 30m; client_max_body_size 10M; } location /CasterHub { proxy_pass http://ip:5000; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_send_timeout 30m; proxy_connect_timeout 3600s; proxy_read_timeout 30m; client_max_body_size 10M; }
This helped and I was able to fix this issue with this config
from remotely.
Related Issues (20)
- Docker healthcheck interval is very long, impacting Traefik (and maybe K8s?) HOT 3
- FYI - remotely.one is down HOT 1
- c_method_fn(1).txt
- change the port HOT 4
- Wie Installiere ich diese .PS1 HOT 11
- High CPU, RAM and I/O usage HOT 15
- How to build HOT 1
- add certificate in remotly step by step HOT 2
- Turn off auto-update the agent on Windows HOT 1
- FEATURE REQUEST: Record the remote screen HOT 1
- Device ID is missing. Cant use Get support ! HOT 2
- How to update? look like everything has changed... HOT 2
- SSO OAUTH HOT 3
- Add More Modern TLS Support for Install-Remotely.ps1 HOT 1
- Migration from older Remotely Version to the newest one failed how to migrate DB and get login working again HOT 1
- ListView for the Home Screen HOT 4
- Docker: ResetPassword link uses wrong hostname HOT 1
- can't connect if i rename the exe HOT 2
- What's with Docker Tags? HOT 3
- Linux client installation issues. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from remotely.