Closed Pixolantis closed 2 months ago
Hey @Pixolantis, what does your Reverb configuration look like? Could you share your reverb.php file and your REVERB_
prefixed environment variables?
Hey @joedixon sure. Thank you.
.env
REVERB_SERVER_HOST=reverb
REVERB_SERVER_PORT=8088
REVERB_APP_ID=215436
REVERB_APP_KEY=3orxjgppvmqnognsh8us
REVERB_APP_SECRET=yryu2rb6wi5u7ct2r09a
REVERB_HOST=reverb.my-domain.test
REVERB_PORT=443
REVERB_SCHEME=https
reverb.php (no changes made) I have try to set verify_peer but after this, my browser can't connect to reverb
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Reverb Server
|--------------------------------------------------------------------------
|
| This option controls the default server used by Reverb to handle
| incoming messages as well as broadcasting message to all your
| connected clients. At this time only "reverb" is supported.
|
*/
'default' => env('REVERB_SERVER', 'reverb'),
/*
|--------------------------------------------------------------------------
| Reverb Servers
|--------------------------------------------------------------------------
|
| Here you may define details for each of the supported Reverb servers.
| Each server has its own configuration options that are defined in
| the array below. You should ensure all the options are present.
|
*/
'servers' => [
'reverb' => [
'host' => env('REVERB_SERVER_HOST', '0.0.0.0'),
'port' => env('REVERB_SERVER_PORT', 8080),
'hostname' => env('REVERB_HOST'),
'options' => [
'tls' => [],
],
'max_request_size' => env('REVERB_MAX_REQUEST_SIZE', 10_000),
'scaling' => [
'enabled' => env('REVERB_SCALING_ENABLED', false),
'channel' => env('REVERB_SCALING_CHANNEL', 'reverb'),
],
'pulse_ingest_interval' => env('REVERB_PULSE_INGEST_INTERVAL', 15),
],
],
/*
|--------------------------------------------------------------------------
| Reverb Applications
|--------------------------------------------------------------------------
|
| Here you may define how Reverb applications are managed. If you choose
| to use the "config" provider, you may define an array of apps which
| your server will support, including their connection credentials.
|
*/
'apps' => [
'provider' => 'config',
'apps' => [
[
'key' => env('REVERB_APP_KEY'),
'secret' => env('REVERB_APP_SECRET'),
'app_id' => env('REVERB_APP_ID'),
'options' => [
'host' => env('REVERB_HOST'),
'port' => env('REVERB_PORT', 443),
'scheme' => env('REVERB_SCHEME', 'https'),
'useTLS' => env('REVERB_SCHEME', 'https') === 'https',
],
'allowed_origins' => ['*'],
'ping_interval' => env('REVERB_APP_PING_INTERVAL', 60),
'max_message_size' => env('REVERB_APP_MAX_MESSAGE_SIZE', 10_000),
],
],
],
];
reverb is start with supervision in a separate Container (reverb:8088) If I stop my queue worker container and run php artisan queue:work in my php Container it works.
REVERB_SERVER_HOST=reverb
looks wrong, that should more likely be REVERB_SERVER_HOST=0.0.0.0
as it should be a valid host on the server on which Reverb can run.
How are you applying SSL to the Reverb server?
I don‘t think that is wrong. Reverb is working woth queue:work. If it is wrong, I think it was not working wor an artisan command.
reverb is the containername for my reverb host. I use Traefik to enroll my Dev Environment with SSL
Hey @Pixolantis. Sorry, but this configuration is outside of my ability to provide assistance. I would recommend asking for help in one of our support channels:
Reverb Version
1.0.0-beta9
Laravel Version
11.0.7
PHP Version
8.3.6
Description
My Reverb runs with supervision and have the tls verification disabled: conf(broadcasting.php
I run my queue for a test example with ´php artisan queue:work´ or ´queue:listen´. Both works.
With Queues and supervisor I get this error
Steps To Reproduce
My supervisor for queue:
My dockerfile for supervisor:
I don't know if this is a reverb problem or if I have a missconfiguration