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
My company has it's own Artifactory maven repository that requires authentication. After attempting an update to Akka gRPC 2.1.3 the protoc-jar dependency tries to download a newer version of protoc than it has embedded. It attempts to download from the correct URL extracted from the maven settings.xml but does not support authentication and therefore fails with 401. Relevant code
I would appreciate any guidance as I know this is not an easy one.
The text was updated successfully, but these errors were encountered:
Thanks for the ping! Indeed this is tricky: the latest protoc-jar (3.11.4) only embeds versions up to 3.11.4, and we're on 3.19.3, so indeed it'd try and download that version.
I think it's reasonable for us to want a newer version, but I also think it's reasonable that protoc-jar doesn't closely track upstream versions for the embedded binaries.
I'm not aware of any way to inject authentication into URLConnection to make the download work. It also doesn't appear to be possible to pre-populate the cache.
Short description
My company has it's own Artifactory maven repository that requires authentication. After attempting an update to Akka gRPC 2.1.3 the protoc-jar dependency tries to download a newer version of protoc than it has embedded. It attempts to download from the correct URL extracted from the maven settings.xml but does not support authentication and therefore fails with 401. Relevant code
I would appreciate any guidance as I know this is not an easy one.
The text was updated successfully, but these errors were encountered: