Closed andrewchumchal closed 8 years ago
From your unraid console, what do you see when you run the following: timeout 5 wget --no-check-certificate -qST4 --spider "https://github.com/PhAzE-Variance" 2>&1 | grep HTTP | tail -1 | cut -f1 | awk '{print $NF}'
How about just this part: wget --no-check-certificate -qST4 --spider "https://github.com/PhAzE-Variance"
The output should start with: HTTP/1.1 200 OK
If you see that, it means you can reach my repo but if not, your sever is unable to reach my repo. Do you see anything odd in the output from the above command when you run it?
That command also comes up blank. Strange Any ideas why ?
Can you ping it from your server, and also try nslookup to see if you get an ip. Chances are your server is not getting the dns ressolved correctly.
Ok, now try: telnet github.com 443
Does it open the connection and stay open or does it disconnect immediately?
So, it's strange that you can resovle the DNS to an IP, ping it, telnet to it, but wget will not connect.
try: wget --no-check-certificate -qO- "https://github.com/PhAzE-Variance"
You should see the code for the github web site dump on your screen.
So it is working.
What version of unraid are you running? When you run: wget --help -> do you see an option for capital S (print server code) and one for --spider?
I do have the option for wget -S and --spider. I'm running unRAID 6.2.1
ok so we need to figure out which wget option isn't playing nice. try the following until one stops showing results:
wget --no-check-certificate -qO- "https://github.com/PhAzE-Variance" wget --no-check-certificate -q --spider "https://github.com/PhAzE-Variance" wget --no-check-certificate -qS --spider "https://github.com/PhAzE-Variance" wget --no-check-certificate -qST4 --spider "https://github.com/PhAzE-Variance"
Any update on this ?
With it being intermittent, there isn't much more I can do since it should either never work, or always work. If you try option 3 and 4 above over and over a few times, does it work every time on 3 and fail every time on 4?
3 comes back always with the correct output
I was finally able to install the plugin by making some edits to your plg file :)
Excellent. The difference between option 3 and 4 is the 4 second timeout. Likely the response was talking longer than the timer.
Everytime i try to install a plugin i get this error
plugin: installing: /boot/config/plugins/Sonarr.plg
Installing Sonarr plugin
Checking for current bundle files
Control file: Not Found
Dependency file: Not found
Mono file: Not found
Check OK!
Downloading new control file
Install failed: Unable to detect internet connection
plugin: run failed: /bin/bash retval: 1
Do not known how to fix it. I can ping outside network fine. Please help
Edit: I can update other apps and plugins. Just cannot install this one or sickrage are the only ones i tried