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

[5.x]: Website / CMS not accessible for all users on the same network #16302

Open
MatthiasBrodelet opened this issue Dec 10, 2024 · 2 comments
Open
Labels

Comments

@MatthiasBrodelet
Copy link

What happened?

Description

This might not be a bug but I am not sure how to label it.
Feel free to move it to wherever it fits best.

I am running a webshop with Craft CMS and Commerce for a store with 5 locations in different cities.
There is a lot of activity in the CP from employees that create manual orders or edit products, ...

The client has notified me that it has happened several times that the website seems to be offline for them.
However when I check the site it is online. It is also online for the other offices.
They can access other websites and when they check on mobile data the website also works.

At first I thought this had to be something network related.
But they don't have anything special configured.
No VPN's running or anything else.
This issue seems to fix itself after some minutes.

Could it be that because all devices on the network have the same public IP that they are also using the same PHP thread?
They obviously don't share a session because they all have their own accounts.
It might be that 1 user is triggering a process that locks up the whole thread that prevents all other users to access the website.

Is that last scenario something that is plausible or absolutely not and do I need to keep looking at network configuration issues?

Craft CMS version

5.x

PHP version

8.2

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@brandonkelly
Copy link
Member

What exactly happens when the site goes “offline”? Can you have them take a screenshot of their browser the next time it happens? And ask the offline message loads immediately, or after a long (e.g. 30 seconds) delay.

It shouldn’t have anything to do with the users’ IP. Craft doesn’t factor the IP address into authentication (besides verifying that they have one).

@MatthiasBrodelet
Copy link
Author

Not 100% sure.
I understood that the page just keeps loading but they sometimes also mention the typical Craft server error message.
I'm going to ask for screenshots or other visual evidence to see what exactly is going wrong.
We do have Sentry linked to the project but I'm not seeing anything special in the error logs.

Good to know that the shared IP is not a possible cause.

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

No branches or pull requests

2 participants