EyeFiServer icon indicating copy to clipboard operation
EyeFiServer copied to clipboard

Photos not uploading

Open bjdodson opened this issue 15 years ago • 2 comments

Sorry to bother you if you're no longer active on this project, but I'm having trouble getting photos to actually upload from the card. It connects and seems to begin a session with the server, but no files are transferred. I turned off photo relay as mentioned on your blog. My log output is below. I can't figure out where the last line is coming from.

Looking forward to getting a working version running so I can start my own hacking :)

Specs: Ubuntu w/ python 2.6.4 EyeFi "share video" 4gb. Not sure of firmware. Pulled uploadkey from my Windows7 dual boot

the location of my settings file in windows7 is: C:\Users\USERNAME\AppData\Roaming\Eye-Fi\Settings.xml

[12/17/09 09:09PM][get_request] - Incoming connection from client 192.168.1.105 [12/17/09 09:09PM][finish_request] - Creating instance of main.EyeFiRequestHandler to service request from ('192.168.1.105', 38079) [12/17/09 09:09PM][do_POST] - POST /api/soap/eyefilm/v1 HTTP/1.1 [12/17/09 09:09PM][do_POST] - Headers received in POST request: [12/17/09 09:09PM][do_POST] - content-length: 409 [12/17/09 09:09PM][do_POST] - soapaction: "urn:StartSession" [12/17/09 09:09PM][do_POST] - connection: Keep-Alive [12/17/09 09:09PM][do_POST] - accept: text/xml, application/soap [12/17/09 09:09PM][do_POST] - user-agent: Eye-Fi Card/3.0144 [12/17/09 09:09PM][do_POST] - host: api.eye.fi [12/17/09 09:09PM][do_POST] - Attempting to read 409 bytes of data [12/17/09 09:09PM][do_POST] - Finished reading 409 bytes of data [12/17/09 09:09PM][do_POST] - postData: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="EyeFi/SOAP/EyeFilm">SOAP-ENV:Bodyns1:StartSession001856210ba8faa12e7e6562ac3db082ff198be7d771341261112674/ns1:StartSession/SOAP-ENV:Body/SOAP-ENV:Envelope [12/17/09 09:09PM][do_POST] - Got StartSession request [12/17/09 09:09PM][startSession] - Delegating the XML parsing of startSession postData to EyeFiContentHandler() [12/17/09 09:09PM][startSession] - Extracted elements: {'transfermode': u'34', 'macaddress': u'001856210ba8', 'cnonce': u'faa12e7e6562ac3db082ff198be7d771', 'transfermodetimestamp': u'1261112674'} [12/17/09 09:09PM][startSession] - Setting Eye-Fi upload key to c686e547e3728c63a8f78729c1592757 [12/17/09 09:09PM][startSession] - Concatenated credential string (pre MD5): 001856210ba8faa12e7e6562ac3db082ff198be7d771c686e547e3728c63a8f78729c1592757 [12/17/09 09:09PM][do_POST] - StartSession response: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">SOAP-ENV:Body<StartSessionResponse xmlns="http://localhost/api/soap/eyefilm">261f38f4d17d7c331d54080ba40dc3fe604e2cd144a31ada43c81ab7055f0c2f21230268824false</StartSessionResponse>/SOAP-ENV:Body/SOAP-ENV:Envelope [12/17/09 09:09PM][get_request] - Incoming connection from client 192.168.1.105 [12/17/09 09:09PM][finish_request] - Creating instance of main.EyeFiRequestHandler to service request from ('192.168.1.105', 8642) [12/17/09 09:09PM][get_request] - Incoming connection from client 192.168.1.105 [12/17/09 09:09PM][finish_request] - Creating instance of main.EyeFiRequestHandler to service request from ('192.168.1.105', 9032) 192.168.1.105 - - [17/Dec/2009 21:09:55] "POST /api/soap/eyefilm/v1 HTTP/1.1" 200

bjdodson avatar Dec 18 '09 05:12 bjdodson

I've had exactly the same issue with the 4GB card. It's like the response was never sent. I might do a test around the logic for the credential string. Everything else looks OK.

vaughanknight avatar Apr 26 '10 11:04 vaughanknight

Just checked, the credential value in the response from the eyefihelper and the response from the python are identical when given the same inputs.

vaughanknight avatar Apr 26 '10 13:04 vaughanknight