A new hint for a kind of a 2038 error message, while uploading a photo

blaufotograph

Joined: 2007-07-30
Posts: 53
Posted: Sun, 2012-03-11 20:02

With a new setup from my gallery3 from git a have had the problem again, to get a "2009.11.19_thailand_axel_00_img_4984_1620.jpg - Server Fehler: Error #2038 (IO)" error.

I read nearly all threads, where this error was discussed. I saw and fix all hints like the simultaneous upload limitations, and so on.

But i never saw or read, that the error occures, while the gallery is protected with a HTTP-Basic Authentication. In my case the Baisc Authentication is required to have access to the gallery.

In my access_log i got the following 401 HTTP Response Code:

Quote:
178.3.xxx.yyy - a_user [11/Mar/2012:19:46:34 +0100] "GET /themes/wind/css/themeroller/images/ui-bg_inset-hard_100_fcfdfd_1x100.png HTTP/1.1" 304 - "http://aaa-und-bbbb.2company.de/index.php/combined/css/f027fced8d981c5431de3deecde1cd53" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:10.0.2) Gecko/20100101 Firefox/10.0.2"
178.3.xxx.yyy - a_user [11/Mar/2012:19:46:34 +0100] "GET /index.php/uploader/index/3 HTTP/1.1" 200 6988 "http://aaa-und-bbbb.2company.de/index.php/test_upload" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:10.0.2) Gecko/20100101 Firefox/10.0.2"
178.3.xxx.yyy - a_user [11/Mar/2012:19:46:34 +0100] "GET /lib/swfobject.js?_=1331491594869 HTTP/1.1" 200 10231 "http://aaa-und-bbbb.2company.de/index.php/test_upload" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:10.0.2) Gecko/20100101 Firefox/10.0.2"
178.3.xxx.yyy - a_user [11/Mar/2012:19:46:35 +0100] "GET /lib/uploadify/jquery.uploadify.min.js?_=1331491595042 HTTP/1.1" 200 7538 "http://aaa-und-bbbb.2company.de/index.php/test_upload" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:10.0.2) Gecko/20100101 Firefox/10.0.2"
178.3.xxx.yyy - a_user [11/Mar/2012:19:46:35 +0100] "GET /lib/uploadify/uploadify.swf HTTP/1.1" 304 - "http://aaa-und-bbbb.2company.de/index.php/test_upload" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:10.0.2) Gecko/20100101 Firefox/10.0.2"
178.3.xxx.yyy - a_user [11/Mar/2012:19:46:35 +0100] "GET /themes/wind/css/themeroller/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png HTTP/1.1" 304 - "http://aaa-und-bbbb.2company.de/index.php/combined/css/f027fced8d981c5431de3deecde1cd53" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:10.0.2) Gecko/20100101 Firefox/10.0.2"
178.3.xxx.yyy - a_user [11/Mar/2012:19:46:35 +0100] "GET /themes/wind/css/themeroller/images/ui-icons_d8e7f3_256x240.png HTTP/1.1" 304 - "http://aaa-und-bbbb.2company.de/index.php/combined/css/f027fced8d981c5431de3deecde1cd53" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:10.0.2) Gecko/20100101 Firefox/10.0.2"
178.3.xxx.yyy - a_user [11/Mar/2012:19:46:36 +0100] "GET /themes/wind/css/themeroller/images/ui-bg_glass_75_d0e5f5_1x400.png HTTP/1.1" 304 - "http://aaa-und-bbbb.2company.de/index.php/combined/css/f027fced8d981c5431de3deecde1cd53" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:10.0.2) Gecko/20100101 Firefox/10.0.2"
178.3.xxx.yyy - a_user [11/Mar/2012:19:46:48 +0100] "GET /lib/uploadify/cancel.png HTTP/1.1" 304 - "http://aaa-und-bbbb.2company.de/index.php/test_upload" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:10.0.2) Gecko/20100101 Firefox/10.0.2"
178.3.xxx.yyy - - [11/Mar/2012:19:46:48 +0100] "POST /index.php/uploader/add_photo/3 HTTP/1.1" 401 401 "-" "Shockwave Flash"
178.3.xxx.yyy - a_user [11/Mar/2012:19:46:50 +0100] "GET /themes/wind/images/ico-error.png HTTP/1.1" 304 - "http://aaa-und-bbbb.2company.de/index.php/combined/css/f027fced8d981c5431de3deecde1cd53" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:10.0.2) Gecko/20100101 Firefox/10.0.2"
178.3.xxx.yyy - a_user [11/Mar/2012:19:46:50 +0100] "GET /index.php/uploader/status/0/1 HTTP/1.1" 200 30 "http://aaa-und-bbbb.2company.de/index.php/test_upload" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:10.0.2) Gecko/20100101 Firefox/10.0.2"

