[NEXUS-11467] proxy repository to maven.oracle.com is no longer working Created: 11/03/16  Updated: 11/08/16  Resolved: 11/07/16

Status: Closed
Project: Dev - Nexus Repo
Component/s: Maven Repository, Proxy Repository
Affects Version/s: 2.14.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Mahendra Surani Assignee: Unassigned
Resolution: Not A Bug Votes: 2
Labels: supportant
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Oracle New Configuration.png    
Last Updated By: Christoph Zauner
Date of First Response:
Epic Link: Format Shoring

 Description   

Special instructions have to be followed to get Nexus working with proxy maven.oracle.com. A number of users have reported this issue and is likely due to some change at the remote oracle site.

From last night, this has stopped working and a 404 is returned when trying to download artifacts. When content validation is switch off you see the following html being returned.

<html><head><base target="_self"></head><body onLoad="document.myForm.submit()"><noscript><p>JavaScript is required. Enable JavaScript to use OAM Server.</p></noscript><form action="https://login.oracle.com/mysso/signon.jsp" method="post" name="myForm"><Unable to render embedded object: File (------------ DO NOT REMOVE -------------><) not found.----- loginform renderBrowserView -----><!- Required for SmartView Integration --><input type="hidden" name="contextType" value="external"><input type="hidden" name="username" value="string"><input type="hidden" name="contextValue" value="%2Foam"><input type="hidden" name="challenge_url" value="https%3A%2F%2Flogin.oracle.com%2Fmysso%2Fsignon.jsp"><input type="hidden" name="password" value="sercure_string"><input type="hidden" name="request_id" value="7742394511935069599"><input type="hidden" name="authn_try_count" value="0"><input type="hidden" name="OAM_REQ" value="VERSION_4~vyV38naGb9%2fC57P4ZBmgmQNuGUPMjqqXlKOh%2bzLG3ig2HSGOmWf7Jg5zZOAGunToenG2T4xIUW7oZQZ5NzMKbSMY39IexnpsspyBq8G1G7wmbfm2feoP6Uaqbfuxnnq%2bmAz0itjK6EcG9nOiBrLN2YHsSpK%2fFnyuxZL7xTXI43ExaWgQQDWy5bXafIhAjElKXW0%2bmKcWRLvKr18MeWbDK3BhyF842sanNfC3wEiwcKbTWcEGEbMXQ0U54Tx1m44%2b4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iy8NImBheKPgeb4YvFvEWgluEXz8swKNnRnS3%2brNJGrjxuDw3jZt6SRwopWC3FZs7A3UTaER4kp1RR6oYKbK8vtY%2fvOYgw%2fo%2bfn6PeQN5MpeBAs9o8KtNpG7PDzMVJXTR6mGClb8I2DmBMD%2fDXWtbgqY%2f4EjEQtxeT5Nd4%2bhGaaRdL8q2E7G013HZ8v6fsNR7QqCiuCzqvRwG%2bV04xNOBH0fAOYnwk9NgVwFEjgrmxYbphyEPTNy98SoDzJbkQlU1WQ3ht7555H5w%2boN76LGxkqjsfELzqd7W5VIF3j6xiAn8XUVRvyn22WAArZRxUIfdHnBMQ78PTPB"><input type="hidden" name="locale" value="en_US"><input type="hidden" name="resource_url" value="http%253A%252F%252Fwww.oracle.com%252Fcontent%252Fsecure%252Fmaven%252Fcontent%252Fcom%252Foracle%252Fsoa%252Fplugin%252Foracle-soa-plugin%252F12.1.3-0-0%252Foracle-soa-plugin-12.1.3-0-0.pom"></form></body></html>



 Comments   
Comment by Mahendra Surani [ 11/03/16 ]

Josh Fedke You uploaded a screenshot with a different url - are you saying that the url you are using works?

https://www.oracle.com/content/sercure/content/

The url that this ticket relates to is: https://maven.oracle.com:

Comment by Josh Fedke [ 11/03/16 ]

Just to clarify:

If you try to download an artifact from maven.oracle.com using a browser, Oracle recently (last few days) started redirecting to https://www.oracle.com/content/secure/maven/content/<<maven URI>> For this reason, I tried to configure a new repository that proxies the new URL that oracle is redirecting to. I also updated nexus.properties twice. First time I tried this:

nexus.remoteStorage.enableCircularRedirectsForHosts=maven.oracle.com,www.oracle.com
nexus.remoteStorage.useCookiesForHosts=maven.oracle.com,www.oracle.com

second time I added a couple more domains:

Comma separated list of hostnames that needs to accept circular redirections

nexus.remoteStorage.enableCircularRedirectsForHosts=maven.oracle.com,www.oracle.com,login.oracle.com,oracle.com

Comma separated list of hostnames that benefit from using cookies

nexus.remoteStorage.useCookiesForHosts=maven.oracle.com,www.oracle.com,login.oracle.com,oracle.com

Strangely, this seemed to work for many of the artifacts earlier today. However, it was still getting stuck on wl-client.jar. But even this configuration stopped working after we started digging into it (renaming local .m2 and trying different TTL's/Max Ages).

<<https://my.nexus.com/nexus>>/content/groups/public/com/oracle/weblogic/com.oracle.webservices.ws-databinding-plugins-impl_12.1.3/maven-metadata.xml

Comment by Peter Lynch [ 11/04/16 ]

I sent feedback direct to Oracle via the Send Feedback button on the oracle maven documentation page using my personal sonatype email address today at 1:30PM ATL.

I told them about the reported problems - and that Apache Maven without even using Nexus Repository Manager is broken.

I asked them if they had any information to share with us, then send that info to support at sonatype.com in case they have made permanent changes the community should be aware of.

Comment by Christoph Zauner [ 11/05/16 ]

I have been in contact with Oracle regarding this issue since Thursday (the company I am working for has a support contract with Oracle). A few hours ago the support engineer who works on my ticket sent me the following information:

Hi Christoph,

I did a small test case below and recorded the results. We have also checked with the development team who support maven repository and they informed that a recent upgrade to login.oracle.com broken the basic authentication required by Maven. The fix has been identified and it is being tested in staging environment and will be applied over the weekend. Will keep you updated.

Thanks,
Javed Salim
Oracle Support

I will post any relevant updates from Javed Salim also here since it seems that there exist no official resources (e.g. Oracle Blog, Oracle Issue Tracker, ...) where users without an Oracle support contract can get updates about the state of the Oracle Maven repository.

Comment by Issa Gorissen [ 11/07/16 ]

Our Nexus 2.14 can now proxy the Oracle maven repository fine. It was broken the entire last week. Thx

Comment by Mahendra Surani [ 11/07/16 ]

The maven oracle proxy is also working for me - looks like Oracle has fixed the issue with the https://maven.oracle.com.

Comment by Christoph Zauner [ 11/08/16 ]

An Oracle engineer has confirmed that they have applied a fix over the weekend.

Generated at Fri Aug 17 14:57:12 UTC 2018 using JIRA 7.3.3#73014-sha1:d5be8da522213be2ca9ad7b043c51da6e4cc9754.