#11931 closed defect (irreproducible)
Problem with closed sockets
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | Cc: |
Description
I have problem with JOSM reporting closed sockets on Windows 7 64b
ERROR: java.net.SocketException: socket closed
java.net.SocketException: socket closed
at java.net.TwoStacksPlainSocketImpl.socketAccept(Native Method)
at java.net.AbstractPlainSocketImpl.accept(Unknown Source)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at sun.security.ssl.SSLServerSocketImpl.accept(Unknown Source)
at org.openstreetmap.josm.io.remotecontrol.RemoteControlHttpsServer.run(
RemoteControlHttpsServer.java:418)
This keeps on scrolling forever, effectively also blocking sockets used by WMS/TMS.
I'm using
java -Djava.net.preferIPv4Stack=true -Xmx2000m -jar josm-tested.jar
Java 1.8.0_51, direct network connection configuration of Java, and JOSM is version 8800
Attachments (0)
Change History (4)
comment:2 by , 10 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → needinfo |
Can you please test with latest Java (8u66) and latest JOSM too? Thanks.
comment:3 by , 10 years ago
| Resolution: | → irreproducible |
|---|---|
| Status: | needinfo → closed |
By mail:
Can you please test with latest Java (8u66) and latest JOSM too? Thanks.
Yes and I am no longer able to reproduce the problem. So please close
the report and I will reopen it in case if it re-occurs. Thank you!
With best regards,
Petr
comment:4 by , 10 years ago
The problem re-occurs with the latest stable JOSM (9060) and also devel (9086), making it almost useless for me with WMS services, since the connection problem occurs within approx. 3 minutes of work. To test if this is not a problem with my Java install, I have tried to use an old build of JOSM (5946) and this one works perfectly fine.



After turning off the remote control interface of JOSM, I am getting a different problem:
ERROR: java.net.SocketException: Successful WSAStartup not yet performed: create
java.net.SocketException: Successful WSAStartup not yet performed: create
ttpClient(Unknown Source)
rce)
ce)
(Unknown Source)
rce)
Reader.java:158)
Reader.java:104)
der.java:68)
rverUserInfoReader.java:173)
java:63)
access$301(Unknown Source)
run(Unknown Source)
WARNING: org.openstreetmap.josm.io.OsmTransferException: Could not connect to th
e OSM server. Please check your internet connection.. Cause: java.net.SocketExce
ption: Successful WSAStartup not yet performed: create
org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM ser
ver. Please check your internet connection.
Reader.java:161)
Reader.java:104)
der.java:68)
rverUserInfoReader.java:173)
java:63)
access$301(Unknown Source)
run(Unknown Source)
Caused by: java.net.SocketException: Successful WSAStartup not yet performed: cr
eate
ttpClient(Unknown Source)
rce)
ce)
(Unknown Source)
rce)
Reader.java:158)