You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If publishing to a URLRepository fails due to an error - e.g:
java.net.ProtocolException: Server redirected too many times (20)
[error] at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[error] at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:[77](https://git.flextrade.com/FIXHub/ioi-common/-/jobs/1327853#L77))
[error] at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[error] at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
[error] at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
[error] at java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:2057)
[error] at java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:2052)
[error] at java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
[error] at java.base/sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:2051)
[error] at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1609)
[error] at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589)
[error] at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)
[error] at org.apache.ivy.util.url.BasicURLHandler.upload(BasicURLHandler.java:288)
[error] at org.apache.ivy.util.url.URLHandlerDispatcher.upload(URLHandlerDispatcher.java:[82](https://git.flextrade.com/FIXHub/ioi-common/-/jobs/1327853#L82))
[error] at org.apache.ivy.util.FileUtil.copy(FileUtil.java:150)
[error] at org.apache.ivy.plugins.repository.url.URLRepository.put(URLRepository.java:84)
it is very difficult to diagnose what SBT Ivy is doing exactly.
If publishing to a URLRepository fails due to an error - e.g:
it is very difficult to diagnose what SBT Ivy is doing exactly.
For example:
It would be nice if it were possible to turn on debug logging that provided the URL(s) it was trying to publish to:
For example here:
ivy/src/java/org/apache/ivy/plugins/repository/url/URLRepository.java
Line 84 in 396a783
or:
ivy/src/java/org/apache/ivy/util/url/BasicURLHandler.java
Line 249 in 396a783
The text was updated successfully, but these errors were encountered: