mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   FactorDB (https://www.mersenneforum.org/forumdisplay.php?f=94)
-   -   Reporting Factors by wget works with Fedora but not Ubuntu (https://www.mersenneforum.org/showthread.php?t=23606)

EdH 2018-08-25 21:47

Reporting Factors by wget works with Fedora but not Ubuntu
 
Can anyone possibly tell me why I can report factors via wget using my Fedora machine, but my Ubuntu machine doesn't work, even though it connects (or, at least, says it does)?

Ubuntu:
[code]
wget http://factordb.com/report.php?report=18463244954953084425120999474843941194888392281226674207422389138539733496611484745520706024226475442435016774348102117119203862148874337%3D2214764264865802436901049651014426845764380719047822370526717106213764982645367695201*52346726936111131202461*159254235693977964427502344117 -O dbRsave
--2018-08-25 16:55:26-- http://factordb.com/report.php?report=18463244954953084425120999474843941194888392281226674207422389138539733496611484745520706024226475442435016774348102117119203862148874337%3D2214764264865802436901049651014426845764380719047822370526717106213764982645367695201*52346726936111131202461*159254235693977964427502344117
Resolving factordb.com (factordb.com)... 138.201.37.196
Connecting to factordb.com (factordb.com)|138.201.37.196|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 0 [text/html]
Saving to: ‘dbRsave’

dbRsave [ <=> ] 0 --.-KB/s in 0s

2018-08-25 16:55:26 (0.00 B/s) - ‘dbRsave’ saved [0/0]

[/code]Fedora:
[code]
wget http://factordb.com/report.php?report=18463244954953084425120999474843941194888392281226674207422389138539733496611484745520706024226475442435016774348102117119203862148874337%3D2214764264865802436901049651014426845764380719047822370526717106213764982645367695201*52346726936111131202461*159254235693977964427502344117 -O dbRsave
--2018-08-25 17:18:50-- http://factordb.com/report.php?report=18463244954953084425120999474843941194888392281226674207422389138539733496611484745520706024226475442435016774348102117119203862148874337%3D2214764264865802436901049651014426845764380719047822370526717106213764982645367695201*52346726936111131202461*159254235693977964427502344117
Resolving factordb.com (factordb.com)... 138.201.37.196
Connecting to factordb.com (factordb.com)|138.201.37.196|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3248 (3.2K) [text/html]
Saving to: ‘dbRsave’

dbRsave 100%[===================>] 3.17K --.-KB/s in 0s

2018-08-25 17:18:50 (93.5 MB/s) - ‘dbRsave’ saved [3248/3248]
[/code]


Edit: A Debian machine on the same LAN works fine, but other Ubuntu machines do not work, either.


Thanks for any insights...

R. Gerbicz 2018-08-25 21:58

Why not use Google, the first hit:
[url]https://stackoverflow.com/questions/11058811/wget-not-working[/url]

EdH 2018-08-25 22:39

[QUOTE=R. Gerbicz;494700]Why not use Google, the first hit:
[URL]https://stackoverflow.com/questions/11058811/wget-not-working[/URL][/QUOTE]
Thanks. I had not considered the troubles related, since I'm not getting any errors or forbidden messages. Also, I did not try using Firefox on the machine since I'm trying to get a script working.

DukeBG 2018-08-27 13:22

The resolved IP looks to be the same and if they're in the same LAN and we assume it does connect to the host (can you monitor that with some tool?), the only difference can be in HTTP headers sent with the request (such as User-Agent, although it should be the same in both cases Wget/[I]version[/I]). You can try running wget with -d (or --debug) parameter to see if there'll be anything interesting in the debug information.

I also advise -C off (--cache=off), you don't want these requests to be cached. But it's unlikely to be a culprit, of course.

EdH 2018-08-27 16:37

[QUOTE=DukeBG;494752]The resolved IP looks to be the same and if they're in the same LAN and we assume it does connect to the host (can you monitor that with some tool?), the only difference can be in HTTP headers sent with the request (such as User-Agent, although it should be the same in both cases Wget/[I]version[/I]). You can try running wget with -d (or --debug) parameter to see if there'll be anything interesting in the debug information.

I also advise -C off (--cache=off), you don't want these requests to be cached. But it's unlikely to be a culprit, of course.[/QUOTE]
Thanks for the reply. I followed the course in the first reply and it is working now. I might troubleshoot it further later on in the manner you suggest, but for now, it's running OK. Thanks again.


All times are UTC. The time now is 07:58.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.