question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v3.1.0 doesn't work for me - Can't log in

See original GitHub issue

Hi, I’ve just updated from an older 2.x version to v3.1.0 but I cannot login. It keeps redirecting me from / to /login?to=%2F. I downgraded to v3.0.2 and that works fine. Only lead I can give is that this error is logged in chrome:

The service worker navigation preload request was cancelled before ‘preloadResponse’ settled. If you intend to use ‘preloadResponse’, use waitUntil() or respondWith() to wait for the promise to settle.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
code-ashercommented, Apr 13, 2020

Oh hmm one thing that changed in 3.1.0 was that we added the domain to the cookie. It’ll use the host header. If it’s blank or not set it won’t set the domain (that will result in the same behavior as pre-3.1.0), otherwise it’ll use the host header directly as the domain.

Does your nginx configuration do anything interesting with the host header, maybe?

0reactions
code-ashercommented, Apr 14, 2020

Oh, yeah, I can see how that flag would be confusing! For anyone that’s curious, the --proxy-domain flag is for configuring code-server’s own built-in proxy and won’t affect behavior with external proxies like nginx.

I’ve just tagged 3.1.1 so we’ll have a release with this fix out soon so the host header will no longer be required for logging in. Although it’s probably not a bad idea to forward the host information anyway. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

v3.1.0 doesn't work for me - Can't log in · Issue #1507
Hi, I've just updated from an older 2.x version to v3.1.0 but I cannot login. It keeps redirecting me from / to /login?to=%2F....
Read more >
RLC-810A v3.1.0.764 - Frequent Logins Error
The integration will start throwing errors after a few seconds, and then I can't to login to the camera via https for at...
Read more >
Can't sign in from a third-party service - Google Account Help
The service you're signing in from doesn't provide enough information to prove it's you. You're signing in from a new location or device....
Read more >
Get "Wrong password / Could not connect" when ...
Hello. I got this message today, running Business v3.1.0.0 and trying to connect to a Windows 10 PC with Streamer v3.1.0.0. The thing...
Read more >
Profile and Log-in | Any.do Help Center
Profile management · Open a list\board view. · Tap on the 3 dots menu on the top right side. · Tap on Settings....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found