Registered Member
|
Hi,
I have been trying to use digikam (5.2, and now 5.3 on mac OS) to connect to my piwigo. it just provides me with random errors. from the web server log files I sometimes see 301 errors, sometimes 404 errors. I am not sure in which case I see which error. to investigate the error I have created an account (webmaster access) and configured digikam piwigo plugin to connect to http URL. Here is what I see from my laptop (wireshark capture): POST /photos/ws.php HTTP/1.1 Content-Type: application/x-www-form-urlencoded Authorization: blahblahblahblah Content-Length: 58 Connection: Keep-Alive Accept-Encoding: gzip, deflate Accept-Language: en-GB,* User-Agent: Mozilla/5.0 Host: catelin.net password=xxxxxx&method=pwg.session.login&username=digikamHTTP/1.1 404 Not Found Server: nginx Date: Tue, 17 Jan 2017 12:28:44 GMT Content-Type: text/html; charset=UTF-8 Connection: close Vary: Accept-Encoding Expires: Wed, 11 Jan 1984 05:00:00 GMT Cache-Control: no-cache, must-revalidate, max-age=0 Link: <https://catelin.net/wp-json/>; rel="https://api.w.org/" Content-Encoding: gzip I have then installed piwigo on a local server (mac OS server, default settings as provided by Apple) POST /piwigo/ws.php HTTP/1.1 Content-Type: application/x-www-form-urlencoded Authorization: e2IyZmFlZDZmLWY5YzAtNDVmZS1hYzBmLTdlMWQ1ZWQ2MTczOX0= Content-Length: 60 Connection: Keep-Alive Accept-Encoding: gzip, deflate Accept-Language: en-GB,* User-Agent: Mozilla/5.0 Host: mn.local password=zfzefezfez&method=pwg.session.login&username=piwigoHTTP/1.1 302 Found Date: Thu, 19 Jan 2017 13:16:15 GMT Server: Apache Location: https://mn.local/piwigo/ws.php Content-Length: 272 Content-Type: text/html; charset=iso-8859-1 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>302 Found</title> </head><body> <h1>Found</h1> <p>The document has moved <a href="https://mn.local/piwigo/ws.php">here</a>.</p> <hr> <address>Apache Server at mn.local Port 80</address> </body></html> that time with an error 302 though. do note that whether I type the wrong or right password I see an error 302, both in the tcpdump and in apache logs. As far as I can tell there is nothing in my config, whether on my main site (hosted by arvixe), or my local site, that should trigger a 302 return code. ws.php is correctly located at /photos/ws.php (arvixe) or /piwigo/ws.php (local) so I am rather puzzled as to why such codes are sent back to the client. in any cases, ws.php is working, as this file is used internally by piwigo app for quite everything. I therefore suspect a problem with the client, but I can't tell for sure. A few days ago I have opened a thread on piwigo's forum (http://piwigo.org/forum/viewtopic.php?pid=166498) but we didn't make any progress. Does anyone think of where the problem could be? Anything I should do to help investigate the issue? Thanks |
Registered Member
|
I have tried again on digikam 5.8 for mac as well as for Linux. Both failed. I have tried with Shotwell and it works fine. I don't know what to do, any idea?
|
Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]