immense / immense/Remotely

Issues installing service agent Ubuntu 21.04 with self hosted behind SLL Offloaded proxy (workaround found)

Open
#383 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
5.1k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

I am trying out Remotely (thanks for this software btw) and have had a few issues but this one is one i think worth raising especially as i was able to fix it with some code script changes myself.

I am hosting remotely on a server behind a nginx reverse proxy that is handling the ssl, this ssl proxy i think may be the cause of one of the two issues i had.

Issue one:
I was getting an error saying the microsoft .deb package was not in the right format. I looked this up and apparently wget sometimes gets a bad download (0kb) the workaround being remove the wget line and download it myself into the same folder
Issue two:
I was getting connection errors in the logs and it was failing to register on my server. after reading the source code and some reading of the script i saw the protocol of the server was http not https, probably because its behind a proxy (running in a docker container). the fix was easy i changed the script host to https and it worked.

some documentation on this or ideally code to detect/configure this on the server would resolve this issue and save others the couple of hours i lost debugging this (im new to linux so took a while to figure out)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the service-agent installation script and the server/proxy configuration involved in downloading the Microsoft .deb package and constructing the connection URL. Reproduce installation behind an nginx SSL-offloaded proxy; done when the package downloads correctly, the agent uses HTTPS, and the required configuration or workaround is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, linux, nginx, ubuntu
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.