The gallery don't write out any output in the gallery-log.

Quote:
~/dimi-und-anna/var/logs$ tail -f 2012-03-11.log.php
<?php defined('SYSPATH') or die('No direct script access.'); ?>

It would be very kind from you, if anybody takes a view on my issue. In my mind the flash library does not support a site with basic auth.
_____________________________________________
Thank, and regards

blaufotograph

Homepage: http://reisen.blaufotograph.de
My Gallery Version:
* Version: 3.0 with default wind theme, now updated to the latest git-version
* a further in s

 
blaufotograph

Joined: 2007-07-30
Posts: 53
Posted: Sun, 2012-03-11 20:28

I found the following issue with the flash player:

http://demo.swfupload.org/Documentation/#knownissues

Quote:
Authentication
HTTP Authentication is not well supported by the Flash Player. Later versions of Flash Player behave better. Old version of Flash Player would crash the browser.

Maybe anyone has a idea how to debug this issue ??
_____________________________________________
Thank, and regards

blaufotograph

Homepage: http://reisen.blaufotograph.de
My Gallery Version:
* Version: 3.0 with default wind theme, now updated to the latest git-version
* a further in s

 
alexl

Joined: 2012-03-09
Posts: 3
Posted: Sun, 2012-03-11 22:05
 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2012-03-12 03:59

Use a different upload method as flash has issue with http auth.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
blaufotograph

Joined: 2007-07-30
Posts: 53
Posted: Mon, 2012-03-12 06:28

Hi Alex,

thanks for your answer, but i set already this parameters ;-)

Maybe i should follow the hint from dave, and use the html-uploader, if there is no way to fix this...

floridave wrote:
Use a different upload method as flash has issue with http auth.

@Dave,

is there any chance to fix this issue with flash, which i already find out? Do you know if it's possible to fix the gallery here ?

I think, that could help some more people ?
_____________________________________________
Thank, and regards

blaufotograph

Homepage: http://reisen.blaufotograph.de
My Gallery Version:
* Version: 3.0 with default wind theme, now updated to the latest git-version
* a further in s

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2012-03-12 13:24

It is a issue with flash, as you found out, not Gallery. Perhaps you can find some Adobe people to help you out.
Don't use self signed SSL certificates.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
blaufotograph

Joined: 2007-07-30
Posts: 53
Posted: Mon, 2012-03-12 18:43
floridave wrote:
It is a issue with flash, as you found out, not Gallery. Perhaps you can find some Adobe people to help you out.
Don't use self signed SSL certificates.

thank you very much, Dave. I see, there is currently no hope to get this issue resolved. So what... I have two possibilities:

1. Use the gallery only with it's own login, and not with the basic auth method
2. or use the html uploader to upload the pics into the gallery.

By the way, is there the possibility to develop another upload tool, like the zip-uploader from gallery2 ?

_____________________________________________
Thank, and regards

blaufotograph

Homepage: http://reisen.blaufotograph.de
My Gallery Version:
* Version: 3.0 with default wind theme, now updated to the latest git-version
* a further in s

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2012-03-12 20:00

Other upload methods:
Server add: http://codex.gallery2.org/Gallery3:Modules:serveradd
Gallery remote: http://gallery.menalto.com/node/97318
Windows client: http://gallery.menalto.com/node/98976

http://codex.gallery2.org/Category:Gallery_3:Other_Clients

So Yes there is a possibility to develop another upload method like the zip-uplodeder similar to G2.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team