Giter Site home page Giter Site logo

Comments (6)

bitbound avatar bitbound commented on July 22, 2024 1

This was intentional. The EXE installer will no longer be used. It was using a legacy version of .NET (called .NET Framework with WPF). The end goal was to make a cross-platform installer with Avalonia UI, or make the agent a self-contained EXE with CLI options to install itself, but I never got around to it.

For now, I added a copy-and-paste script for deploying the agent on a new Deploy page. This is on the preview tag if you want to test it.

image

from remotely.

SoWhy avatar SoWhy commented on July 22, 2024

According to https://github.com/immense/Remotely/releases/tag/v2024.02.22.1231, this is a known problem since the latest versions, see commit 07905ee

from remotely.

blaine07 avatar blaine07 commented on July 22, 2024

This was intentional. The EXE installer will no longer be used. It was using a legacy version of .NET (called .NET Framework with WPF). The end goal was to make a cross-platform installer with Avalonia UI, or make the agent a self-contained EXE with CLI options to install itself, but I never got around to it.

For now, I added a copy-and-paste script for deploying the agent on a new Deploy page. This is on the preview tag if you want to test it.

image

Unsure if unintentional of config error on my part?

Since changing to "preview" tag the PS1 wont run to install remotely on windows devices.

The fix was, on the PS1 to edit line 24 and change my Hostname to HTTP from HTTPS. :scratches head: I haven't made any other config changes other than changing to "preview" tag.

Error I had before making this change: 6/11/2024 6:27:06 AM - Error occurred: At C:\Users\DVR\Downloads\Install-Remotely.ps1:107 char:18

Was this intentional?

from remotely.

bitbound avatar bitbound commented on July 22, 2024

Unsure if unintentional of config error on my part?

What you're describing is likely a configuration issue. All the official docs on the issue can be found here.

To try to summarize: In order for the backend to correctly determine the host and scheme (http/https) of the original request (i.e. the URL in your browser's address bar), a few things need to happen. First, the backend has to have the IP address of the proxy in its KnownProxies list. Second, the correct forward headers need to be set in the requests proxied to the backend. And lastly, if there are multiple proxies that traffic goes through, each of those need to be configured correctly.

Without the above, the backend will see the scheme and/or host that the proxy uses. The scheme seems to particularly problematic, so I added this option on the Server Config page:

image

Enabling this will force all the install scripts to use HTTPS, regardless of what it sees from the proxy.

from remotely.

blaine07 avatar blaine07 commented on July 22, 2024

Unsure if unintentional of config error on my part?

What you're describing is likely a configuration issue. All the official docs on the issue can be found here.

To try to summarize: In order for the backend to correctly determine the host and scheme (http/https) of the original request (i.e. the URL in your browser's address bar), a few things need to happen. First, the backend has to have the IP address of the proxy in its KnownProxies list. Second, the correct forward headers need to be set in the requests proxied to the backend. And lastly, if there are multiple proxies that traffic goes through, each of those need to be configured correctly.

Without the above, the backend will see the scheme and/or host that the proxy uses. The scheme seems to particularly problematic, so I added this option on the Server Config page:

image

Enabling this will force all the install scripts to use HTTPS, regardless of what it sees from the proxy.

Yes, so I'll be honest here - your link is way above my comprehension.

I think you're on right track though; a proxy issue.

Currently going from Cloudflare Tunnel/Proxy>Internal Nginx Proxy Manager> Remotely.
Would it work/be better if I went Cloudflare>Remotely and removed the internal "forward" through Nginx Proxy Manager? Would be one less place to have a mis-configured proxy? Issue is coming through Cloudflare as a Proxy I have no idea how I would set "known proxy" IP since with Cloudflare it changes?

from remotely.

blaine07 avatar blaine07 commented on July 22, 2024

image
I dunno, I am still not sure something else isn't wrong though?

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.