We strongly recommend the use of Blackfire repositories to install the Probe.
If you ever experience difficulties while installing or running the Probe with our repositories, you can install it manually by following the manual installation guide in the Probe installation section.
We strongly recommend the use of package repositories to install the Agent.
If you ever experience difficulties while installing or running the Agent with our repositories, you can install it manually by following the manual installation guide in the Agent installation section.
When using cPanel, please follow the specific cPanel documentation.
This is the most common issue when installing the Blackfire stack as a result of Blackfire security principles: the probe does not expose anything if you are not allowed to profile, misconfigured it or even forgot to install it.
Therefore this issue can not be diagnosed automatically.
Note
Magento Cloud and Platform.sh users benefit from a special configuration. If you use one of those platforms, please follow the dedicated troubleshooting documentation on their documentation sites:
In any other case, if this issue occurs, please follow these steps:
Ensure you're using the latest Agent, Probe and Companion. Check this page that will tell you if they're outdated.
Ensure that you properly configured your Blackfire server credentials via
blackfire-agent -register. You can display the current configuration
with blackfire-agent -d.
Ensure that you have restarted your agent after any configuration change.
Check how to do that in the documentation for your platform.
If it still does not work, look for any error messages in the logs (see below for paths).
You can use a simple phpinfo() script in a web context and look for
Blackfire configuration.
If you have a reverse proxy, cache, or content delivery network (CDN) in front of your application, you will want to bypass it when profiling with Blackfire.
For example profiling a web server directory listing won't work. The same applies for single page web-app as files will probably be served directly by the web server. In this last case, you probably want to profile XHR requests instead.
dial tcp: i/o timeout¶This error occurs when a timeout happens between the Agent and the Blackire.io server. If you encounter this issue, you can increase the timeout of the Agent by appending the following line to the Agent configuration:
1 | timeout=30s
|