User-Agent: Artifactory receives 404 error

D. Dvorak's Avatar

D. Dvorak

07 Aug, 2014 08:22 PM

http://rubygems.org appears to be rejecting connections from Artifactory server.

In my tests I send this to rubygems.org:80

HEAD /quick/Marshal.4.8/nokogiri-1.6.3.1.gemspec.rz HTTP/1.1
Connection: Keep-Alive
Accept-Encoding: gzip
User-Agent: Artifactory/3.1.1
Host: rubygems.org

And get this response:

HTTP/1.1 404 Not Found
Server: nginx
Date: Thu, 07 Aug 2014 20:15:45 GMT
Content-Type: text/html
Content-Length: 162
Connection: keep-alive

I change the User-Agent string to just about anything else without the word "Artifactory":

HEAD /quick/Marshal.4.8/nokogiri-1.6.3.1.gemspec.rz HTTP/1.1
Connection: Keep-Alive
Accept-Encoding: gzip
User-Agent: Bogus
Host: rubygems.org

And get a better result:

HTTP/1.1 302 Moved Temporarily
Server: nginx
Date: Thu, 07 Aug 2014 20:18:31 GMT
Content-Type: text/html
Content-Length: 154
Connection: keep-alive
Location: http://production.cf.rubygems.org/quick/Marshal.4.8/nokogiri-1.6.3.1.gemspec.rz

Is rubygems.org intentially blocking it?

Thanks,
D. Dvorak

  1. Support Staff 1 Posted by Evan Phoenix on 07 Aug, 2014 08:49 PM

    Evan Phoenix's Avatar

    Yes, we are currently blocking Artifactory due to some significant bugs in it. It is treating rubygems.org as a maven server as well as rubygems, effectively DOS'ing it with maven requests instead. We're currently with JFrog to sort out the issue.

  2. 2 Posted by D. Dvorak on 07 Aug, 2014 09:35 PM

    D. Dvorak's Avatar

    Awesome.

    Thank you!

  3. Support Staff 3 Posted by Evan Phoenix on 07 Aug, 2014 10:54 PM

    Evan Phoenix's Avatar

    Close this as we'll remove the block when jfrog figures this out.

  4. Evan Phoenix closed this discussion on 07 Aug, 2014 10:54 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

30 Oct, 2014 04:34 PM
30 Oct, 2014 02:46 PM
28 Oct, 2014 09:51 AM
23 Oct, 2014 05:37 PM
21 Oct, 2014 10:47 AM