web page auth fails, cannot connect
sdetweil opened this issue · 3 comments
timeout for web response set to 0, so first_auth.js(actually Spotify.js) doesn't wait for user
Spotify.js change line 250 from
let waitForFileTimeout = 0
to
let waitForFileTimeout = 60*1000 // some reasonable user delay time
Actually, it does. If you are on the same system it opens a browser and waits until you finished the auth flow and close the browser. After that it works with waitForFileTimeout = 0
.
If you are using a remote URL for the auth flow, it will set a timeout of 5 mins:
Lines 313 to 315 in c18a57d
So changing the default timeout to one minute will just create unnecessary waiting time after you already finished the auth flow on a local system.
If you still run into problems, please enable debugging and provide more insights via log outputs.
ok, this is on local system, browser does not open, will get debug
Closing due to inactivity. Feel free to re-open if something else is unclear.