Giter Site home page Giter Site logo

Comments (7)

huntson avatar huntson commented on August 18, 2024

Same here with intermittent disconnects. Just starting using this and I really like the potential but this is a non-starter.

from remotely.

CFox243 avatar CFox243 commented on August 18, 2024

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.

huntson avatar huntson commented on August 18, 2024

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.

CFox243 avatar CFox243 commented on August 18, 2024

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.

huntson avatar huntson commented on August 18, 2024

It's not just one of those- they all need to be in place?

from remotely.

PmPPolska avatar PmPPolska commented on August 18, 2024

from remotely.

michaelmittermair avatar michaelmittermair commented on August 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.