Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

401 Unauthorized Error - Wave reload on quick code changes #2337

Closed
pascal-pfeiffer opened this issue May 23, 2024 · 2 comments
Closed

401 Unauthorized Error - Wave reload on quick code changes #2337

pascal-pfeiffer opened this issue May 23, 2024 · 2 comments
Labels
bug Bug in code devx Related to developer experience

Comments

@pascal-pfeiffer
Copy link

pascal-pfeiffer commented May 23, 2024

Wave SDK Version, OS

Wave 1.2.0 (but basically on all wave versions)
Ubuntu 22.04

Actual behavior

When I change code locally and run the wave server without --no-reload, it will automatically detect code changes and reload. Unfortunately, when using autosave, I get a 401 error very often doing so. Probably due to rapid changes in the files. In these cases, I need to change the code again or restart the wave server manually to recover.

INFO:     127.0.0.1:46888 - "POST / HTTP/1.1" 401 Unauthorized

Expected behavior

Handle quick changes in the code.

Steps To Reproduce

  1. Run a wave server and application without --no-reload arg.
  2. Make quick changes in the code and save often. Or use autosave.
  3. Receive 401 error
@pascal-pfeiffer pascal-pfeiffer added the bug Bug in code label May 23, 2024
@mturoci mturoci added the devx Related to developer experience label May 24, 2024
@psinger
Copy link

psinger commented May 27, 2024

Seeing the same issue.

@psinger
Copy link

psinger commented Aug 2, 2024

@mturoci any chance to take a look at this please?
It is currently very cumbersome to develop with this issue always popping up after each code change and refresh.

@mturoci mturoci closed this as completed in 50fc9d9 Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug in code devx Related to developer experience
Projects
None yet
Development

No branches or pull requests

3 participants