Ticket #3035 (new defect)

Opened 8 months ago

Last modified 7 months ago

upload problem: OsmTransferException SocketException: Socket closed

Reported by: phobie Owned by: team
Priority: major Component: Core
Version: Keywords: api
Cc:

Description

JOSM 1822

I tried to upload a big changeset. The upload window never closed. After several hours I closed JOSM. The changeset has been closed successfully but I received this exception:

node:296441392                                                                                                                                                                          
PUT http://api.openstreetmap.org/api/0.6/changeset/1907881/close... RemoteControl received: GET /load_and_zoom?left=10.xxxxx&bottom=52.xxxxx&right=10.xxxxx&top=52.xxxxx HTTP/1.1            
org.openstreetmap.josm.io.OsmTransferException: java.net.SocketException: Socket closed                                                                                                      
        at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:475)                                                                                                                     
        at org.openstreetmap.josm.io.OsmApi.stopChangeset(OsmApi.java:304)                                                                                                                   
        at org.openstreetmap.josm.io.OsmServerWriter.uploadOsm(OsmServerWriter.java:115)                                                                                                     
        at org.openstreetmap.josm.actions.UploadAction$1UploadDiffTask.realRun(UploadAction.java:227)                                                                                        
        at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:62)                                                                                               
        at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:116)                                                                                                    
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)                                                                                               
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)                                                                                                   
        at java.lang.Thread.run(Thread.java:619)                                                                                                                                             
Caused by: java.net.SocketException: Socket closed                                                                                                                                           
        at java.net.SocketInputStream.socketRead0(Native Method)                                                                                                                             
        at java.net.SocketInputStream.read(SocketInputStream.java:129)                                                                                                                       
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)                                                                                                                    
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)                                                                                                                   
        at java.io.BufferedInputStream.read(BufferedInputStream.java:317)                                                                                                                    
        at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687)                                                                                                                  
        at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)                                                                                                                        
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1064)                                                                                           
        at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)                                                                                                            
        at java.net.HttpURLConnection.getResponseMessage(HttpURLConnection.java:439)                                                                                                         
        at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:419)                                                                                                                     
        ... 8 more                                                                                                                                                                           
GET http://api.openstreetmap.org/api/0.6/map?bbox=10.56627,52.9575,10.5735,52.96152                                                                                                          
org.openstreetmap.josm.io.OsmTransferException: java.net.SocketException: Socket closed                                                                                                      
        at org.openstreetmap.josm.io.OsmServerReader.getInputStreamRaw(OsmServerReader.java:109)                                                                                             
        at org.openstreetmap.josm.io.OsmServerReader.getInputStream(OsmServerReader.java:43)                                                                                                 
        at org.openstreetmap.josm.io.BoundingBoxDownloader.parseOsm(BoundingBoxDownloader.java:101)                                                                                          
        at org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask$Task.realRun(DownloadOsmTask.java:50)                                                                                
        at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:62)                                                                                               
        at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:116)                                                                                                    
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)                                                                                                           
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)                                                                                                                
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)                                                                                                                          
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)                                                                                               
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)                                                                                                   
        at java.lang.Thread.run(Thread.java:619)                                                                                                                                             
Caused by: java.net.SocketException: Socket closed                                                                                                                                           
        at java.net.SocketInputStream.socketRead0(Native Method)                                                                                                                             
        at java.net.SocketInputStream.read(SocketInputStream.java:129)                                                                                                                       
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)                                                                                                                    
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)                                                                                                                   
        at java.io.BufferedInputStream.read(BufferedInputStream.java:317)                                                                                                                    
        at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687)                                                                                                                  
        at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)                                                                                                                        
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1064)                                                                                           
        at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)                                                                                                            
        at org.openstreetmap.josm.io.OsmServerReader.getInputStreamRaw(OsmServerReader.java:79)                                                                                              
        ... 11 more 

Attachments

Change History

Changed 7 months ago by plaicy

  • keywords api added

Add/Change #3035 (upload problem: OsmTransferException SocketException: Socket closed)

Author


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


Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from team. Next status will be 'new'
Next status will be 'needinfo'The owner will change to phobie
as duplicate The resolution will be set to duplicate. Next status will be 'closed'The specified ticket will be cross-referenced with this ticket
The owner will change from team to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.