Modify

Opened 10 days ago

Last modified 10 days 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.

https://i.ibb.co/ZX6sH5C/shot.png

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?

Attachments (0)

Change History (1)

comment:1 Changed 10 days ago by Don-vip

Keywords: socks proxy added

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to hoverboard
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.