Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Out of sync ? #207

Closed
yem127 opened this Issue · 22 comments

4 participants

@yem127

Using pianobar-2012.01.10-3-gb5664c8 (2012.01.10-dev)

When I attempt to login, after I put in my pandora password, I get:

[?] Password:
(i) Login... Error: Out of sync. Please correct your system's time.

Tried on 2 different systems, timed synced with NTP if it matters ...

@yem127

I referred to issue #204, but still get the same error

@yem127

I'll try by using a proxy again and retest ... odd it wasn't needed for the past little while ...

@ghost

Same here, pianobar (2012.01.10-dev), it just started happening over 4 hours ago.

(i) Login... Error: Out of sync. Please correct your system's time.
@ghost

The commit from issue #205 fixes this problem.

@PromyLOPh
Owner
@Suvarov454

I've run into this problem intermittently in the past, and when I modify libpiano/xml.c to print out the valueStr, the error appears to be associated with a particular IP address; multiple calls produce different results, depending on which server handles the request. Pandora may have one server in its cluster that dosn't have its time set right. This may or may not be intentional.

@ghost

+3 GMT

Without the patch from #205:

timestamp: 1200256942, local time 1326400942, offset 126144000

With the patch from #205

timestamp: 1200257316, local time 1326401316, offset 126144000

Odd... its now working without the patch ~6hrs after it stopped

@ghost

I think it has to do with the TLS.

The patch from #205 enables TLS when loggin in, while the (2012.01.10-dev) build has TLS disabled while logging in. At the same time, this issue seems to come and go. You might be right, there must be a server thats inconsistent, likely one that handles calls from clients without TLS enabled.

@PromyLOPh
Owner
@yem127

Well, I recompiled with patch in #205 and I don't get the "Out of sync" message anymore (on 2 different machines that had the problem). Everything works well.
Being out of the US a proxy is required again though (it wasn't necessary for the past few weeks).

@PromyLOPh
Owner
@altpapier

The latest version works for me with linux, but if I compile it with cygwin, i get the "out of sync" error.
If I use the patch #205, I get the "playlist end" error.

With the patch #205 I get
timestamp: 1200480454, local time 1326624455, offset 126144001

but without the patch #205 I do only see the "out of sync" message, and the printf-line with the timestamp does not seem to be called at all.

@altpapier

now, also with the patch, I had
timestamp: 1200481541, local time 1326625541, offset 126144000 (this seems to be the normal case)

@PromyLOPh
Owner
@ghost

Patch works ok.

@PromyLOPh
Owner
@ghost

Not getting the

(i) Login... Error: Out of sync. Please correct your system's time.

anymore, but like some people have indirectly said, the issue seems to come and go. Yet to experience it again with this patch.

@altpapier

unfortunately the patch leads to
Login... Error: Your ip address was rejected. Please setup a control proxy (see manpage).
in my case.
The control_proxy is configured though, and with
"req->secure = true" at PIANO_REQUEST_LOGIN the login works, but the control proxy error comes up while getting the stations...

@ghost

Have you tried with a different control proxy?

@altpapier

no, just with my local one 127.0.0.1:8888, but that used to work fine with the 2011-11-11-dev version till recently. I also can say that it works fine with the patch, if I do not use a control proxy and "proxify" the complete app... Maybe it is a problem with my proxy configuration (tinyproxy) though.

edit: in fact it did work with another control proxy... so the patch fixed the out of sync issue

@yem127

@PromyLOPh

I recompiled with your timestamp patch AND the patch in #205:

(i) Login... timestamp: 1200607234, local time 1326751235, offset 126144001
Ok.
(i) Get stations... Ok.

Since applying the patch in #205 I haven't seen the "Out of sync" message.

@PromyLOPh
Owner
@PromyLOPh PromyLOPh closed this in d44f61b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.