Back

[SOLVED] Process factor x session x is closed

  • 0
  • Self Hosted
D5
17 Oct, 2023, 18:09

I'm getting that weird error in logs, and not sure what does that means

Example

TypeScript
appwrite  | [2023-10-17 16:33:41 *14.3] NOTICE  ProcessFactory::end() (ERRNO 1005): session#1021 is closed
appwrite  | [2023-10-17 16:33:41 *17.6] NOTICE  ProcessFactory::finish() (ERRNO 1004): send 999 bytes failed, because session#1029 is closed
appwrite  | [2023-10-17 16:33:41 *17.6] NOTICE  ProcessFactory::finish() (ERRNO 1004): send 990 bytes failed, because session#1029 is closed
appwrite  | [2023-10-17 17:58:25 *2099.0]       NOTICE  ProcessFactory::end() (ERRNO 1005): session#1082 is closed
appwrite  | [2023-10-17 17:58:25 *2099.0]       NOTICE  ProcessFactory::end() (ERRNO 1005): session#1070 is closed
appwrite  | [2023-10-17 17:58:25 *14.3] NOTICE  ProcessFactory::finish() (ERRNO 1004): send 999 bytes failed, because session#1073 is closed
appwrite  | [2023-10-17 17:58:25 *14.3] NOTICE  ProcessFactory::finish() (ERRNO 1004): send 990 bytes failed, because session#1073 is closed
appwrite  | [2023-10-17 17:58:25 $8.0]  WARNING Server::check_worker_exit_status(): worker(pid=2104, id=2) abnormal exit, status=255, signal=0
TL;DR
The user was experiencing an error in their appwrite container logs that said "session#xxx is closed." They suspected that Cloudflare might be blocking the traffic causing the issue, but this was not the case. They also noticed a warning message about a worker abnormal exit in the logs. However, after investigation, they concluded there was no malicious activity and could not determine the exact cause of the error. The issue has been marked as solved, even though the solution is not mentioned in the thread.
Drake
17 Oct, 2023, 18:15

weird...i've seen this before when something between the client and appwrite kills the conection 🧐

D5
17 Oct, 2023, 18:16

Realtime?

Drake
17 Oct, 2023, 18:19

the appwrite container shouldn't have anything about realtime

D5
17 Oct, 2023, 18:19

Then no idea what it could be πŸ€”

D5
17 Oct, 2023, 18:20

I'm starting to think someone is trying to attack my server

D5
17 Oct, 2023, 18:34

Okay, I think I can discard the hypothesis

D5
17 Oct, 2023, 18:35

For now I don't see any request that points to be malicious

D5
17 Oct, 2023, 18:36

No idea then what this could be

D5
17 Oct, 2023, 18:38

Also, what's this? appwrite | [2023-10-17 17:58:25 $8.0] WARNING Server::check_worker_exit_status():

D5
18 Oct, 2023, 14:26

Okay, not at all πŸ˜“

D5
18 Oct, 2023, 14:28

Could the error be due to cloudflare blocking traffic?

Drake
18 Oct, 2023, 16:29

possibly if the connection starts but then cloudflare cuts it

D5
3 Nov, 2023, 18:10

After a deep investigation, yes, that was it

D5
3 Nov, 2023, 18:11

[SOLVED] Process factor x session x is closed

D5
3 Nov, 2023, 18:11

Closing this since it's not an issue that we need to fear about for now

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more