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

Keeps asking login when click anything #15495

Closed
2 tasks done
NHVIT opened this issue Sep 12, 2024 · 9 comments
Closed
2 tasks done

Keeps asking login when click anything #15495

NHVIT opened this issue Sep 12, 2024 · 9 comments
Assignees

Comments

@NHVIT
Copy link

NHVIT commented Sep 12, 2024

Debug mode

Describe the bug

When i login solo i dont get any problems.
When somebody else in the same network logs in, the system starts to go bug and you need to login everytime you click something (new link).
SAML was active and i thought it was the issue so i disabled this but with the normal login the behaviour is the same.

You cant checkin or checkout assets, you cant change settings or anything it just keeps asking login.

The Snipe IT instance is located in a docker behind a reverse proxy.

Strange thing aswell is when i am logged in and another person wants to login they are logged in as me :/

No idea what we could do about this.
Don't really see something in the laravel logs...

Reproduction steps

  1. Log in from same network to snipe it in docker on same network
  2. Let somebody else login
  3. Keeps asking to login again
    ...

Expected behavior

Well i would love that everybody has his own login and that the person can do what he is supposed to do.

Checkin and checkout assets so I know who did it.

Screenshots

No response

Snipe-IT Version

7.0.11

Operating System

Docker

Web Server

Nginx

PHP Version

8.1.2

Operating System

No response

Browser

No response

Version

No response

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No response

Additional context

No response

Copy link

welcome bot commented Sep 12, 2024

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@snipe
Copy link
Owner

snipe commented Sep 24, 2024

Hi there - I believe @uberbrady might have been talking to you on Discord. Did you get this sorted?

@NHVIT
Copy link
Author

NHVIT commented Sep 24, 2024

That might have been somebody else :) I'm not on the snipe-it discord

@snipe
Copy link
Owner

snipe commented Sep 24, 2024

Ah, whoops - sorry!

This kinda doesn't make any sense though... Is your storage directory (where sessions would be kept) on a different drive or is it somehow resetting periodically?

@NHVIT
Copy link
Author

NHVIT commented Sep 24, 2024

Well everything stays inside the docker container. I haven't mapped any drive or location that is inside the linux machine outside of the docker container...
I wonder if the system is limited to only one person connecting or something weird?

@NHVIT
Copy link
Author

NHVIT commented Sep 24, 2024

I will make a video showing what happens :)
Hopefully then it makes sense what the problem is

@uberbrady
Copy link
Collaborator

Well everything stays inside the docker container. I haven't mapped any drive or location that is inside the linux machine outside of the docker container... I wonder if the system is limited to only one person connecting or something weird?

Probably not - we do have plenty of folks using the Docker setup and it tends to work fine for them. I suspect it might be something with your reverse proxy, maybe? Maybe something with cookies? I would try and see if you can connect directly to the docker container itself, without the proxy, and see if you have any better luck? Then you can try and re-introduce the reverse proxy.

@NHVIT
Copy link
Author

NHVIT commented Sep 25, 2024

@uberbrady

It is the nginx proxy manager that was causing this issue.

Turned everything off and connected locally to the ip-adres. Now the error is gone.

I will finetune the proxy manager untill it works :)

Thx for the info

@NHVIT NHVIT closed this as completed Sep 25, 2024
@snipe
Copy link
Owner

snipe commented Sep 25, 2024

Great, thanks for the follow up, and glad you're sorted!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants