witnessmenow / Spotify-Diy-Thing

Something similar to the Spotify Car Thing, built with a cheap ESP32 Screen
MIT License
139 stars 10 forks source link

Can not connect #12

Open mart-e opened 11 months ago

mart-e commented 11 months ago

Hi there,

I am trying to run this project on the CYD. I have configured it (hopefully correctly) but I only see a black screen with previous/next arrows.

cyo-spotify

In my monitor, I see

getting currently playing song:
/v1/me/player/currently-playing?additional_types=episode&market=IE
stack size -1073545071
Refresh of the Access token is due, doing that now.
grant_type=refresh_token&refresh_token=&client_id=f89...&client_secret=107...
stack size -1073544543
accounts.spotify.com
Status: 
HTTP Version: 
status Code-1
Could not parse errorClosing client
[873563][E][ssl_client.cpp:37] _handle_error(): [send_ssl_data():382]: (-80) UNKNOWN ERROR CODE (0050)
Failed to send request
Status Code: -2
stack size -1073545071
Error: -2
getting currently playing song:
/v1/me/player/currently-playing?additional_types=episode&market=IE
stack size -1073545071
Refresh of the Access token is due, doing that now.
grant_type=refresh_token&refresh_token=&client_id=f89...&client_secret=107...
stack size -1073544543
accounts.spotify.com
Status: 
HTTP Version: 
status Code-1
Could not parse errorClosing client
[884625][E][ssl_client.cpp:37] _handle_error(): [send_ssl_data():382]: (-80) UNKNOWN ERROR CODE (0050)
Failed to send request
Status Code: -2
stack size -1073545071
Error: -2
getting currently playing song:
/v1/me/player/currently-playing?additional_types=episode&market=IE
stack size -1073545071
Refresh of the Access token is due, doing that now.
grant_type=refresh_token&refresh_token=&client_id=f89...&client_secret=107...
stack size -1073544543
accounts.spotify.com

any idea? Thanks

witnessmenow commented 11 months ago

I've been having similar issues on and off, I thought mostly off recently though!

Did you program it via code or via the webflash?

mart-e commented 11 months ago

Using platformio from the source code. Would reflashing help?

witnessmenow commented 11 months ago

I find just plugging it out and in sometimes fixes. I haven't gotten to the bottom of it yet I guess!

I suspect it's a power issue, maybe just try putting the USB in firmly

On Mon 20 Nov 2023, 15:36 Martin Trigaux, @.***> wrote:

Using platformio from the source code. Would reflashing help?

— Reply to this email directly, view it on GitHub https://github.com/witnessmenow/Spotify-Diy-Thing/issues/12#issuecomment-1819300374, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAL5PQUMR4ZNZ73EAZJZ2MLYFN2IDAVCNFSM6AAAAAA7TCVSQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJZGMYDAMZXGQ . You are receiving this because you commented.Message ID: @.***>

chunkysteveo commented 6 months ago

I concur - changed USB to a powered socket rather than my PC, and it started to work fine!

julius-d commented 5 months ago

20240526_182340 I have the same issue, but with a white background.