Skip to content

Web Profiler throws 404 error on new Symfony 3.2 running in a Docker stack #21316

@reypm

Description

@reypm
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version 3.2.2

I am starting a new application and I decide to use Docker for development since it's faster and easy to use. I have build my own stack running Centos 7 with Supervisord, Apache/2.4.6, PHP 7.1.0 and MySQL 5.7.17. The stack is available here and it works as it should be. The instructions to get it up & running are in the README.

The problem I am having is coming from the Web Profiler and I am not able to find out why. As soon as I try to access: http://symfonyapp.local/app_dev.php the default page is shown but the next I get is a message saying:

An error occurred while loading the web debug toolbar (404: Not Found)

I have check the logs in the httpd container and this is what I get from there:

httpd_1    | 172.18.0.1 - - [17/Jan/2017:00:13:43 +0000] "GET /app_dev.php HTTP/1.1" 200 31820 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"
httpd_1    | 2017-01-17 00:13:44,770 DEBG 'httpd' stdout output:
httpd_1    | [Tue Jan 17 00:13:44.770329 2017] [proxy_fcgi:error] [pid 15:tid 140001497048832] [client 172.18.0.1:54532] AH01071: Got error 'Unable to open primary script: redirect:/app.php/28df54 (No such file or directory)\n', referer: http://symfonyapp.local/app_dev.php

I have checked all this topics and tried all in there:

Can I get some advice on this? Is this a Symfony3 issue, a permission issue, anything else?

I have an active topic open in SO here as well and so far I couldn't fix the issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions