Welcome Guest | Login

remote server fails fetch with code: 401 of dynamically generated xml page

I have a dedicated IP. This is what I needed on the server I migrated from to allow another server entry:

I get this error code reported by the remote server:

"Fetch thread 50: Failed fetch of URL: http://<my ip>/<path> [click on link for full URL]  Failed fetch with code: 401 (Unauthorized)"

Now when I click on the bad fetch URL, it opens fine in firefox. This was the same error i used to have on my last hosting provider before i go a dedicated IP.

I can give you the real URL in "http://<my ip>/<path>" in a private support ticket if you need more information (to avoid others from poking in my app)





2008-04-23 07:57 PM

Old guy still coding
Hi - Please post a support ticket with the exact URLs and other information so that we can try recreating this error and troubleshoot it. Thank you

2008-04-23 09:19 PM

HostingRails Support
OK. I fixed this problem. I am using the new Rails 2.0 authenticate_or_request_with_http_basic() . However, there are a few methods which need to be unprotected to allow external access. you do this with

before_filter :authorize, :except => [:method1, :method2, ...]

2008-04-30 05:06 AM

Old guy still coding

Hello Guest! In order to post you must be an active client with us, please log in or sign up.