spotify-web-api-node icon indicating copy to clipboard operation
spotify-web-api-node copied to clipboard

Error getting Tokens: Error: read ECONNRESET

Open jakeradler opened this issue 3 years ago • 6 comments

Every time I try to obtain my access token I receive this error Error getting Tokens: Error: read ECONNRESET at TLSWrap.onStreamRead (node:internal/stream_base_commons:220:20) { errno: -54, code: 'ECONNRESET', syscall: 'read', response: undefined }

jakeradler avatar Oct 14 '21 18:10 jakeradler

I think this is a problem with Node because I got the same error on v16.13, but not v14.18. Until I've found a better solution I've downgraded my node version to work on my project.

ayush-shrivastava003 avatar Dec 04 '21 02:12 ayush-shrivastava003

@jakeradler could you resolve this? I'm facing the same issue using node v18.12.1 as today.

pedrohma avatar Feb 10 '23 06:02 pedrohma

Solution for this issue found here: https://github.com/jaredhanson/passport-oauth2/pull/165

pedrohma avatar Feb 13 '23 20:02 pedrohma

+1

robigan avatar May 12 '23 10:05 robigan

@robigan check this thread https://github.com/jaredhanson/passport-oauth2/pull/165

pedrohma avatar May 14 '23 14:05 pedrohma

@robigan check this thread jaredhanson/passport-oauth2#165

That doesn't fix the issue. This library doesn't use any of those libraries

robigan avatar May 14 '23 20:05 robigan