Giter Site home page Giter Site logo

Server Error after deleting a user about wag HOT 7 CLOSED

Cody7172 avatar Cody7172 commented on September 23, 2024
Server Error after deleting a user

from wag.

Comments (7)

NHAS avatar NHAS commented on September 23, 2024 1

Ah alright, sweet, definitely super weird that its happening but if its not reproducible then Im not sure what to do about it.
Thanks for those details tho!

I have just added more logging to the API endpoints on failure on the unstable branch. But obviously not released.

If you have a db that has routinely caused this then I might ask you to share that

from wag.

NHAS avatar NHAS commented on September 23, 2024

Howdy, I need some more information to replicate.

What version are you on?

Can you provide your server logs?

from wag.

NHAS avatar NHAS commented on September 23, 2024

Yeah I cant replicate this with my current setup.

Which is Wag v7.3.1-35-ga3348c2 via docker.

I already have 1 user, not sure if you were doing with a blank setup.

I go create registration token for user abc . Use said token, then delete said user and all is fine.

from wag.

Cody7172 avatar Cody7172 commented on September 23, 2024

Thanks for the response!
I'm using v7.3.1 from August 16
Here is what the error looks like in the logs:

WAG[6186]: 2023/10/03 04:25:02 registration token for  test created
WAG[6186]: 2023/10/03 04:28:13 test *ip* successfully registered as *ip* : *some-token*
WAG[6186]: 2023/10/03 04:28:34 test deleted
WAG[6186]: 2023/10/03 04:28:38 error getting firewall rules data Error: lookup: key does not exist

Also here is error related to "unable to receive conf for next created user":

WAG[6186]: 2023/10/04 11:48:09 registration token for  *new user* created
WAG[6186]: 2023/10/04 11:49:05 *user* *ip* unable to add device:  attempted to add a device with address that already exists

from wag.

NHAS avatar NHAS commented on September 23, 2024

Huhhhh. Well that's certainly interesting.
To provide context.

That first error is saying that when the user was created it was not added to the ebpf firewall map.

But then the second error says that it was added.

Does this happen on a completely fresh install? I.e new database?

Could you also provide your kernel version and distro?

from wag.

Cody7172 avatar Cody7172 commented on September 23, 2024

Distro and kernel are Amazon Linux 2 with Linux 5.10.192-182.736.amzn2.x86_64 x86_64
Most likely not happens on fresh, I tested adding/removing/configuring users before, and didn’t notice anything like that
I'll keep an eye on it to see what could be causing this problem

from wag.

NHAS avatar NHAS commented on September 23, 2024

I am going to close this issue as I cannot replicate.

If you (or anyone else) experience this issue again feel free to reopen it

from wag.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.