Forum Discussion

do_shanahan's avatar
New Contributor
3 years ago

Issue with 301 redirect to one of your maven URLs

Hi there,


Apologies if this is the wrong location to post this message. If it is please could I ask someone to redirect it to the appropriate forum location. We are observing a random failure to the URL as described below.


We have a legacy repository configured to use this URL

When attempting to access it the server generates a 301 http redirect to a smart bear maven 2 repository URL (see example curl output from below)


curl -X GET
<title>301 Moved Permanently</title>
<h1>Moved Permanently</h1><p>The document has moved <a href="">here</a>.</p>


The domain from the URL appears to be configured with DNS round robin with two IP addresses configured as follows. 



Non-authoritative answer:


We see that only one of these IP addresses e.g. is working while the 2nd appears to be unresponsive.


This curl produces a 200 http response from IP


curl -ik -X GET | grep HTTP/2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0HTTP/2 200
100 362k 0 362k 0 0 325k 0 --:--:-- 0:00:01 --:--:-- 325k


However the following curl from IP times out 

time curl --connect-timeout 30 -vvv -ik -X GET
Note: Unnecessary use of -X or --request, GET is already inferred.
* Trying
* Connection timed out after 30001 milliseconds
* Closing connection 0
curl: (28) Connection timed out after 30001 milliseconds

real 0m30.008s
user 0m0.008s
sys 0m0.000s


Would you please have someone from your technical team take a look and resolving the issue with the unresponsive IP address.



Declan O'Shanahan

No RepliesBe the first to reply