You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for a similar issue in our bug tracker and didn't find any solutions.
What happened?
Since 2.12.0 I am happy to use app-loggerplugin. But with this feature, I found unexpected behavior.
It's okay if your application doesn't send logs during the bootload phase. But if the application sends such logs, we have a problem:
1: PHP can't send logs over a socket connection because the rpc plugin not started yet
PHP workers can't to allocate because they're trying to send logs to RPC; goto 1;
Version (rr --version)
2.12.2
How to reproduce the issue?
Steps to reproduce:
Create a php worker and send logs to rpc app-logger plugin right away
rr serve
Configuration file:
http:
address: 0.0.0.0:8080middleware:
- gzip
- staticpool:
num_workers: 4supervisor:
max_worker_memory: 100static:
dir: /app/publicforbid:
- .php
- .htaccessrpc:
listen: tcp://127.0.0.1:6001server:
command: php /app/app.phprelay: pipestemporal: # temporal not required for reproduce, this is a just my copy-pasted configactivities:
num_workers: 12address: temporal-frontend:7233version: "2.7"
Relevant log output
2023-02-07T13:56:23.024Z INFO temporal connected to temporal server {"address": "temporal-frontend:7233"}
2023-02-07T13:56:23.309Z INFO server [Spiral\Goridge\Exception\RelayException]
Unable to establish connection tcp://127.0.0.1:6001
in /app/vendor/spiral/goridge/src/SocketRelay.php:281
Previous: [Spiral\Goridge\Exception\RelayException]
Connection refused
in /app/vendor/spiral/goridge/src/SocketRelay.php:278
2023-02-07T13:56:23.309Z INFO server [Spiral\Exceptions\Exception\FatalException]
socket_connect(): unable to connect [111]: Connection refused
in /app/vendor/spiral/goridge/src/SocketRelay.php:269
handle_serve_command: Serve error:
endure_start:
endure_serve_internal: Function call error:
endure_call_serve_fn: got initial serve error from the Vertex roadrunner_temporal.Plugin, stopping execution, error: temporal_plugin_serve: WorkerAllocate:
static_pool_allocate_workers: EOF
The text was updated successfully, but these errors were encountered:
No duplicates 🥲.
What happened?
Since
2.12.0
I am happy to useapp-logger
plugin. But with this feature, I found unexpected behavior.It's okay if your application doesn't send logs during the bootload phase. But if the application sends such logs, we have a problem:
rpc plugin
not started yetVersion (rr --version)
2.12.2
How to reproduce the issue?
Steps to reproduce:
rr serve
Configuration file:
Relevant log output
The text was updated successfully, but these errors were encountered: