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
The update to Blackfire v2 works fine if the BLACKFIRE_AGENT_SOCKET is set correctly in Local Beach. Otherwise you get a hard-to-debug message
BLACKFIRE_AGENT_SOCKET
Are you authorized to profile this page? No probe response, missing PHP extension or invalid signature for relaying agent.
when trying to debug HTTP requests (blackfire run inside Local Beach works fine!)
blackfire run
The text was updated successfully, but these errors were encountered:
These are needed environment variables for the blackfire/blackfire container:
blackfire/blackfire
- BLACKFIRE_CLIENT_ID=${BLACKFIRE_CLIENT_ID} - BLACKFIRE_CLIENT_TOKEN=${BLACKFIRE_CLIENT_TOKEN} - BLACKFIRE_SERVER_ID=${BLACKFIRE_SERVER_ID} - BLACKFIRE_SERVER_TOKEN=${BLACKFIRE_SERVER_TOKEN}
That's what is needed, says their documentation. One can add these to get more logging and remove a warning:
- BLACKFIRE_LOG_LEVEL=3 - BLACKFIRE_DISABLE_LEGACY_PORT=true
These are needed environment variables for the flownative/beach-php container:
flownative/beach-php
- BEACH_ADDON_BLACKFIRE_ENABLE=true - BLACKFIRE_CLIENT_ID=${BLACKFIRE_CLIENT_ID} - BLACKFIRE_CLIENT_TOKEN=…${BLACKFIRE_CLIENT_TOKEN} - BLACKFIRE_SERVER_ID=${BLACKFIRE_SERVER_ID} - BLACKFIRE_SERVER_TOKEN=${BLACKFIRE_SERVER_TOKEN} - BLACKFIRE_AGENT_SOCKET=tcp://<project-name>_blackfire.local_beach:8307
Internally, it's a bit weird right now… BEACH_ADDON_BLACKFIRE_SERVER_* are set from BLACKFIRE_SERVER_* if not defined:
BEACH_ADDON_BLACKFIRE_SERVER_*
BLACKFIRE_SERVER_*
docker-beach-php/root-files/opt/flownative/lib/beach.sh
Lines 59 to 60 in d7941ac
And then BLACKFIRE_SERVER_* are (re-)set from BEACH_ADDON_BLACKFIRE_SERVER_*:
Lines 65 to 66 in d7941ac
I suggest to drop BEACH_ADDON_BLACKFIRE_SERVER_* completely.
Sorry, something went wrong.
kdambekalns
No branches or pull requests
The update to Blackfire v2 works fine if the
BLACKFIRE_AGENT_SOCKET
is set correctly in Local Beach. Otherwise you get a hard-to-debug messagewhen trying to debug HTTP requests (
blackfire run
inside Local Beach works fine!)The text was updated successfully, but these errors were encountered: