azimjohn / jprq

join public router. quickly.
https://jprq.io
960 stars 141 forks source link

Error when trying to automate the start of jprq (TLS Handshake Timeout) #212

Closed Shadoweb-Bot closed 3 months ago

Shadoweb-Bot commented 4 months ago

I'm on Linux (Debian).

I'm using a crontab to start a series of command at startup, which all get executed in a program called screen (GNU Screen).

Those commands are executed in a non-interactive shell which caused some problems, that I managed to fix.

But now I have this error, and I don't know how to fix it...

error fetching https://jprq.io/config.json: Get "https://jprq.io/config.json": net/http: TLS handshake timeout

I'm sure the error is on my side since if I start jprq manually (aka in an interactive shell) it works....

Shadoweb-Bot commented 3 months ago

I think I found a workaround, so I'll close this issue for now.

azimjohn commented 3 months ago

@Shadoweb-Bot what was your solution?

Shadoweb-Bot commented 3 months ago

I changed the script's Shebang and it worked, although it shouldn't since it's not the correct one for jprq's directory... So I don't know, Linux is weird sometimes...