Internal Server Error on panel reload

I can log in to the panel (version 3.0.1) without problems. Click around, change stuff, anything. But when I reload or press CMD + R in the panel, there’s an Internal Server Error. I have to open the frontend, and then open the panel again to get it to work. It even keeps me logged in.

Looking at my error logs I can see this:

Request exceeded the limit of 10 internal redirects due to probable configuration error.

If I understand it correctly, there are over 10 internal redirects which throws an error.
How can I debug this? Anyone else with a similar issue?

EDIT: Seems like it’s not because of the reload. Everytime I type something like /panel/site or /panel/users or even just /panel/ in the address bar it throws the error. It only works when going to /panel and navigating via links. Strange error.

EDIT 2: After re-uploading everything it suddenly works. No idea what went wrong.

I have the exact same issue with v3.1.3, with same error log message, even in local mode. Re-uploading everything doesn’t solve anything… Any idea? :thinking:

@anon15663471 Does this also happen if you disable all plugins?

I recreated the setup for testing with just a very basic setup and do not get this error when reloading the Panel.

Is that .htaccess file the unmodified default version?

Are you using any custom code apart from the pluguins anywhere? Link routes or something in your config?

Looks like the site runs in a subfolder of the main domain? Or is this a leftover from development in the composer file?

But if I open the final domain, there seems to be an error anyway… (“The page is currently offline due to an unexpected error”)

Your folder structure then looks quite like this, then, right?

And the frontend is working fine, and you can make changes in the Panel and save and all that stuff as long as you do not reload?

I’m on a Mac (using Valet as my dev env) and don’t have STRG-Shift-R, but if I press the equivalent Cmd+Alt+E then 'Cmd+R`, the Panel keeps working. So I have no chance of debugging this.

Do you get any errors in your console? Does this happen in all browsers? Does this also happen with a standard setup?

This issue isn’t really solved yet, right? I’ve got the exact same error. Also only on reload and I need to change url back to ‘/panel’. No trailing slash. I’ve tried removing all plugins, emptying the config.php but nothings works. Get the error both on local and live environment.