--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users+unsubscribe@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/a198ca26-bc80-46ee-85de-42775d3bada5%40glists.sonatype.com.
For more options, visit https://groups.google.com/a/glists.sonatype.com/d/optout.
The first thing to do is check the nexus request.log file to see if these 502 responses are actually coming from Nexus. Nexus 2.x generally doesn't return 502, it's almost always something running in front of it that is returning 502.
On Wed, Aug 16, 2017 at 8:53 PM, Mehul Sanghvi <mehul....@gmail.com> wrote:
Maven: 3.3.3Nexus: 2.14.5-02 OSSLately we have been getting the following type of errors when doing our builds with Maven:Could not transfer artifact org.apache.maven:maven-plugin-api:jar:2.0.4 from/to releasesFailed to transfer file:code is: 502 , ReasonPhrase:notresolvable. -> [Help 1]This has been happening over the last several weeks with increasing frequency, to the point anyone doing a build with a fresh Maven local repository will run into the issue. The artefacts themselves are there on the nexus server and are available for download if I use the URL given in a web browser and are available when I look at the Nexus web UI as well, whether I look in the storage or index, makes no difference.I have re-index all the repositories, updated the meta-data, restarted the server, upgraded from 2.14.1 to 2.14.5, checked the Maven POM files, etc. So far nothing has provided a solution. I've looked in the log files for Nexus and that too has not provided any information or clues about what could be happening.This does not happen with every artefact, only with certain artefacts, the one above being one of them. Artefacts like the one above, which come from Maven Central, I have even tried re-caching them from Central, since we have that behind a proxy.Has anyone seen this sort of an error ?Why is is "notresolvable" when the artefact is clearly there in the repository index and storage according to Nexus ?Anyway to track a request through Nexus and to see what is going on ? Maybe I do not have proper settings for getting the correct information in the logs.Any ideas for troubleshooting ?Suggestions / potential fixes ?cheers,mehul
--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.
My apologies, I forgot to mention that this is a standalone Nexus setup. There is no server in front of it.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users+unsubscribe@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/0e9e460d-0cff-42c8-b7e0-622aa886c69c%40glists.sonatype.com.
On Thu, Aug 17, 2017 at 12:12 PM, Mehul Sanghvi <mehul....@gmail.com> wrote:My apologies, I forgot to mention that this is a standalone Nexus setup. There is no server in front of it.Did you look in the Nexus request.log and confirm there are 502 responses coming from it that correlate to the URLs reported by the build failures?
On Thursday, August 17, 2017 at 9:51:55 AM UTC-4, Rich Seddon wrote:The first thing to do is check the nexus request.log file to see if these 502 responses are actually coming from Nexus. Nexus 2.x generally doesn't return 502, it's almost always something running in front of it that is returning 502.On Wed, Aug 16, 2017 at 8:53 PM, Mehul Sanghvi <mehul....@gmail.com> wrote:Maven: 3.3.3Nexus: 2.14.5-02 OSSLately we have been getting the following type of errors when doing our builds with Maven:Could not transfer artifact org.apache.maven:maven-plugin-api:jar:2.0.4 from/to releasesFailed to transfer file:code is: 502 , ReasonPhrase:notresolvable. -> [Help 1]
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/CAPo9-A-3qx1EVXoRRK11K4G_mOMokEvYXGtf%3DQZp-%3Da2PN0Mxw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/CALX_hVy-me4QvGfzm21npZ-8HvR2AUGTNAi6b_R7zq%3Dw7zsUDQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/CALX_hVwgUPjtEYwWvq%3DbTBX5qtRnGtv4EAhMY_oZqq460wKWvw%40mail.gmail.com.
Maybe something did change in your corporate proxy and your noProxyHost setting was incorrect for 5 years.
Can you post your proxy settings. We have something like this:
<proxy>
<id>normalproxy</id>
<active>true</active>
<protocol>http</protocol>
<host>proxy.mydomain.org</host>
<port>8080</port>
<nonProxyHosts>*.mydomain.org|10.*</nonProxyHosts>
</proxy>
Met vriendelijke groet/Kind regards,
Mariska Hoogenboom
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/0e9e460d-0cff-42c8-b7e0-622aa886c69c%40glists.sonatype.com.
For more options, visit https://groups.google.com/a/glists.sonatype.com/d/optout.
--
Mehul N. Sanghvi
email: mehul....@gmail.com
--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/CAPo9-A-3qx1EVXoRRK11K4G_mOMokEvYXGtf%3DQZp-%3Da2PN0Mxw%40mail.gmail.com.
For more options, visit https://groups.google.com/a/glists.sonatype.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/CALX_hVy-me4QvGfzm21npZ-8HvR2AUGTNAi6b_R7zq%3Dw7zsUDQ%40mail.gmail.com.
For more options, visit https://groups.google.com/a/glists.sonatype.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
nexus-users...@glists.sonatype.com.
To post to this group, send email to
nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/CALX_hVwgUPjtEYwWvq%3DbTBX5qtRnGtv4EAhMY_oZqq460wKWvw%40mail.gmail.com.
For more options, visit
https://groups.google.com/a/glists.sonatype.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
nexus-users...@glists.sonatype.com.
To post to this group, send email to
nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/CAPo9-A_f__NEwDrKfsTFvaeu4iz1_MOaCkEpvohj2UW6pKHzFQ%40mail.gmail.com.