Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8679957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T21:07:28+00:00 2026-06-12T21:07:28+00:00

I am running into a very strange problem and I am not sure what

  • 0

I am running into a very strange problem and I am not sure what is going on. I have tried many permutations and I cannot resolve this. Any insight would be very appreciated. Here is my environment:

I have set up an archiva and an artifactory repo in a staging area that can only be accessed over a Cisco VPN. I do not need both caches, but I have experimented with both trying to solve the problem.

I build my software using gradle, but it does not seem to be the problem. When my project builds, it happily goes along for quite a while downloading POMs and JARs. Every time however, it gets “stuck” on a jar. For that particular local snapshot of the downloads, I can run the build N times, and it will hang in the same spot. If I delete my local cache, it may hang on a different jar.

The VPN transfer rate is not great (100-200K/s) and right before it hangs, it slows down significantly, all the way to 0. Also, if I build in a staging area server, the transfers are over a 10G network and everything works just fine.

I have used wget to download the jars and the output generally looks like this:

/tmp > wget -vS http://git-jenkins01.aus.sf:8082/artifactory/ecomm-snapshot-plus-remote/org/codehaus/groovy/groovy/1.8.6/groovy-1.8.6.jar
--2012-10-11 09:51:41--  http://git-jenkins01.aus.sf:8082/artifactory/ecomm-snapshot-plus-remote/org/codehaus/groovy/groovy/1.8.6/groovy-1.8.6.jar
Resolving git-jenkins01.aus.sf (git-jenkins01.aus.sf)... 10.57.10.226
Connecting to git-jenkins01.aus.sf (git-jenkins01.aus.sf)|10.57.10.226|:8082... connected.
HTTP request sent, awaiting response... 
  HTTP/1.1 200 OK
  Server: Artifactory/2.6.4
  X-Artifactory-Id: 583c10bfdbd326ba:71d02e01:13a5059d090:-8000
  Last-Modified: Thu, 09 Feb 2012 17:57:32 GMT
  ETag: 553ca93e0407c94c89b058c482a404427ac7fc72
  X-Checksum-Sha1: 553ca93e0407c94c89b058c482a404427ac7fc72
  X-Checksum-Md5: e7ddf15d2f343537549dbbfd860c5f5b
  Content-Disposition: attachment; filename=groovy-1.8.6.jar
  X-Artifactory-Filename: groovy-1.8.6.jar
  Content-Type: application/java-archive
  Content-Length: 5546084
  Date: Thu, 11 Oct 2012 15:51:47 GMT
Length: 5546084 (5.3M) [application/java-archive]
Saving to: `groovy-1.8.6.jar.7'

95% [======================================================================================================================================>       ] 5,278,650   --.-K/s  eta 3s  

It always stops at ~90% or more, but it will not finish. The logs give no indication of an error. I have tried tomcat 6, tomcat 7, jetty, java 6, java 7, a squid proxy in the artifactory server to attempt to trick it into a local download.

I inspected the traffic with Charles and looked at the logs, and as best as I can tell, the server thinks it sent all the data and the client gets stuck waiting for the last few bytes. I am completely out of ideas. Any thoughts?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T21:07:30+00:00Added an answer on June 12, 2026 at 9:07 pm

    I saw this happening due to Jumbo packets getting converted to standard TCP/IP packet.
    What happened is that Tomcat is sending big jumbo packet by default (buffer size -MTU- of 9000 bytes), which get cut into smaller packets by the network routers since the network does not support Jumbo packets.
    So, at some points Tomcat send the “end of packets” block which get received “before” all the other sub packets arrived. Conclusion, it hangs or get disconnected before all data are received.

    The workaround is to change the buffer size in the tomcat server.xml to something around 1500, or force the TCP/IP card configuration of the server to 1500 MTU (annoying for 1G local network).

    Hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've run into a very strange problem in Eclipse, and I'm not sure if
I'm having a very strange problem. I'm remote desktoping into a system and running
In one of my current projects we keep running into this very wierd problem
I am running into a very strange situation with an app I have that
I'm running into a very strange issue that I have found no explanation for
I am running into a very strange issue and I am convinced it is
Running into a problem. I have a table defined to hold the values of
I am running into a very strange situation when using the PackageManager.getInstalledPackages() method. The
I have been running into this error for the last 3 or 4 weeks
This is a very strange problem. I've got a rails app in which I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.