spotify-web-api-node
spotify-web-api-node copied to clipboard
Error getting Tokens: Error: read ECONNRESET
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 }
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.
@jakeradler could you resolve this? I'm facing the same issue using node v18.12.1 as today.
Solution for this issue found here: https://github.com/jaredhanson/passport-oauth2/pull/165
+1
@robigan check this thread https://github.com/jaredhanson/passport-oauth2/pull/165
@robigan check this thread jaredhanson/passport-oauth2#165
That doesn't fix the issue. This library doesn't use any of those libraries