HTTP_UNAUTHORIZED

Moderators: Site Moderators, FAHC Science Team

Post Reply
menacewu
Posts: 2
Joined: Mon Dec 17, 2012 8:23 am

HTTP_UNAUTHORIZED

Post by menacewu »

Hi,

i am not able to submit or download any work. here are the logs...

06:40:55:WU01:FS00:Connecting to assign3.stanford.edu:8080
06:41:14:WARNING:WU01:FS00:Failed to get assignment from 'assign3.stanford.edu:8080': Failed to connect to assign3.stanford.edu:8080: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
06:41:14:WU01:FS00:Connecting to assign4.stanford.edu:80
06:41:15:WU00:FS00:Sending unit results: id:00 state:SEND error:NO_ERROR project:8027 run:2219 clone:0 gen:21 core:0xa4 unit:0x0000001b6652edb250ad261792a93a85
06:41:15:WU00:FS00:Uploading 1.51MiB to 171.67.108.34
06:41:15:WU00:FS00:Connecting to 171.67.108.34:8080
06:41:34:WARNING:WU00:FS00:WorkServer connection failed on port 8080 trying 80
06:41:34:WU00:FS00:Connecting to 171.67.108.34:80
06:41:34:WU00:FS00:Upload 4.15%
06:41:35:WARNING:WU01:FS00:Failed to get assignment from 'assign4.stanford.edu:80': Failed to connect to assign4.stanford.edu:80: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
06:41:35:ERROR:WU01:FS00:Exception: Could not get an assignment
06:41:40:WARNING:WU00:FS00:Exception: Failed to send results to work server: 10001: Server responded: HTTP_UNAUTHORIZED
06:41:40:WU00:FS00:Trying to send results to collection server
06:41:40:WU00:FS00:Uploading 1.51MiB to 171.65.103.160
06:41:40:WU00:FS00:Connecting to 171.65.103.160:8080
06:41:58:WARNING:WU00:FS00:WorkServer connection failed on port 8080 trying 80
06:41:58:WU00:FS00:Connecting to 171.65.103.160:80
06:41:59:WU00:FS00:Upload 4.15%
06:42:01:ERROR:WU00:FS00:Exception: 10001: Server responded: HTTP_UNAUTHORIZED
bollix47
Posts: 2978
Joined: Sun Dec 02, 2007 5:04 am
Location: Canada

Re: HTTP_UNAUTHORIZED

Post by bollix47 »

Welcome to the folding support forum menacewu.

Have you gone thru the Troubleshooting Server Connectivity Issues (Do This First) post?

Obviously you were able to download at some point since you're trying to upload results. What has changed since the P8027 was downloaded? Can you open those I.P. addresses in your browser as explained in the troubleshooting post? Does opening http://171.67.108.34:8080/ give you a blank page? Are you using a new Firewall or AV that hasn't been instructed to allow/ignore FAHClient? Are you using the latest v7.2.9 release which has a 'fix' to prefer ipv4 over ipv6?

Also, please supply the System Info and Config sections of your log explained here as they may be helpful for diagnosing the problem if the above hasn't resolved the issue.
Image
bruce
Posts: 20822
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: HTTP_UNAUTHORIZED

Post by bruce »

Your client failed to connect to any server therough its first choice: port 8080. That means you're connecting through a proxy or have other security requirements that are potentially blocking connections. FAH has no knowledge of those requirements and will continue to try port 8080 before reverting to port 80. In most cases, the requirements on port 80 are more relaxed but that doesn't prove there are none. The HTTP_UNAUTHORIZED in the middle of an upload is unusual. Perhaps the size of your uploads are limited or something like that. I recommend that you contact the security administrator for you site and find out anything you can about local restrictions.
menacewu
Posts: 2
Joined: Mon Dec 17, 2012 8:23 am

Re: HTTP_UNAUTHORIZED

Post by menacewu »

Hello all,

oddly, today i closed the FAH client and re-opened it and it managed to upload/ download the work. I am currently behind some proxy and thus port 8080 is blocked. this is the second time i've gotten this "problem" and it kinda resolves itself after hours/days. so i guess the next time i encounter this, i should just wait it out ?

01:13:11:Connecting to assign-GPU.stanford.edu:80
01:13:13:WARNING:Attempting to update GPUs.txt: Failed to access GPUs.txt
01:13:13:Trying to access database...
01:13:13:Successfully acquired database lock
01:13:13:Enabled folding slot 00: READY smp:4
01:13:13:WU00:FS00:Sending unit results: id:00 state:SEND error:NO_ERROR project:8027 run:2219 clone:0 gen:21 core:0xa4 unit:0x0000001b6652edb250ad261792a93a85
01:13:13:WU00:FS00:Uploading 1.51MiB to 171.67.108.34
01:13:13:WU01:FS00:Connecting to assign3.stanford.edu:8080
01:13:13:WU00:FS00:Connecting to 171.67.108.34:8080
01:13:14:Server connection id=1 on 0.0.0.0:36330 from 127.0.0.1
01:13:32:WARNING:WU00:FS00:WorkServer connection failed on port 8080 trying 80
01:13:32:WU00:FS00:Connecting to 171.67.108.34:80
01:13:32:WU00:FS00:Upload 4.15%
01:13:32:WARNING:WU01:FS00:Failed to get assignment from 'assign3.stanford.edu:8080': Failed to connect to assign3.stanford.edu:8080: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
01:13:33:WU01:FS00:Connecting to assign4.stanford.edu:80
01:13:34:WU01:FS00:News: Welcome to Folding@Home
01:13:34:WU01:FS00:Assigned to work server 171.67.108.35
01:13:34:WU01:FS00:Requesting new work unit for slot 00: READY smp:4 from 171.67.108.35
01:13:34:WU01:FS00:Connecting to 171.67.108.35:8080
01:13:35:WU00:FS00:Upload complete
01:13:35:WU00:FS00:Server responded WORK_ACK (400)
01:13:35:WU00:FS00:Final credit estimate, 218.00 points
01:13:35:WU00:FS00:Cleaning up
01:13:44:WARNING:WU01:FS00:WorkServer connection failed on port 8080 trying 80
01:13:44:WU01:FS00:Connecting to 171.67.108.35:80
01:13:46:WU01:FS00:Downloading 1000.29KiB
01:13:52:WU01:FS00:Download 25.59%
01:13:58:WU01:FS00:Download 89.57%
01:13:58:WU01:FS00:Download complete
01:13:58:WU01:FS00:Received Unit: id:01 state:DOWNLOAD error:NO_ERROR project:8069 run:2 clone:146 gen:65 core:0xa4 unit:0x000000476652edb350ad5edede4d6398
01:13:58:WU01:FS00:Starting
bruce
Posts: 20822
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: HTTP_UNAUTHORIZED

Post by bruce »

menacewu wrote:Hello all,

oddly, today i closed the FAH client and re-opened it and it managed to upload/ download the work. I am currently behind some proxy and thus port 8080 is blocked. this is the second time i've gotten this "problem" and it kinda resolves itself after hours/days. so i guess the next time i encounter this, i should just wait it out ?
It's impossible for us to answer that question. We don't know enough about your proxy to explain why it sometimes decides to block communications and other times it does not. As I said in my earlier post, the best source of information about the policies of your proxy is the security administrator for your site.
Post Reply