craftcms / craftcms/cms

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

Open
#16,302 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PHP
Stars
3.6k
Forks
705
Avg merge
1d 5h
Merged PRs (30d)
134

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is identified. Start by reproducing the intermittent inaccessibility on the shared network and compare it with mobile-data access; done would require isolating whether the cause is Craft CMS, PHP request handling, or network configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.