Timing out when logging in.

aram535
aram535's picture

Joined: 2002-09-14
Posts: 21
Posted: Sat, 2003-03-22 02:30

Hi,

Having a strange problem with Gallery Remote.

Server:
Redhat Linux 8.0
Apache 1.3.27
php 4.3.0

Client:
Windows XP Home
Either Gallery Remote 1.0 & 1.0b3 (both with and without VM)
Main Browser: Mozilla 1.3b
System Java Verison 4.3.0

After adding the gallery to Galllery Remote, and trying to login ( after about a minute )
I get: ERROR: java.io.EOFException: Premature EOF, encountered

Using the log levels to increase the logging for Gallery Remote the only error I see is the same above error, here is the end of the log:

1048297751703|INFO |MainFrame |loaded saved URL: http://192.168.102.7/gallery/ (admin/******)
1048297751718|INFO |ImageUtils|tmpDir: C:DOCUME~1ARAMMI~1LOCALS~1Tempthumbs
1048297751765|INFO |ImageUtils|useIM: true
1048297751765|INFO |ImageUtils|imPath: imagemagick/win32/convert.exe
1048297751765|TRACE|ImageUtils|Executing imagemagick/win32/convert.exe -size 64x64 -filter Box "default.gif" -resize 64x64 +profile "*" C:DOCUME~1ARAMMI~1LOCALS~1Tempthumbsthumb2597.gif
1048297752375|TRACE|ImageUtils|Returned with value 0
1048297752390|TRACE|ImageUtils|Time: 625 - Avg: 625
1048297752390|TRACE|ImageUtils|Executing imagemagick/win32/convert.exe -size 64x64 -filter Box "default.gif" -resize 64x64 +profile "*" C:DOCUME~1ARAMMI~1LOCALS~1Tempthumbsthumb2598.gif
1048297752453|TRACE|ImageUtils|Returned with value 0
1048297752453|TRACE|ImageUtils|Time: 63 - Avg: 344
1048297752531|TRACE|MainFrame |current gallery: http://192.168.102.7/gallery/
1048297752609|TRACE|GalComm |Trying protocol 2 for http://192.168.102.7/gallery/
1048297752937|TRACE|GalComm |Server has protocol 2
1048297758812|TRACE|Update |Local release date: Mon Nov 11 00:00:00 GMT-05:00 2002 new: Mon Nov 11 00:00:00 GMT-05:00 2002
1048297759859|INFO |MainFrame |Command selected Fetch
1048297759859|INFO |MainFrame |fetchAlbums starting
1048297759906|INFO |GalComm2 |Logging in to http://192.168.102.7/gallery/
1048297759906|TRACE|GalComm2 |login parameters: [HTTPClient.NVPair[name=cmd,value=login], HTTPClient.NVPair[name=protocol_version,value=2.1], HTTPClient.NVPair[name=uname,value=admin], HTTPClient.NVPair[name=password,value=xxxx]]
1048297759906|TRACE|GalComm2 |Url: /gallery/gallery_remote2.php
1048298062046|ERROR|GalComm2 |java.io.EOFException: Premature EOF encountered
1048298062062|ERROR|GalComm2 |java.io.EOFException: Premature EOF encountered
at HTTPClient.StreamDemultiplexor.read(StreamDemultiplexor.java:275)
at HTTPClient.RespInputStream.read(RespInputStream.java:155)
at HTTPClient.RespInputStream.read(RespInputStream.java:115)
at HTTPClient.Response.readResponseHeaders(Response.java:971)
at HTTPClient.Response.getHeaders(Response.java:693)
at HTTPClient.Response.getStatusCode(Response.java:263)
at HTTPClient.RetryModule.responsePhase1Handler(RetryModule.java:83)
at HTTPClient.HTTPResponse.handleResponse(HTTPResponse.java:724)
at HTTPClient.HTTPResponse.getStatusCode(HTTPResponse.java:190)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.requestResponse(GalleryComm2.java:273)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.requestResponse(GalleryComm2.java:246)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.login(GalleryComm2.java:317)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.run(GalleryComm2.java:222)
at java.lang.Thread.run(Unknown Source)

1048298062062|INFO |GalComm2 |Error: java.io.EOFException: Premature EOF encountered
1048298285734|INFO | |Shutting log down

 
aram535
aram535's picture

Joined: 2002-09-14
Posts: 21
Posted: Sat, 2003-03-22 06:44

Nevermind ... by un-installing the java and re-installing it I was able to get the Gallery Remote to work. Something must have gone wrong with the original install or something.

I guess I could have just changed the CLASSPATH too, but I didn't think of that until it was a little too late.

One note though.... I can't seem to be able to kill off gallery remote after I have finished uploading pictures. I can't right click on it, can't X it can't File-Exit it ... I have to go through Task Manager and kill it off that way.

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2003-10-09 00:53

Is this still a problem? Please post your experience in this bug.