We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I used Laravel Sail and config:
pws: image: "quay.io/soketi/pws:latest-16-alpine" environment: DEBUG: "1" DEFAULT_APP_WEBHOOKS: '[{"url": "http://laravel.test/webhooks", "event_types": ["client_event"]}]' ports: - "${PWS_PORT:-6001}:6001" networks: - sail
But unfortunately it doesn't work - request not send (or not receive). I don't know how to debug this. Maybe a need DEBUG_WEBHOOKS env?
DEBUG_WEBHOOKS
pws_1 | { pws_1 | adapter: { driver: 'local', redis: { prefix: '' } }, pws_1 | appManager: { pws_1 | driver: 'array', pws_1 | array: { pws_1 | apps: [ pws_1 | { pws_1 | id: 'app-id', pws_1 | key: 'app-key', pws_1 | secret: 'app-secret', pws_1 | maxConnections: -1, pws_1 | enableClientMessages: false, pws_1 | enabled: true, pws_1 | maxBackendEventsPerSecond: -1, pws_1 | maxClientEventsPerSecond: -1, pws_1 | maxReadRequestsPerSecond: -1, pws_1 | webhooks: [ pws_1 | { pws_1 | url: 'http://laravel.test/webhooks', pws_1 | event_types: [ 'client_event' ] pws_1 | } pws_1 | ] pws_1 | } pws_1 | ] pws_1 | }, pws_1 | dynamodb: { table: 'apps', region: 'us-east-1', endpoint: '' }, pws_1 | mysql: { table: 'apps', version: '8.0' }, pws_1 | postgres: { table: 'apps', version: '13.3' } pws_1 | }, pws_1 | channelLimits: { maxNameLength: 200 }, pws_1 | cors: { pws_1 | credentials: true, pws_1 | origin: [ '*' ], pws_1 | methods: [ 'GET', 'POST', 'PUT', 'DELETE', 'OPTIONS' ], pws_1 | allowedHeaders: [ pws_1 | 'Origin', pws_1 | 'Content-Type', pws_1 | 'X-Auth-Token', pws_1 | 'X-Requested-With', pws_1 | 'Accept', pws_1 | 'Authorization', pws_1 | 'X-CSRF-TOKEN', pws_1 | 'XSRF-TOKEN', pws_1 | 'X-Socket-Id' pws_1 | ] pws_1 | }, pws_1 | database: { pws_1 | mysql: { pws_1 | host: '127.0.0.1', pws_1 | port: 3306, pws_1 | user: 'root', pws_1 | password: 'password', pws_1 | database: 'main' pws_1 | }, pws_1 | postgres: { pws_1 | host: '127.0.0.1', pws_1 | port: 5432, pws_1 | user: 'postgres', pws_1 | password: 'password', pws_1 | database: 'main' pws_1 | }, pws_1 | redis: { pws_1 | host: '127.0.0.1', pws_1 | port: 6379, pws_1 | db: 0, pws_1 | username: null, pws_1 | password: null, pws_1 | keyPrefix: '', pws_1 | sentinels: null, pws_1 | sentinelPassword: null, pws_1 | name: 'mymaster' pws_1 | } pws_1 | }, pws_1 | databasePooling: { enabled: false, min: 0, max: 7 }, pws_1 | debug: 1, pws_1 | eventLimits: { maxChannelsAtOnce: 100, maxNameLength: 200, maxPayloadInKb: 100 }, pws_1 | httpApi: { requestLimitInMb: 100 }, pws_1 | instance: { process_id: 1 }, pws_1 | metrics: { pws_1 | enabled: false, pws_1 | driver: 'prometheus', pws_1 | prometheus: { prefix: 'pws_' } pws_1 | }, pws_1 | port: 6001, pws_1 | pathPrefix: '', pws_1 | presence: { maxMembersPerChannel: 100, maxMemberSizeInKb: 2 }, pws_1 | queue: { driver: 'sync', redis: { concurrency: 1 } }, pws_1 | rateLimiter: { driver: 'local' }, pws_1 | ssl: { certPath: '', keyPath: '', passphrase: '' } pws_1 | } pws_1 | pws_1 | 📡 pWS Server initialization started. pws_1 | pws_1 | ⚡ Initializing the HTTP API & Websockets Server... pws_1 | pws_1 | ⚡ Initializing the Websocket listeners and channels... pws_1 | pws_1 | ⚡ Initializing the HTTP webserver... pws_1 | pws_1 | 🎉 Server is up and running! pws_1 | pws_1 | 📡 The Websockets server is available at 127.0.0.1:6001 pws_1 | pws_1 | 🔗 The HTTP API server is available at http://127.0.0.1:6001 pws_1 |
The text was updated successfully, but these errors were encountered:
After the builds for 0.11.2 end, you can keep using the DEBUG variable and it will also output webhook logs.
0.11.2
DEBUG
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I used Laravel Sail and config:
But unfortunately it doesn't work - request not send (or not receive). I don't know how to debug this. Maybe a need
DEBUG_WEBHOOKS
env?The text was updated successfully, but these errors were encountered: