Opened 4 years ago
Last modified 4 years ago
#20516 new defect
SOCKS proxy without authentification demands "credentials for host"
Reported by: | hoverboard | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | socks proxy | Cc: |
Description
I'm using a SOCKS proxy on localhost:8080 without authentification.
On JOSM startup it demands "credentials for host" while building the main window.
But the proxy works:
curl --socks5 localhost:8080 google.com
Then I press "Authentificate" (or 2x "Cancel" – works also!) and the GUI finishes.
When canceling instead of authentificating, this error message follows:
2021-02-20 22:09:39.236 SEVERE: Connection to proxy '/127.0.0.1:8080' for URI 'https://josm.openstreetmap.de/browser/trunk/nodist/images/download.png?format=raw' failed. Exception was: java.net.SocketException: Malformed reply from SOCKS server
I've patched JOSM to System.out.println my external IP through "http://checkip.amazonaws.com" to verify that the IP is not my home IP.
And then everything works over the SOCKS proxy: Downloading imagery tiles, uploading to the API, ...
Is JOSM unable to probe a SOCKS proxy without authentification?