@Madchatthew You might be sorry you asked 🙂 This is the mentoring category below. Presently, it’s unused, but we have a dedicated area for it.
https://sudonix.org/category/8/mentoring
Other services
https://sudonix.org/services
@phenomlab here what i’m following
@justoverclock Can you try it now ?
@phenomlab i can’t post and i get
pusher.js:1623 WebSocket connection to 'wss://forum.justoverclock.it:6001/app/1ddbcd118d43678d3943c6a3f3541ff2?protocol=7&client=js&version=7.0.3&flash=false' failed: WebSocket is closed before the connection is established.
e.close @ pusher.js:1623
abort @ pusher.js:4210
(anonimo) @ pusher.js:3132
(anonimo) @ pusher.js:955
(anonimo) @ pusher.js:913
setTimeout (asinc)
t @ pusher.js:911
e @ pusher.js:954
t.tryStrategy @ pusher.js:3131
t.connect @ pusher.js:3114
(anonimo) @ pusher.js:3193
J @ pusher.js:1080
(anonimo) @ pusher.js:3192
t.connect @ pusher.js:3172
t.connect @ pusher.js:3378
t.connect @ pusher.js:3393
t.connect @ pusher.js:3255
e.startConnecting @ pusher.js:2767
e.connect @ pusher.js:2721
t.connect @ pusher.js:4471
t @ pusher.js:4450
(anonimo) @ Application.js:13
forEach.t.<computed> @ extend.js:35
n.mount @ ForumApplication.js:117
e.boot @ Application.js:177
(anonimo) @ (indice):106
@justoverclock Can you enable debug
then try to post again ? Post the log afterwards.
POST https://forum.justoverclock.it/api/posts
GuzzleHttp\Exception\ConnectException: Connection refused for URI https://forum.justoverclock.it:6001/apps/1/channels?auth_key=1ddbcd118d43678d3943c6a3f3541ff2&auth_timestamp=1633964727&auth_version=1.0&filter_by_prefix=private-user%3D&auth_signature=3a8bf677fe439b6133a8a2ce61ba423c0968885f3bd4dcb81c547ac3a47a5b01 in /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php:321
Stack trace:
#0 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php(240): GuzzleHttp\Handler\StreamHandler->GuzzleHttp\Handler\{closure}()
#1 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php(332): GuzzleHttp\Handler\StreamHandler->createResource()
#2 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php(58): GuzzleHttp\Handler\StreamHandler->createStream()
#3 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php(35): GuzzleHttp\Handler\StreamHandler->__invoke()
#4 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/guzzlehttp/guzzle/src/Middleware.php(31): GuzzleHttp\PrepareBodyMiddleware->__invoke()
#5 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php(71): GuzzleHttp\Middleware::GuzzleHttp\{closure}()
#6 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/guzzlehttp/guzzle/src/Middleware.php(61): GuzzleHttp\RedirectMiddleware->__invoke()
#7 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/guzzlehttp/guzzle/src/HandlerStack.php(75): GuzzleHttp\Middleware::GuzzleHttp\{closure}()
#8 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/guzzlehttp/guzzle/src/Client.php(331): GuzzleHttp\HandlerStack->__invoke()
#9 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/guzzlehttp/guzzle/src/Client.php(168): GuzzleHttp\Client->transfer()
#10 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/guzzlehttp/guzzle/src/Client.php(187): GuzzleHttp\Client->requestAsync()
#11 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/guzzlehttp/guzzle/src/ClientTrait.php(44): GuzzleHttp\Client->request()
#12 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/pusher/pusher-php-server/src/Pusher.php(739): GuzzleHttp\Client->get()
#13 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/pusher/pusher-php-server/src/Pusher.php(673): Pusher\Pusher->get()
#14 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/blomstra/realtime/src/Push/Jobs/Job.php(33): Pusher\Pusher->getChannels()
#15 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/blomstra/realtime/src/Push/Jobs/SendTriggerJob.php(40): Blomstra\Realtime\Push\Jobs\Job->connectedUsers()
#16 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/container/BoundMethod.php(36): Blomstra\Realtime\Push\Jobs\SendTriggerJob->handle()
#17 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/container/Util.php(40): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#18 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
#19 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod()
#20 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/container/Container.php(653): Illuminate\Container\BoundMethod::call()
#21 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/bus/Dispatcher.php(128): Illuminate\Container\Container->call()
#22 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
#23 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#24 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
#25 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/queue/CallQueuedHandler.php(120): Illuminate\Bus\Dispatcher->dispatchNow()
#26 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Queue\CallQueuedHandler->Illuminate\Queue\{closure}()
#27 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#28 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/queue/CallQueuedHandler.php(122): Illuminate\Pipeline\Pipeline->then()
#29 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/queue/CallQueuedHandler.php(70): Illuminate\Queue\CallQueuedHandler->dispatchThroughMiddleware()
#30 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/queue/Jobs/Job.php(98): Illuminate\Queue\CallQueuedHandler->call()
#31 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/queue/SyncQueue.php(43): Illuminate\Queue\Jobs\Job->fire()
#32 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/blomstra/realtime/src/Push/Discussion/NewActivity.php(38): Illuminate\Queue\SyncQueue->push()
#33 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/events/Dispatcher.php(404): Blomstra\Realtime\Push\Discussion\NewActivity->replied()
#34 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}()
#35 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Foundation/DispatchEventsTrait.php(33): Illuminate\Events\Dispatcher->dispatch()
#36 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Post/Command/PostReplyHandler.php(104): Flarum\Post\Command\PostReplyHandler->dispatchEventsFor()
#37 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Notification/NotificationSyncer.php(148): Flarum\Post\Command\PostReplyHandler->Flarum\Post\Command\{closure}()
#38 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Post/Command/PostReplyHandler.php(105): Flarum\Notification\NotificationSyncer->onePerUser()
#39 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/bus/Dispatcher.php(122): Flarum\Post\Command\PostReplyHandler->handle()
#40 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
#41 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#42 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
#43 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow()
#44 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Api/Controller/CreatePostController.php(62): Illuminate\Bus\Dispatcher->dispatch()
#45 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Api/Controller/AbstractSerializeController.php(110): Flarum\Api\Controller\CreatePostController->data()
#46 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Api/Controller/AbstractCreateController.php(22): Flarum\Api\Controller\AbstractSerializeController->handle()
#47 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Api\Controller\AbstractCreateController->handle()
#48 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}()
#49 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ExecuteRoute->process()
#50 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle()
#51 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Api\Middleware\ThrottleApi->process()
#52 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(44): Laminas\Stratigility\Next->handle()
#53 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\CheckCsrfToken->process()
#54 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(67): Laminas\Stratigility\Next->handle()
#55 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ResolveRoute->process()
#56 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle()
#57 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\SetLocale->process()
#58 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(56): Laminas\Stratigility\Next->handle()
#59 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\AuthenticateWithHeader->process()
#60 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle()
#61 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\AuthenticateWithSession->process()
#62 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle()
#63 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\RememberFromCookie->process()
#64 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle()
#65 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\StartSession->process()
#66 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle()
#67 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Api\Middleware\FakeHttpMethods->process()
#68 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle()
#69 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ParseJsonBody->process()
#70 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle()
#71 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\HandleErrors->process()
#72 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle()
#73 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\InjectActorReference->process()
#74 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(76): Laminas\Stratigility\Next->handle()
#75 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process()
#76 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Middlewares\RequestHandler->process()
#77 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/middlewares/base-path-router/src/BasePathRouter.php(101): Laminas\Stratigility\Next->handle()
#78 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Middlewares\BasePathRouter->process()
#79 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle()
#80 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Laminas\Stratigility\Middleware\OriginalMessages->process()
#81 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle()
#82 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Middlewares\BasePath->process()
#83 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle()
#84 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ProcessIp->process()
#85 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(76): Laminas\Stratigility\Next->handle()
#86 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(65): Laminas\Stratigility\MiddlewarePipe->process()
#87 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(96): Laminas\Stratigility\MiddlewarePipe->handle()
#88 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/Server.php(44): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#89 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/public/index.php(26): Flarum\Http\Server->listen()
#90 {main}
Next GuzzleHttp\Exception\ConnectException: Connection refused for URI https://forum.justoverclock.it:6001/apps/1/channels?auth_key=1ddbcd118d43678d3943c6a3f3541ff2&auth_timestamp=1633964727&auth_version=1.0&filter_by_prefix=private-user%3D&auth_signature=3a8bf677fe439b6133a8a2ce61ba423c0968885f3bd4dcb81c547ac3a47a5b01 in /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php:72
Stack trace:
#0 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php(35): GuzzleHttp\Handler\StreamHandler->__invoke()
#1 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/guzzlehttp/guzzle/src/Middleware.php(31): GuzzleHttp\PrepareBodyMiddleware->__invoke()
#2 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php(71): GuzzleHttp\Middleware::GuzzleHttp\{closure}()
#3 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/guzzlehttp/guzzle/src/Middleware.php(61): GuzzleHttp\RedirectMiddleware->__invoke()
#4 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/guzzlehttp/guzzle/src/HandlerStack.php(75): GuzzleHttp\Middleware::GuzzleHttp\{closure}()
#5 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/guzzlehttp/guzzle/src/Client.php(331): GuzzleHttp\HandlerStack->__invoke()
#6 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/guzzlehttp/guzzle/src/Client.php(168): GuzzleHttp\Client->transfer()
#7 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/guzzlehttp/guzzle/src/Client.php(187): GuzzleHttp\Client->requestAsync()
#8 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/guzzlehttp/guzzle/src/ClientTrait.php(44): GuzzleHttp\Client->request()
#9 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/pusher/pusher-php-server/src/Pusher.php(739): GuzzleHttp\Client->get()
#10 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/pusher/pusher-php-server/src/Pusher.php(673): Pusher\Pusher->get()
#11 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/blomstra/realtime/src/Push/Jobs/Job.php(33): Pusher\Pusher->getChannels()
#12 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/blomstra/realtime/src/Push/Jobs/SendTriggerJob.php(40): Blomstra\Realtime\Push\Jobs\Job->connectedUsers()
#13 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/container/BoundMethod.php(36): Blomstra\Realtime\Push\Jobs\SendTriggerJob->handle()
#14 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/container/Util.php(40): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#15 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
#16 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod()
#17 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/container/Container.php(653): Illuminate\Container\BoundMethod::call()
#18 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/bus/Dispatcher.php(128): Illuminate\Container\Container->call()
#19 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
#20 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#21 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
#22 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/queue/CallQueuedHandler.php(120): Illuminate\Bus\Dispatcher->dispatchNow()
#23 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Queue\CallQueuedHandler->Illuminate\Queue\{closure}()
#24 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#25 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/queue/CallQueuedHandler.php(122): Illuminate\Pipeline\Pipeline->then()
#26 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/queue/CallQueuedHandler.php(70): Illuminate\Queue\CallQueuedHandler->dispatchThroughMiddleware()
#27 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/queue/Jobs/Job.php(98): Illuminate\Queue\CallQueuedHandler->call()
#28 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/queue/SyncQueue.php(43): Illuminate\Queue\Jobs\Job->fire()
#29 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/blomstra/realtime/src/Push/Discussion/NewActivity.php(38): Illuminate\Queue\SyncQueue->push()
#30 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/events/Dispatcher.php(404): Blomstra\Realtime\Push\Discussion\NewActivity->replied()
#31 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}()
#32 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Foundation/DispatchEventsTrait.php(33): Illuminate\Events\Dispatcher->dispatch()
#33 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Post/Command/PostReplyHandler.php(104): Flarum\Post\Command\PostReplyHandler->dispatchEventsFor()
#34 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Notification/NotificationSyncer.php(148): Flarum\Post\Command\PostReplyHandler->Flarum\Post\Command\{closure}()
#35 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Post/Command/PostReplyHandler.php(105): Flarum\Notification\NotificationSyncer->onePerUser()
#36 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/bus/Dispatcher.php(122): Flarum\Post\Command\PostReplyHandler->handle()
#37 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
#38 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#39 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
#40 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow()
#41 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Api/Controller/CreatePostController.php(62): Illuminate\Bus\Dispatcher->dispatch()
#42 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Api/Controller/AbstractSerializeController.php(110): Flarum\Api\Controller\CreatePostController->data()
#43 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Api/Controller/AbstractCreateController.php(22): Flarum\Api\Controller\AbstractSerializeController->handle()
#44 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Api\Controller\AbstractCreateController->handle()
#45 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}()
#46 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ExecuteRoute->process()
#47 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle()
#48 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Api\Middleware\ThrottleApi->process()
#49 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(44): Laminas\Stratigility\Next->handle()
#50 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\CheckCsrfToken->process()
#51 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(67): Laminas\Stratigility\Next->handle()
#52 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ResolveRoute->process()
#53 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle()
#54 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\SetLocale->process()
#55 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(56): Laminas\Stratigility\Next->handle()
#56 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\AuthenticateWithHeader->process()
#57 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle()
#58 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\AuthenticateWithSession->process()
#59 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle()
#60 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\RememberFromCookie->process()
#61 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle()
#62 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\StartSession->process()
#63 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle()
#64 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Api\Middleware\FakeHttpMethods->process()
#65 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle()
#66 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ParseJsonBody->process()
#67 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle()
#68 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\HandleErrors->process()
#69 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle()
#70 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\InjectActorReference->process()
#71 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(76): Laminas\Stratigility\Next->handle()
#72 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process()
#73 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Middlewares\RequestHandler->process()
#74 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/middlewares/base-path-router/src/BasePathRouter.php(101): Laminas\Stratigility\Next->handle()
#75 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Middlewares\BasePathRouter->process()
#76 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle()
#77 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Laminas\Stratigility\Middleware\OriginalMessages->process()
#78 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle()
#79 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Middlewares\BasePath->process()
#80 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle()
#81 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ProcessIp->process()
#82 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(76): Laminas\Stratigility\Next->handle()
#83 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(65): Laminas\Stratigility\MiddlewarePipe->process()
#84 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(96): Laminas\Stratigility\MiddlewarePipe->handle()
#85 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/vendor/flarum/core/src/Http/Server.php(44): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#86 /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/public/index.php(26): Flarum\Http\Server->listen()
#87 {main}
@justoverclock And the output of php flarum realtime:serve -vvv --debug
? If you are setup using Supervisor, you’ll need to stop this instance first.
@phenomlab i’ve added some config to config.php and seems to work…how can i be sure?
@justoverclock php flarum realtime:serve -vvv --debug
I’m guessing you missed this part
Set Up
Method a) use the defaults
No action needed. Your websocket will re-use the configuration of your existing forum.
Method b) the config.php
Create a key websocket and override any of the configuration items as defined in Blomstra\Realtime\Websocket\Settings::rules().
@justoverclock If you were using NodeBB, then websocket support is free and part of core…
@phenomlab yeah but i need to develop around this so i need it for now.
php flarum realtime:serve -vvv --debug
Starting websocket server, which listens on 0.0.0.0:6001.
App key expected is #############################
App secret expected is #############################
Max connections 1000
@justoverclock and I see this in the log
[2021-10-11 15:10:01] flarum.DEBUG: trigger POST: {post_value} {"post_value":"{\"name\":\"Flarum\\\\Post\\\\Event\\\\Posted\",\"data\":\"{\\\"data\\\":{\\\"type\\\":\\\"discussions\\\",\\\"id\\\":\\\"1\\\",\\\"attributes\\\":{\\\"title\\\":\\\"test\\\",\\\"slug\\\":\\\"1-test\\\",\\\"commentCount\\\":8,\\\"participantCount\\\":1,\\\"createdAt\\\":\\\"2021-10-11T14:37:36+00:00\\\",\\\"lastPostedAt\\\":\\\"2021-10-11T15:10:00+00:00\\\",\\\"lastPostNumber\\\":8,\\\"canReply\\\":false,\\\"canRename\\\":false,\\\"canDelete\\\":false,\\\"canHide\\\":false,\\\"isApproved\\\":true,\\\"canViewWhoTypes\\\":false,\\\"canTag\\\":false,\\\"subscription\\\":null,\\\"isSticky\\\":false,\\\"canSticky\\\":false,\\\"isLocked\\\":false,\\\"canLock\\\":false},\\\"relationships\\\":{\\\"tags\\\":{\\\"data\\\":[{\\\"type\\\":\\\"tags\\\",\\\"id\\\":\\\"1\\\"}]},\\\"user\\\":{\\\"data\\\":{\\\"type\\\":\\\"users\\\",\\\"id\\\":\\\"1\\\"}},\\\"lastPostedUser\\\":{\\\"data\\\":{\\\"type\\\":\\\"users\\\",\\\"id\\\":\\\"1\\\"}},\\\"lastPost\\\":{\\\"data\\\":{\\\"type\\\":\\\"posts\\\",\\\"id\\\":\\\"8\\\"}}}},\\\"included\\\":[{\\\"type\\\":\\\"tags\\\",\\\"id\\\":\\\"1\\\",\\\"attributes\\\":{\\\"name\\\":\\\"General\\\",\\\"description\\\":null,\\\"slug\\\":\\\"general\\\",\\\"color\\\":\\\"#888\\\",\\\"backgroundUrl\\\":null,\\\"backgroundMode\\\":null,\\\"icon\\\":null,\\\"discussionCount\\\":0,\\\"position\\\":0,\\\"defaultSort\\\":null,\\\"isChild\\\":false,\\\"isHidden\\\":false,\\\"lastPostedAt\\\":\\\"2021-10-11T14:45:03+00:00\\\",\\\"canStartDiscussion\\\":false,\\\"canAddToDiscussion\\\":false}},{\\\"type\\\":\\\"users\\\",\\\"id\\\":\\\"1\\\",\\\"attributes\\\":{\\\"username\\\":\\\"Marko\\\",\\\"displayName\\\":\\\"Marko\\\",\\\"avatarUrl\\\":null,\\\"slug\\\":\\\"Marko\\\"}},{\\\"type\\\":\\\"posts\\\",\\\"id\\\":\\\"8\\\",\\\"attributes\\\":{\\\"number\\\":8,\\\"createdAt\\\":\\\"2021-10-11T15:10:00+00:00\\\",\\\"contentType\\\":\\\"comment\\\",\\\"contentHtml\\\":\\\"<p>dfg<\\\\\\/p>\\\"}}]}\",\"channels\":[\"guest\"]}"}
[2021-10-11 15:10:05] flarum.DEBUG: trigger POST: {post_value} {"post_value":"{\"name\":\"Flarum\\\\Post\\\\Event\\\\Posted\",\"data\":\"{\\\"data\\\":{\\\"type\\\":\\\"discussions\\\",\\\"id\\\":\\\"1\\\",\\\"attributes\\\":{\\\"title\\\":\\\"test\\\",\\\"slug\\\":\\\"1-test\\\",\\\"commentCount\\\":9,\\\"participantCount\\\":1,\\\"createdAt\\\":\\\"2021-10-11T14:37:36+00:00\\\",\\\"lastPostedAt\\\":\\\"2021-10-11T15:10:05+00:00\\\",\\\"lastPostNumber\\\":9,\\\"canReply\\\":false,\\\"canRename\\\":false,\\\"canDelete\\\":false,\\\"canHide\\\":false,\\\"isApproved\\\":true,\\\"canViewWhoTypes\\\":false,\\\"canTag\\\":false,\\\"subscription\\\":null,\\\"isSticky\\\":false,\\\"canSticky\\\":false,\\\"isLocked\\\":false,\\\"canLock\\\":false},\\\"relationships\\\":{\\\"tags\\\":{\\\"data\\\":[{\\\"type\\\":\\\"tags\\\",\\\"id\\\":\\\"1\\\"}]},\\\"user\\\":{\\\"data\\\":{\\\"type\\\":\\\"users\\\",\\\"id\\\":\\\"1\\\"}},\\\"lastPostedUser\\\":{\\\"data\\\":{\\\"type\\\":\\\"users\\\",\\\"id\\\":\\\"1\\\"}},\\\"lastPost\\\":{\\\"data\\\":{\\\"type\\\":\\\"posts\\\",\\\"id\\\":\\\"9\\\"}}}},\\\"included\\\":[{\\\"type\\\":\\\"tags\\\",\\\"id\\\":\\\"1\\\",\\\"attributes\\\":{\\\"name\\\":\\\"General\\\",\\\"description\\\":null,\\\"slug\\\":\\\"general\\\",\\\"color\\\":\\\"#888\\\",\\\"backgroundUrl\\\":null,\\\"backgroundMode\\\":null,\\\"icon\\\":null,\\\"discussionCount\\\":0,\\\"position\\\":0,\\\"defaultSort\\\":null,\\\"isChild\\\":false,\\\"isHidden\\\":false,\\\"lastPostedAt\\\":\\\"2021-10-11T15:10:00+00:00\\\",\\\"canStartDiscussion\\\":false,\\\"canAddToDiscussion\\\":false}},{\\\"type\\\":\\\"users\\\",\\\"id\\\":\\\"1\\\",\\\"attributes\\\":{\\\"username\\\":\\\"Marko\\\",\\\"displayName\\\":\\\"Marko\\\",\\\"avatarUrl\\\":null,\\\"slug\\\":\\\"Marko\\\"}},{\\\"type\\\":\\\"posts\\\",\\\"id\\\":\\\"9\\\",\\\"attributes\\\":{\\\"number\\\":9,\\\"createdAt\\\":\\\"2021-10-11T15:10:05+00:00\\\",\\\"contentType\\\":\\\"comment\\\",\\\"contentHtml\\\":\\\"<p>dfgdfgdfg<\\\\\\/p>\\\"}}]}\",\"channels\":[\"guest\"]}"}
[2021-10-11 15:10:10] flarum.DEBUG: trigger POST: {post_value} {"post_value":"{\"name\":\"Flarum\\\\Post\\\\Event\\\\Posted\",\"data\":\"{\\\"data\\\":{\\\"type\\\":\\\"discussions\\\",\\\"id\\\":\\\"1\\\",\\\"attributes\\\":{\\\"title\\\":\\\"test\\\",\\\"slug\\\":\\\"1-test\\\",\\\"commentCount\\\":10,\\\"participantCount\\\":1,\\\"createdAt\\\":\\\"2021-10-11T14:37:36+00:00\\\",\\\"lastPostedAt\\\":\\\"2021-10-11T15:10:10+00:00\\\",\\\"lastPostNumber\\\":10,\\\"canReply\\\":false,\\\"canRename\\\":false,\\\"canDelete\\\":false,\\\"canHide\\\":false,\\\"isApproved\\\":true,\\\"canViewWhoTypes\\\":false,\\\"canTag\\\":false,\\\"subscription\\\":null,\\\"isSticky\\\":false,\\\"canSticky\\\":false,\\\"isLocked\\\":false,\\\"canLock\\\":false},\\\"relationships\\\":{\\\"tags\\\":{\\\"data\\\":[{\\\"type\\\":\\\"tags\\\",\\\"id\\\":\\\"1\\\"}]},\\\"user\\\":{\\\"data\\\":{\\\"type\\\":\\\"users\\\",\\\"id\\\":\\\"1\\\"}},\\\"lastPostedUser\\\":{\\\"data\\\":{\\\"type\\\":\\\"users\\\",\\\"id\\\":\\\"1\\\"}},\\\"lastPost\\\":{\\\"data\\\":{\\\"type\\\":\\\"posts\\\",\\\"id\\\":\\\"10\\\"}}}},\\\"included\\\":[{\\\"type\\\":\\\"tags\\\",\\\"id\\\":\\\"1\\\",\\\"attributes\\\":{\\\"name\\\":\\\"General\\\",\\\"description\\\":null,\\\"slug\\\":\\\"general\\\",\\\"color\\\":\\\"#888\\\",\\\"backgroundUrl\\\":null,\\\"backgroundMode\\\":null,\\\"icon\\\":null,\\\"discussionCount\\\":0,\\\"position\\\":0,\\\"defaultSort\\\":null,\\\"isChild\\\":false,\\\"isHidden\\\":false,\\\"lastPostedAt\\\":\\\"2021-10-11T15:10:05+00:00\\\",\\\"canStartDiscussion\\\":false,\\\"canAddToDiscussion\\\":false}},{\\\"type\\\":\\\"users\\\",\\\"id\\\":\\\"1\\\",\\\"attributes\\\":{\\\"username\\\":\\\"Marko\\\",\\\"displayName\\\":\\\"Marko\\\",\\\"avatarUrl\\\":null,\\\"slug\\\":\\\"Marko\\\"}},{\\\"type\\\":\\\"posts\\\",\\\"id\\\":\\\"10\\\",\\\"attributes\\\":{\\\"number\\\":10,\\\"createdAt\\\":\\\"2021-10-11T15:10:10+00:00\\\",\\\"contentType\\\":\\\"comment\\\",\\\"contentHtml\\\":\\\"<p>ciaociaociao<\\\\\\/p>\\\"}}]}\",\"channels\":[\"guest\"]}"}
[2021-10-11 15:10:43] flarum.DEBUG: trigger POST: {post_value} {"post_value":"{\"name\":\"Flarum\\\\Post\\\\Event\\\\Posted\",\"data\":\"{\\\"data\\\":{\\\"type\\\":\\\"discussions\\\",\\\"id\\\":\\\"1\\\",\\\"attributes\\\":{\\\"title\\\":\\\"test\\\",\\\"slug\\\":\\\"1-test\\\",\\\"commentCount\\\":11,\\\"participantCount\\\":1,\\\"createdAt\\\":\\\"2021-10-11T14:37:36+00:00\\\",\\\"lastPostedAt\\\":\\\"2021-10-11T15:10:43+00:00\\\",\\\"lastPostNumber\\\":11,\\\"canReply\\\":false,\\\"canRename\\\":false,\\\"canDelete\\\":false,\\\"canHide\\\":false,\\\"isApproved\\\":true,\\\"canViewWhoTypes\\\":false,\\\"canTag\\\":false,\\\"subscription\\\":null,\\\"isSticky\\\":false,\\\"canSticky\\\":false,\\\"isLocked\\\":false,\\\"canLock\\\":false},\\\"relationships\\\":{\\\"tags\\\":{\\\"data\\\":[{\\\"type\\\":\\\"tags\\\",\\\"id\\\":\\\"1\\\"}]},\\\"user\\\":{\\\"data\\\":{\\\"type\\\":\\\"users\\\",\\\"id\\\":\\\"1\\\"}},\\\"lastPostedUser\\\":{\\\"data\\\":{\\\"type\\\":\\\"users\\\",\\\"id\\\":\\\"1\\\"}},\\\"lastPost\\\":{\\\"data\\\":{\\\"type\\\":\\\"posts\\\",\\\"id\\\":\\\"11\\\"}}}},\\\"included\\\":[{\\\"type\\\":\\\"tags\\\",\\\"id\\\":\\\"1\\\",\\\"attributes\\\":{\\\"name\\\":\\\"General\\\",\\\"description\\\":null,\\\"slug\\\":\\\"general\\\",\\\"color\\\":\\\"#888\\\",\\\"backgroundUrl\\\":null,\\\"backgroundMode\\\":null,\\\"icon\\\":null,\\\"discussionCount\\\":0,\\\"position\\\":0,\\\"defaultSort\\\":null,\\\"isChild\\\":false,\\\"isHidden\\\":false,\\\"lastPostedAt\\\":\\\"2021-10-11T15:10:10+00:00\\\",\\\"canStartDiscussion\\\":false,\\\"canAddToDiscussion\\\":false}},{\\\"type\\\":\\\"users\\\",\\\"id\\\":\\\"1\\\",\\\"attributes\\\":{\\\"username\\\":\\\"Marko\\\",\\\"displayName\\\":\\\"Marko\\\",\\\"avatarUrl\\\":null,\\\"slug\\\":\\\"Marko\\\"}},{\\\"type\\\":\\\"posts\\\",\\\"id\\\":\\\"11\\\",\\\"attributes\\\":{\\\"number\\\":11,\\\"createdAt\\\":\\\"2021-10-11T15:10:43+00:00\\\",\\\"contentType\\\":\\\"comment\\\",\\\"contentHtml\\\":\\\"<p>sdgsfsdfsdfsdfsdfsdfsdfsdfsdfsdfsdf<\\\\\\/p>\\\"}}]}\",\"channels\":[\"guest\"]}"}
Are you able to post now ?
@phenomlab yes but i get console error about websocket
pusher.js:4026 WebSocket connection to ‘wss://forum.justoverclock.it:6001/app/1ddbcd118d43678d3943c6a3f3541ff2?protocol=7&client=js&version=7.0.3&flash=false’ failed:
@justoverclock I removed your app and key and secret. Don’t post anything sensitive
i think this is not valid for my server?
[program:realtime]
command=/usr/bin/php /var/www/flarum/flarum realtime:serve
numprocs=1
autostart=true
autorestart=true
user=www-data
@phenomlab u mean that u are working on this?
@justoverclock Correct. That path should be
/home/justoverclock/domains/forum.justoverclock.it/homes/flarum/public
@justoverclock No, I meant that you have posted sensitive information concerning your flarum installation on another public forum, which could expose your site to attack.
@phenomlab my file is now
[program:realtime]
command=/usr/bin/php /home/justoverclock/domains/forum.justoverclock.it/homes/flarum/public realtime:serve
numprocs=1
autostart=true
autorestart=true
user=www-data
but same error
@justoverclock Yes, I don’t expect the error to be any different to be honest. You’re running from the CLI anyway, and this path is for the supervisor service.
@phenomlab well…now i can’t post enymore…error 500