andybryant / android-shuffle

Automatically exported from code.google.com/p/android-shuffle
0 stars 0 forks source link

HTTP 417/422 prevents sync with Tracks #229

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install Shuffle. enter some actions. 
2. Enter Tracks server URL, login, password. Verify.
3. Synchronize

What is the expected output? What do you see instead?
Expected: Data should appear same in both locations.
Instead: No evidence of synchornization

Log output shows that we receive a 417 error, which accounts for the problem.

What version of the product are you using? On what operating system?
Shuffle: 1.7.0b3
Android 2.2.2, HTC MyTouch 3G w/Jack

Please provide any additional information below.

The HTTP 417 looks like this. In this case I was attempting to sync with 
"tracks.tra.in" 

03-24 19:14:42.047 I/WebClient( 1939): post with response HTTP/1.1 417 
Expectation Failed
03-24 19:14:42.067 W/Synchronizer( 1939): Failed to create entity in tracks 
[Task id=3 desc
ription='Complete dba filing' detail='' contextId=2 projectId=1 order=2 
complete=false trac
ksId='' deleted=false active=true]:Invalid response from server: HTTP/1.1 417 
Expectation F
ailed for content: <todo><created-at 
type="datetime">2011-03-21T15:41:03-05:00</created-at>
<description>Complete dba filing</description><due 
type="datetime">2011-04-01T17:00:00-05:0
0</due><notes></notes><show-from 
type="datetime">2011-04-01T17:00:00-05:00</show-from><stat
e>active</state><updated-at 
type="datetime">2011-03-21T15:44:03-05:00</updated-at></todo>
03-24 19:14:42.067 W/Synchronizer( 1939): 
org.dodgybits.shuffle.android.synchronisation.tra
cks.ApiException: Invalid response from server: HTTP/1.1 417 Expectation Failed 
for content
: <todo><created-at 
type="datetime">2011-03-21T15:41:03-05:00</created-at><description>Comp
lete dba filing</description><due 
type="datetime">2011-04-01T17:00:00-05:00</due><notes></n
otes><show-from 
type="datetime">2011-04-01T17:00:00-05:00</show-from><state>active</state><
updated-at type="datetime">2011-03-21T15:44:03-05:00</updated-at></todo>

Here's a fragment from an attempted sync with my.gtdify.com

03-24 19:24:43.447 I/WebClient( 3782): post with response HTTP/1.1 422 
Unprocessable Entity
03-24 19:24:43.467 W/Synchronizer( 3782): Failed to create entity in tracks 
[Task id=3 desc
ription='Complete dba filing' detail='' contextId=2 projectId=1 order=2 
complete=false trac
ksId='' deleted=false active=true]:Invalid response from server: HTTP/1.1 422 
Unprocessable
 Entity for content: <todo><created-at type="datetime">2011-03-21T15:41:03-04:00</created-a
t><description>Complete dba filing</description><due 
type="datetime">2011-04-01T17:00:00-04
:00</due><notes></notes><project-id type="integer">47112</project-id><show-from 
type="datet
ime">2011-04-01T17:00:00-04:00</show-from><state>active</state><updated-at 
type="datetime">
2011-03-21T15:44:03-04:00</updated-at></todo>

Original issue reported on code.google.com by MosheYud...@gmail.com on 25 Mar 2011 at 12:33

GoogleCodeExporter commented 9 years ago

Original comment by andybry...@gmail.com on 25 Mar 2011 at 8:02

GoogleCodeExporter commented 9 years ago
Latest beta 1.7.0b4 does not solve problem 

Original comment by MosheYud...@gmail.com on 29 Mar 2011 at 1:13

GoogleCodeExporter commented 9 years ago
Release 1.7.0 also does not work. 

Original comment by MosheYud...@gmail.com on 4 May 2011 at 2:03

GoogleCodeExporter commented 9 years ago
Hello

I also have a problem of this kind (I cannot sync to tracks.tra.in, neither 
with shuffle, nor with another android app).
My question is : how to provide informations ?
I've installed adb and associated drivers for debugging my mobile, but when I 
test synchronizing capability of shuffle, I see very few debug traces about 
Shuffle.

What do I miss ?
Is there a way to enable/disable specific Shuffle trace ?

My platform is : android 2.3.4 on Xperia mini pro

Original comment by cgava....@gmail.com on 30 Sep 2012 at 8:07

GoogleCodeExporter commented 9 years ago
I also suspect no sync is happening i;m using version 2.0.2 and can see no 
evidence once so ever that its even trying to sync, check my firewall logs 
nothing..

Any clue as to what my be or not be happening, the only reason to use this app 
is for its syncing ability with tracks standard install.

Original comment by peter.r....@gmail.com on 4 Mar 2013 at 9:09

GoogleCodeExporter commented 9 years ago
I've stopped using android-shuffle, mainly because of this problem

Regards

Original comment by cgava....@gmail.com on 22 Mar 2013 at 12:35