-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Black screen every few weeks with Authorization required #201
Comments
Can you grab logs next time this happens and share? Will hopefully provide me with some insights into this issue. |
Hi MrWorf, Please see attached file for the logs, hopefully you can see the problems. I just reload the JSON file about 2 hours ago. |
Hi MrWorf, |
I experience the same exact issues as well. I am unable to determine the
cause of the issue.
…On Tue, Jan 25, 2022, 10:49 PM key5000 ***@***.***> wrote:
Hi MrWorf,
It happened again today, the screen showed the same error for GooglePhoto
Authorization Required. Could you please help me to fix this error.
—
Reply to this email directly, view it on GitHub
<#201 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATCO4PKSP32TSV7GWR25QALUX5VNTANCNFSM5MIZZ7XA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I'm seeing
In the logs, which causes all comms with Google's servers to fail. This means it cannot get the token and then the authentication fails. Now, why would this happen? Looking further at the log, it turns out that at the time of the first error, the date of the raspberry pi is August 12, which is quite wrong. You can see that it actually manages to get the correct time a bit later but then the authentication has been invalidated. For some reason, getting network time is taking so long that the frame has time to fail ssl. But, I assume you're not rebooting on a regular schedule :) so it means that your RPi randomly lost the correct time and date and this will cause it to fail SSL. The only thing I can think of is that the RPi isn't getting enough power which causes it to lose the date&time. The only workaround I can imagine for this is to add a protective layer around all SSL calls so it will hold off if it detects a leap back in-time from last request. |
The web UI should show a warning if you're running with too low power, and you'll also see a lightning symbol on the display from time to time indicating lack of power. |
Hi MrWorf, Thank you for your response. My RPi 3 was powered by iPad adapter 5.2V 2.4A (12W), do you think it has enough power? No, I don’t see the lightning symbol on the display |
That should be enough and the fact that you don't see any indicators is a good thing. I just cant understand why your RPi would randomly get the wrong time and date if it's not being rebooted. I'd advise against scheduling a reboot since it will only worsen the issue. I think the only long-term solution would be to implement safeguards around all network access which essentially makes the frame think network is lost if the time jumps back to the past (since that's the reason SSL fails) |
Hi MrWorf, or I have to live with it by re-authorize the frame every few weeks? |
I need to find a few hours to develop it, I think it wouldn't be too difficult since points for http requests are centralized but it still needs to be done.
So yes, it will most likely take me a few weeks to get it done, between my day job and family. Sorry, I'll do my best.
/Henric
…On Jan 26, 2022, 6:54 PM -0800, key5000 ***@***.***>, wrote:
Hi MrWorf,
Any suggestions on How to implement safeguards to keep the time up to date on RPi?
or I have to live with it by re-authorize the frame every few weeks?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Hi MrWorf, Best regards, |
Hi MrWorf, I just want to check back to see if you get a chance to look into this issue? Best regards, |
Is this still happening? |
Yes, it’s still happening. I lost the connection every few weeks. In order for the photoframe to display again, I have to re-authentication again. |
Yes, it still happened. I just responded back to the forum, hopefully Mr. Wolf have time to look into this again.
Thanks
On Sunday, December 18, 2022, 9:08 AM, Henric Andersson ***@***.***> wrote:
Is this still happening?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
same issue here |
Hi MrWorf and everyone,
I had my frame up and running for about a year now, every now and the frame display black screen with the message saying Google Photos: Authorization Required.
I can say that every 2-3 week, the black screen came up and I have to access the photoframe web interface and re-upload the jsaon file.
Is there a way to fix this issue?
Thank you in advance.
The text was updated successfully, but these errors were encountered: