I suddenly get "ERR_INVALID_RESPONSE" on my website. I have no clue how to debug it. Nothing new is added to the servers error log if I attempt to reload.

I tried clearing the cache.

I also set the rights with:

find var generated vendor pub/static pub/media app/etc -type f -exec chmod u+w {} + && find var generated vendor pub/static pub/media app/etc -type d -exec chmod u+w {} + && chmod u+x bin/magento

It started after changing deploy mode from production to developer.

  • did you try to execute setup:upgrade and setup:di:compile ? Sep 3, 2020 at 11:43
  • Yes, did not helped.
    – Black
    Sep 3, 2020 at 12:10

1 Answer 1


I noticed that if I change back to production mode, then it works again...

So it seems to be impossible to change back from production to developer or default mode.

I will report it as a bug.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.