Error [unexpected EOF (in header)] uploading images Error [unexpected EOF (in header)] uploading images
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Error [unexpected EOF (in header)] uploading images

Started by deftoner, May 06, 2009, 03:13:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

deftoner

Hello!

I'm been reading other post in the forum but I didn't find how to solve this error.

1º- When I click in jUploader an alert pop-up appears:

attachment 1

2º after this, the plugin appears good, but when I click in ulpoad appears this error appears:

attachment 2

The error log of jUploader is:


15:00:49.515 [INFO] JUpload applet, version 4.3.2 [SVN-Rev: 735] (compiled: 05/05/2009 11:28 AM), available at http://jupload.sourceforge.net/
15:00:49.515 [DEBUG] debugLevel: 1
15:00:49.515 [INFO] maxFileSize: 4096000
15:00:49.656 [INFO] JUploadApplet is now started.
15:05:01.343 [DEBUG] Action : Examinar ...
15:05:11.968 [DEBUG] Action : Subir
15:05:21.359 [DEBUG] Action : Subir
15:05:26.718 [DEBUG] Action : Subir
15:05:44.265 [ERROR] [wjhk.jupload2.exception.JUploadException:wjhk.jupload2.exception.JUploadException] unexpected EOF (in header) (wjhk.jupload2.exception.JUploadException: unexpected EOF (in header))
15:05:44.265 wjhk.jupload2.exception.JUploadException: wjhk.jupload2.exception.JUploadException: unexpected EOF (in header)
15:05:44.265 at wjhk.jupload2.upload.helper.HTTPInputStreamReader.readHttpResponse(HTTPInputStreamReader.java:184)
15:05:44.265 at wjhk.jupload2.upload.helper.HTTPConnectionHelper.readHttpResponse(HTTPConnectionHelper.java:685)
15:05:44.265 at wjhk.jupload2.upload.FileUploadThreadHTTP.finishRequest(FileUploadThreadHTTP.java:163)
15:05:44.265 at wjhk.jupload2.upload.DefaultFileUploadThread.doNonChunkedUpload(DefaultFileUploadThread.java:576)
15:05:44.265 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:384)
15:05:44.265 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:297)
15:05:44.265 Caused by: wjhk.jupload2.exception.JUploadException: unexpected EOF (in header)
15:05:44.265 at wjhk.jupload2.upload.helper.HTTPInputStreamReader.readHeaders(HTTPInputStreamReader.java:362)
15:05:44.265 at wjhk.jupload2.upload.helper.HTTPInputStreamReader.readHttpResponse(HTTPInputStreamReader.java:171)
15:05:44.265 ... 5 more
15:05:44.265 Caused by:
15:05:44.265 wjhk.jupload2.exception.JUploadException: unexpected EOF (in header)
15:05:44.265 at wjhk.jupload2.upload.helper.HTTPInputStreamReader.readHeaders(HTTPInputStreamReader.java:362)
15:05:44.265 at wjhk.jupload2.upload.helper.HTTPInputStreamReader.readHttpResponse(HTTPInputStreamReader.java:171)
15:05:44.265 at wjhk.jupload2.upload.helper.HTTPConnectionHelper.readHttpResponse(HTTPConnectionHelper.java:685)
15:05:44.265 at wjhk.jupload2.upload.FileUploadThreadHTTP.finishRequest(FileUploadThreadHTTP.java:163)
15:05:44.265 at wjhk.jupload2.upload.DefaultFileUploadThread.doNonChunkedUpload(DefaultFileUploadThread.java:576)
15:05:44.265 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:384)
15:05:44.265 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:297)
15:07:03.937 [INFO] Sending debug information to null



always occurr this, with Firefox and IE, please I need help.

Thanks!!! and I'm sorry my bad english


etienne_sf

Hi,

  The applet can't access to the url you've configured in the main Coppermine Configuration Panel.

1) Check it is correct.
2) Check that there is no special right access (.htaccess with a static password, for instance). If yes, check the JUpload configuration page.
3) Check if any firewall (local to the computer for instance), can prevent java code to access your web server.


Etienne

Strangerel

Hi.

I have same problem.

3.5.0. work but 3.5.1 and 3.5.2.rc1 not work!!!


3.5.2. not test.


etienne_sf

Hi,

  I don't get your point here:

1) You say 3.5.2 good
2) Your smiley after the URL is no happy (and the word 'bat' looks like a typo).

So, question, to be sure: is your issue solved ?

(if yes, can you mark this thread as solved?)

Etienne

Strangerel

Thanks.

this thread as solved

But I uploaded a couple batches of 21 pics and on 3  JUpload freezes up  (Sorry if i am write in this thread)

Strangerel

Quote from: Strangerel on May 07, 2009, 11:59:32 AM
Thanks.

this thread as solved

But I uploaded a couple batches of 21 pics and on 3  JUpload freezes up  (Sorry if i am write in this thread)

Sorry. Now is OK.  :o Thanks.

deftoner

Hello,

i'm checked the acess URL, that's right.
i haven't any firewall in my pc, i turn off Nod 32 antivirus but jupload doesn't work.

'Check that there is no special right access (.htaccess with a static password, for instance). If yes, check the JUpload configuration page.'

i don't understand exactly the meaning of this, the .htacess is default of my server, i never modified it.  in the jUpload configuration page 'basicHttpAuthentication ' is empty (default).


I don't understand why jUploader doesn't works on my coppermine, please help!


And thanks by the other replies.

bye


etienne_sf

Hi,

  I checked the following link:
http://www.losmoxos.com/coppermine/index.php?file=jupload/jupload

  It should redirect properly to a Coppermine page (ask for authentication or upload page, depending on the right of the current user).


So: my opinion is that you didn't read enough the manual. You missed this sentence:
click on the 'i' to install it

  This is on the plugin management page.


Etienne

deftoner

no, when you access to my gallery i unistalled the plugin, try it now.


thanks!

etienne_sf

Quote from: deftoner on May 07, 2009, 02:45:35 PM
no, when you access to my gallery i unistalled the plugin, try it now.

You're right, the result now, is the one I expected. Too bad: I thought I've found the solution !
:o

So, back to the issue: it seems strange to me. I've never seen HEAD error since a lot of time.
Two things:
- Are you using an 'special' web server (I mean other than apache or IIS, or perhaps a very recent version of IIS?)
- Can you try re-install the plugin ?

BTW:
If you give me a temporary admin access (by PM for instance), I can have a look. But note that I'll be off from friday morning to sunday afternoon.

Etienne

Strangerel

How this?
Where a can change Pach?

etienne_sf

Hi,

  Your URL is wrong:

http://www.2ostrov.ru/gallery/www.2ostrov.ru/gallery/index.php

The URL is probably wrong in the Coppermine configuration. Check it. It must start by http://

Etienne

Strangerel


etienne_sf

Quote from: etienne_sf on May 15, 2009, 10:54:01 AM
in the Coppermine configuration.

  Connect as an admin, and click on the Configuration button.

Strangerel


etienne_sf

Hum,

  This error seems to be linked to the way the applet manages HTTP/1.0 protocol.
I'm working on this one.

Etienne

etienne_sf

Hi,

  I tried jupload against a Linux box, configured in HTTP/1.0. It works ok. So my idea may be wrong.

I need an access to a system that doesn't work, to understand what happens. I need to:
1) Repeat the problem. I didn't succeed to do that, on my test box.
2) Deploy new versions, with more debug output, to understand what happens or open the applet in debug mode.

So, in a first time, an access as a standard user would allow me to repeat the problem and open the applet in debug mode.

Etienne

Strangerel