AccelerateNetworks / fusionpbx-webtexting

GNU Affero General Public License v3.0
0 stars 0 forks source link

Conversations generating PHP Errors Occasionally #44

Open danry25 opened 4 months ago

danry25 commented 4 months ago

We are seeing the following PHP Errors crop up occasionally:

2024/02/22 13:37:18 [error] 1823669#1823669: *4257603 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined index: HTTP_ORIGIN in /var/www/fusionpbx/app/webtexting/thread.php on line 3" while reading response header from upstream, client: 50.46.249.35, server: fusionpbx, request: "GET /app/webtexting/thread.php?extension_uuid=3e941b0f-0cef-4546-a615-147a011a0f68&number=REDACTED HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "REDACTED"
2024/02/22 13:37:33 [error] 1823669#1823669: *4257604 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined index: HTTP_ORIGIN in /var/www/fusionpbx/app/webtexting/thread.php on line 3" while reading response header from upstream, client: 50.46.249.35, server: fusionpbx, request: "GET /app/webtexting/thread.php?extension_uuid=3e941b0f-0cef-4546-a615-147a011a0f68&number=REDACTED HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "REDACTED"
danry25 commented 4 months ago

Still seeing inbound and outbound hook errors:

2024/02/26 12:00:47 [error] 1823669#1823669: *4454946 FastCGI sent in stderr: "PHP message: no webpush subscriptions for this extension" while reading response header from upstream, client: 2604:a880:4:1d0::5da:a000, server: fusionpbx, request: "POST /app/webtexting/inbound-hook.php?provider=accelerate-networks HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "redacted"
2024/02/26 12:04:16 [error] 1823669#1823669: *4455096 FastCGI sent in stderr: "PHP message: got 200 OK
PHP message: response body: stdClass Object
(
    [messageSent] => 1
    [message] => SMS Message sent to 1253258
)" while reading response header from upstream, client: 127.0.0.1, server: 127.0.0.1, request: "POST /app/webtexting/outbound-hook.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "localhost"
2024/02/26 12:10:25 [error] 1823669#1823669: *4455283 FastCGI sent in stderr: "PHP message: got 200 OK
PHP message: response body: stdClass Object
(
    [messageSent] => 1
    [message] => SMS Message sent to 1253258
)" while reading response header from upstream, client: 127.0.0.1, server: 127.0.0.1, request: "POST /app/webtexting/outbound-hook.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "localhost"
2024/02/26 12:10:42 [error] 1823669#1823669: *4455289 FastCGI sent in stderr: "PHP message: got 200 OK
PHP message: response body: stdClass Object
(
    [messageSent] => 1
    [message] => SMS Message sent to 1206390
)" while reading response header from upstream, client: 127.0.0.1, server: 127.0.0.1, request: "POST /app/webtexting/outbound-hook.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "localhost"
2024/02/26 12:10:44 [error] 1823670#1823670: *4455294 FastCGI sent in stderr: "PHP message: got 200 OK
PHP message: response body: stdClass Object
(
    [messageSent] => 1
    [message] => SMS Message sent to 1253258
)" while reading response header from upstream, client: 127.0.0.1, server: 127.0.0.1, request: "POST /app/webtexting/outbound-hook.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "localhost"
2024/02/26 12:11:37 [error] 1823669#1823669: *4455344 FastCGI sent in stderr: "PHP message: no webpush subscriptions for this extension" while reading response header from upstream, client: 2604:a880:4:1d0::5da:a000, server: fusionpbx, request: "POST /app/webtexting/inbound-hook.php?provider=accelerate-networks HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "redacted"
2024/02/26 12:12:29 [error] 1823669#1823669: *4455364 FastCGI sent in stderr: "PHP message: no webpush subscriptions for this extension" while reading response header from upstream, client: 2604:a880:4:1d0::5da:a000, server: fusionpbx, request: "POST /app/webtexting/inbound-hook.php?provider=accelerate-networks HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "redacted"
2024/02/26 12:13:48 [error] 1823669#1823669: *4455397 FastCGI sent in stderr: "PHP message: no webpush subscriptions for this extension" while reading response header from upstream, client: 2604:a880:4:1d0::5da:a000, server: fusionpbx, request: "POST /app/webtexting/inbound-hook.php?provider=accelerate-networks HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "redacted"
2024/02/26 12:15:49 [error] 1823669#1823669: *4455467 FastCGI sent in stderr: "PHP message: no webpush subscriptions for this extension" while reading response header from upstream, client: 2604:a880:4:1d0::5da:a000, server: fusionpbx, request: "POST /app/webtexting/inbound-hook.php?provider=accelerate-networks HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "redacted"
2024/02/26 12:18:19 [error] 1823669#1823669: *4455556 FastCGI sent in stderr: "PHP message: no webpush subscriptions for this extension" while reading response header from upstream, client: 2604:a880:4:1d0::5da:a000, server: fusionpbx, request: "POST /app/webtexting/inbound-hook.php?provider=accelerate-networks HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "redacted"
2024/02/26 12:40:06 [error] 1823669#1823669: *4456430 FastCGI sent in stderr: "PHP message: got 200 OK
PHP message: response body: stdClass Object
(
    [messageSent] => 1
    [message] => SMS Message sent to 1206650
)" while reading response header from upstream, client: 127.0.0.1, server: 127.0.0.1, request: "POST /app/webtexting/outbound-hook.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "localhost"
2024/02/26 12:42:15 [error] 1823669#1823669: *4456530 FastCGI sent in stderr: "PHP message: got 200 OK
PHP message: response body: stdClass Object
(
    [messageSent] => 1
    [message] => SMS Message sent to 1206909
)" while reading response header from upstream, client: 127.0.0.1, server: 127.0.0.1, request: "POST /app/webtexting/outbound-hook.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "localhost"
2024/02/26 12:43:40 [error] 1823669#1823669: *4456574 FastCGI sent in stderr: "PHP message: unknown error from push endpoint: Client error: `POST https://updates.push.services.mozilla.com/wpush/v2/gAAAAABlzsS6hdl6k5icUJUsTqLkk3BEVaTxdEi07JiWAigZ6oQDJ3ai_QtMv50wQtqQ0f5WyF935YHhyuYBvibHA_16E0miuI4Icee1WgtnEzGuNEurLcWlAJBY2rzO2FtqZeT_Is3XtR5uRJ2IagRxx7H-0llLbIvdtYJLsk0rwDnRY4gIjh8` resulted in a `413 Request Entity Too Large` response:
{"code":413,"errno":104,"error":"Payload Too Large","message":"This message is intended for a constrained device and is  (truncated...)" while reading response header from upstream, client: 2604:a880:4:1d0::5da:a000, server: fusionpbx, request: "POST /app/webtexting/inbound-hook.php?provider=accelerate-networks HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "redacted"