Getting Java SocketException when uploading files

jebrookuk

Joined: 2002-12-22
Posts: 1
Posted: Sun, 2002-12-22 21:17

Gallery Remote 1.01 b2
Mandrake Linux 9.0
JDK 1.4 on client

I believe this error has been reported before, but I cannot find an answer in either the gallery or gallery remote forums.

Soon after I click on the upload button in gallery remote I get an error and the first image is only partially uploaded. I can upload images fine with the gallery web interface, so I do not think that this is a server configuration issue.

Here is what appears in my gallery remote log file:

1040590472310|INFO |MainFrame |Command selected Browse
1040590488680|INFO |MainFrame |Command selected Upload
1040590488680|INFO |MainFrame |uploadPictures starting
1040590506640|ERROR|GalComm2 |java.net.SocketException: Connection reset by peer: socket write error
1040590506640|ERROR|GalComm2 |java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:2967)
at HTTPClient.HTTPConnection.handleRequest(HTTPConnection.java:2715)
at HTTPClient.HTTPConnection.setupRequest(HTTPConnection.java:2507)
at HTTPClient.HTTPConnection.Post(HTTPConnection.java:1050)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.requestResponse(GalleryComm2.java:269)
at com.gallery.GalleryRemote.GalleryComm2$UploadTask.uploadPicture(GalleryComm2.java:416)
at com.gallery.GalleryRemote.GalleryComm2$UploadTask.runTask(GalleryComm2.java:379)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.run(GalleryComm2.java:232)
at java.lang.Thread.run(Unknown Source)

1040590506640|INFO |GalComm2 |Error: java.net.SocketException: Connection reset by peer: socket write error
1040590950430|INFO |MainFrame |Shutting log down

 
slipsy

Joined: 2002-08-28
Posts: 4
Posted: Mon, 2002-12-23 15:45

I am a real novice on the tech side of this but thought this might help...............I had the same error when i was running gallery remote but iwas still logged in to the website. I logged out the site and closed and restarted gallery on my XP desktop.

Once again I could upload pics.

slipsy