- Joined
- Sep 25, 2020
- Messages
- 324
- Points
- 73
Reputation:
Code:
An exception occurred: [LogicException] The session key must be overridden. in src/XF/App.php on line 887
XF\App->XF\{closure}() in src/XF/Container.php at line 31
XF\Container->offsetGet() in src/XF/App.php at line 2694
XF\App->session() in src/addons/xenMade/LAU/Listener.php at line 9
xenMade\LAU\Listener::app_setup() in src/XF/Extension.php at line 69
XF\Extension->fire() in src/XF/App.php at line 2855
XF\App->fire() in src/XF/App.php at line 1899
XF\App->setup() in src/XF.php at line 497
XF::setupApp() in src/XF.php at line 486
XF::app() in src/XF.php at line 838
XF::options() in src/addons/DCom/LiveContent/ServerIO.php at line 14
DCom\LiveContent\ServerIO::start() in socket_server.php at line 14
When accessing socket_server.php this error appears
Any idea?
- Joined
- Jun 22, 2019
- Messages
- 1,162
- Points
- 173
Reputation:
- By thomsa
Code:An exception occurred: [LogicException] The session key must be overridden. in src/XF/App.php on line 887 XF\App->XF\{closure}() in src/XF/Container.php at line 31 XF\Container->offsetGet() in src/XF/App.php at line 2694 XF\App->session() in src/addons/xenMade/LAU/Listener.php at line 9 xenMade\LAU\Listener::app_setup() in src/XF/Extension.php at line 69 XF\Extension->fire() in src/XF/App.php at line 2855 XF\App->fire() in src/XF/App.php at line 1899 XF\App->setup() in src/XF.php at line 497 XF::setupApp() in src/XF.php at line 486 XF::app() in src/XF.php at line 838 XF::options() in src/addons/DCom/LiveContent/ServerIO.php at line 14 DCom\LiveContent\ServerIO::start() in socket_server.php at line 14
When accessing socket_server.php this error appears
Any idea?
↑View previous replies…
Thanos Craxif same error check permission of folder internal_data.
thomsadid it and the same....
thomsaServer error log
Thanos Craxinternal_data
Thanos Craxphp socket_server.php status
thomsaphp socket_server.php status
thomsaps aux
thomsasome issue with php 8 or server just gonna drop it. Thanks for the help
Thanos Craxin php 8
Thanos Craxstatus
- Joined
- Jun 22, 2019
- Messages
- 1,162
- Points
- 173
Reputation:
- By thomsa
which function?
detailed error:
Bash:root@th:~# php socket_server.php start file_put_contents(internal_data/dcom_live_content.pid): Failed to open stream: No such file or directory in file /src/addons/DCom/LiveContent/vendor/workerman/workerman/Worker.php on line 1313 root@th:~# An exception occurred: [Exception] can not save pid to internal_data/dcom_live_content.pid in src/addons/DCom/LiveContent/vendor/workerman/workerman/Worker.php on line 1314 #0 src/addons/DCom/LiveContent/vendor/workerman/workerman/Worker.php(548): Workerman\Worker::saveMasterPid() #1 src/addons/DCom/LiveContent/ServerIO.php(308): Workerman\Worker::runAll() #2 socket_server.php(14): DCom\LiveContent\ServerIO::start() #3 {main}
- Joined
- Sep 25, 2020
- Messages
- 324
- Points
- 73
Reputation:
- By Thanos Crax
php socket_server.php stop
and
php socket_server.php start
agian.
- Joined
- Sep 25, 2020
- Messages
- 324
- Points
- 73
Reputation:
- By Thanos Crax
- Joined
- Jun 22, 2019
- Messages
- 1,162
- Points
- 173
Reputation:
- Joined
- Sep 25, 2020
- Messages
- 324
- Points
- 73
Reputation:
- By Thanos Crax
Install phpsocket.io true
Bash:
Exception: Address already in use src/addons/DCom/LiveContent/vendor/workerman/workerman/Worker.php:2266
Generated by: Unknown account Jan 8, 2023 at 1:47 PM
Stack trace
#0 src/addons/DCom/LiveContent/vendor/workerman/workerman/Worker.php(689): Workerman\Worker->listen()
#1 src/addons/DCom/LiveContent/vendor/workerman/workerman/Worker.php(546): Workerman\Worker::initWorkers()
#2 src/addons/DCom/LiveContent/ServerIO.php(308): Workerman\Worker::runAll()
#3 socket_server.php(14): DCom\LiveContent\ServerIO::start()
#4 {main}
Request state
array(1) {
["cli"] => string(60) "/socket_server.php start -d"
}
- Joined
- Sep 25, 2020
- Messages
- 324
- Points
- 73
Reputation:
- By Thanos Crax
Server error log
Bash:Exception: Address already in use src/addons/DCom/LiveContent/vendor/workerman/workerman/Worker.php:2266 Generated by: Unknown account Jan 8, 2023 at 1:47 PM Stack trace #0 src/addons/DCom/LiveContent/vendor/workerman/workerman/Worker.php(689): Workerman\Worker->listen() #1 src/addons/DCom/LiveContent/vendor/workerman/workerman/Worker.php(546): Workerman\Worker::initWorkers() #2 src/addons/DCom/LiveContent/ServerIO.php(308): Workerman\Worker::runAll() #3 socket_server.php(14): DCom\LiveContent\ServerIO::start() #4 {main} Request state array(1) { ["cli"] => string(60) "/socket_server.php start -d" }
Bash:
Exception: can not save pid to internal_data/dcom_live_content.pid src/addons/DCom/LiveContent/vendor/workerman/workerman/Worker.php:1314
Generated by: Unknown account Jan 8, 2023 at 1:55 PM
Stack trace
#0 src/addons/DCom/LiveContent/vendor/workerman/workerman/Worker.php(548): Workerman\Worker::saveMasterPid()
#1 src/addons/DCom/LiveContent/ServerIO.php(308): Workerman\Worker::runAll()
#2 socket_server.php(14): DCom\LiveContent\ServerIO::start()
#3 {main}
Request state
array(1) {
["cli"] => string(57) "/socket_server.php start"
}
- Joined
- Jun 22, 2019
- Messages
- 1,162
- Points
- 173
Reputation:
- By thomsa
internal_data
Bash:Exception: can not save pid to internal_data/dcom_live_content.pid src/addons/DCom/LiveContent/vendor/workerman/workerman/Worker.php:1314 Generated by: Unknown account Jan 8, 2023 at 1:55 PM Stack trace #0 src/addons/DCom/LiveContent/vendor/workerman/workerman/Worker.php(548): Workerman\Worker::saveMasterPid() #1 src/addons/DCom/LiveContent/ServerIO.php(308): Workerman\Worker::runAll() #2 socket_server.php(14): DCom\LiveContent\ServerIO::start() #3 {main} Request state array(1) { ["cli"] => string(57) "/socket_server.php start" }
- Joined
- Sep 25, 2020
- Messages
- 324
- Points
- 73
Reputation:
- Joined
- Jun 22, 2019
- Messages
- 1,162
- Points
- 173
Reputation:
- Joined
- Jun 22, 2019
- Messages
- 1,162
- Points
- 173
Reputation:
- By thomsa
Show your config and phpsocket port.
Bash:
[root@revo public_html]# php socket_server.php status
----------------------------------------------GLOBAL STATUS----------------------------------------------------
Workerman version:4.0.39 PHP version:7.4.33
start time:2023-01-09 06:05:00 run 0 days 1 hours
load average: 0.61, 0.69, 0.42 event-loop:\Workerman\Events\Select
2 workers 2 processes
worker_name exit_status exit_count
ChannelServer 0 0
PHPSocketIO 0 0
----------------------------------------------PROCESS STATUS---------------------------------------------------
pid memory listening worker_name connections send_fail timers total_request qps status
1872720 4.53M frame://127.0.0.1:2206 ChannelServer 2 0 0 465 0 [idle]
1872721 7.65M socketIO://0.0.0.0:2053 PHPSocketIO 3 0 2 615 0 [idle]
----------------------------------------------PROCESS STATUS---------------------------------------------------
Summary 11M - - 5 0 2 1080 0 [Summary]
[root@revo public_html]#
- Joined
- Jun 22, 2019
- Messages
- 1,162
- Points
- 173
Reputation:
- By thomsa
php socket_server.php status
Bash:[root@revo public_html]# php socket_server.php status ----------------------------------------------GLOBAL STATUS---------------------------------------------------- Workerman version:4.0.39 PHP version:7.4.33 start time:2023-01-09 06:05:00 run 0 days 1 hours load average: 0.61, 0.69, 0.42 event-loop:\Workerman\Events\Select 2 workers 2 processes worker_name exit_status exit_count ChannelServer 0 0 PHPSocketIO 0 0 ----------------------------------------------PROCESS STATUS--------------------------------------------------- pid memory listening worker_name connections send_fail timers total_request qps status 1872720 4.53M frame://127.0.0.1:2206 ChannelServer 2 0 0 465 0 [idle] 1872721 7.65M socketIO://0.0.0.0:2053 PHPSocketIO 3 0 2 615 0 [idle] ----------------------------------------------PROCESS STATUS--------------------------------------------------- Summary 11M - - 5 0 2 1080 0 [Summary] [root@revo public_html]#
Bash:
root 1878357 0.0 0.0 469156 22812 ? S 15:26 0:00 WorkerMan: master process start_file=/home/xxxxxx/domains/xxxx.o
root 1878358 0.0 0.0 469156 19680 ? S 15:26 0:00 WorkerMan: worker process ChannelServer frame://127.0.0.1:2206
root 1878359 0.0 0.0 469156 20640 ? S 15:26 0:00 WorkerMan: worker process PHPSocketIO socketIO://0.0.0.0:2053
root 1878406 0.0 0.0 0 0 ? I 15:27 0:00 [kworker/u82:1-writeback]
root 1878407 0.0 0.0 0 0 ? I 15:27 0:00 [kworker/u81:2-events_unbound]
root 1878423 0.0 0.0 0 0 ? I 15:28 0:00 [kworker/25:2-events]
root 1878424 0.0 0.0 0 0 ? I 15:28 0:00 [kworker/24:1-xfs-conv/dm-0]
root 1878457 0.0 0.0 0 0 ? I 15:29 0:00 [kworker/9:2-mm_percpu_wq]
root 1878485 0.0 0.0 471204 24728 ? S 15:30 0:00 WorkerMan: master process start_file=/home/xxxxxx/domains/xxxx.o
root 1878486 0.0 0.0 471204 20932 ? S 15:30 0:00 WorkerMan: worker process ChannelServer frame://127.0.0.1:2207
root 1878487 0.0 0.0 471204 21124 ? S 15:30 0:00 WorkerMan: worker process PHPSocketIO socketIO://0.0.0.0:2020
root 1878489 0.0 0.0 257428 3792 pts/0 R+ 15:30 0:00 ps aux
- Joined
- Sep 25, 2020
- Messages
- 324
- Points
- 73
Reputation:
- By Thanos Crax
ps aux
Bash:root 1878357 0.0 0.0 469156 22812 ? S 15:26 0:00 WorkerMan: master process start_file=/home/xxxxxx/domains/xxxx.o root 1878358 0.0 0.0 469156 19680 ? S 15:26 0:00 WorkerMan: worker process ChannelServer frame://127.0.0.1:2206 root 1878359 0.0 0.0 469156 20640 ? S 15:26 0:00 WorkerMan: worker process PHPSocketIO socketIO://0.0.0.0:2053 root 1878406 0.0 0.0 0 0 ? I 15:27 0:00 [kworker/u82:1-writeback] root 1878407 0.0 0.0 0 0 ? I 15:27 0:00 [kworker/u81:2-events_unbound] root 1878423 0.0 0.0 0 0 ? I 15:28 0:00 [kworker/25:2-events] root 1878424 0.0 0.0 0 0 ? I 15:28 0:00 [kworker/24:1-xfs-conv/dm-0] root 1878457 0.0 0.0 0 0 ? I 15:29 0:00 [kworker/9:2-mm_percpu_wq] root 1878485 0.0 0.0 471204 24728 ? S 15:30 0:00 WorkerMan: master process start_file=/home/xxxxxx/domains/xxxx.o root 1878486 0.0 0.0 471204 20932 ? S 15:30 0:00 WorkerMan: worker process ChannelServer frame://127.0.0.1:2207 root 1878487 0.0 0.0 471204 21124 ? S 15:30 0:00 WorkerMan: worker process PHPSocketIO socketIO://0.0.0.0:2020 root 1878489 0.0 0.0 257428 3792 pts/0 R+ 15:30 0:00 ps aux
- Joined
- Jun 22, 2019
- Messages
- 1,162
- Points
- 173
Reputation:
- By thomsa
some issue with php 8 or server just gonna drop it. Thanks for the help
Bash:
[xxxxxx@xxxx public_html]$ php socket_server.php start
-------------------------------------------- WORKERMAN --------------------------------------------
Workerman version:4.0.39 PHP version:8.0.27 Event-Loop:\Workerman\Events\Select
--------------------------------------------- WORKERS ---------------------------------------------
proto user worker listen processes status
tcp thxforg ChannelServer frame://127.0.0.1:2206 1 [OK]
tcp thxforg PHPSocketIO socketIO://0.0.0.0:2053 1 [OK]
---------------------------------------------------------------------------------------------------
Input "php socket_server.php stop" to stop. Start success.
[xxxxxx@xxxx public_html]$ php -v
PHP 8.0.27 (cli) (built: Jan 10 2023 13:26:40) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.27, Copyright (c) Zend Technologies
- Joined
- Jun 22, 2019
- Messages
- 1,162
- Points
- 173
Reputation:
- By thomsa
some issue with php 8 or server just gonna drop it. Thanks for the help
Bash:
[xxxxxx@xxxx public_html]$ php socket_server.php status
----------------------------------------------GLOBAL STATUS----------------------------------------------------
Workerman version:4.0.39 PHP version:8.0.27
start time:2023-01-10 06:34:08 run 0 days 0 hours
load average: 1.35, 3.71, 3.67 event-loop:\Workerman\Events\Select
2 workers 2 processes
worker_name exit_status exit_count
ChannelServer 0 0
PHPSocketIO 0 0
----------------------------------------------PROCESS STATUS---------------------------------------------------
pid memory listening worker_name connections send_fail timers total_request qps status
2937676 4.6M frame://127.0.0.1:2206 ChannelServer 2 0 0 5 0 [idle]
2937677 5M socketIO://0.0.0.0:2053 PHPSocketIO 3 0 2 3 0 [idle]
----------------------------------------------PROCESS STATUS---------------------------------------------------
Summary 9M - - 5 0 2 8 0 [Summary]