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
{{ message }}
This repository was archived by the owner on Apr 18, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 18, 2026. It is now read-only.
This means that it is not possible to configure a proxy when using the PhotosLibraryClient and if this is required by the network setup it results in a java.net.SocketException: Network is unreachable (connect failed). The easiest fix would be to just call .useSystemProperties before calling .build on HttpClientBuilder and that would allow developers to specify a proxy using the System Properties.
When creating HttpClients the code just calls
HttpClientBuilder.create().build();e.g.java-photoslibrary/photoslibraryapi/src/main/java/com/google/photos/library/v1/upload/PhotosLibraryUploadCallable.java
Line 212 in 1ff3577
This means that it is not possible to configure a proxy when using the PhotosLibraryClient and if this is required by the network setup it results in a
java.net.SocketException: Network is unreachable (connect failed). The easiest fix would be to just call.useSystemPropertiesbefore calling.buildonHttpClientBuilderand that would allow developers to specify a proxy using the System Properties.