#how to fix too many redirects (NOT CLOUDFLARE)

23 messages · Page 1 of 1 (latest)

glossy granite
#

i moved from namecheap to cloudflare, cloudflare fucked up everything with its proxies and ssl certs, i gave up and moved back to namecheap. I keep on getting network errors when trying to connect to my panel, it works fine on phone and i can access all the servers when i search for them. The only issue is it wont list them. Browser console says there's too many redirects.

cunning cargoBOT
#

@glossy granite; Your website appears to be stuck in a redirect loop from HTTP to HTTPS. Usually, this happens when using Cloudflare and having SSL settings on flexible. In that case, change the Cloudflare SSL settings to full.

glossy granite
#

lmao

#

thats funny

#

i am no longer using cloudflare

#

just wanna point that out mr support bot

#

also ive cleared cookies and restarted my pc in case it was something my browser was saving

#

i have 2 panels and the other one works just fine

#

how to fix too many redirects (NOT CLOUDFLARE)

cunning cargoBOT
#

@glossy granite; Your website appears to be stuck in a redirect loop from HTTP to HTTPS. Usually, this happens when using Cloudflare and having SSL settings on flexible. In that case, change the Cloudflare SSL settings to full.

glossy granite
stray stirrup
#

99.99% of redirect loops are caused by CloudFlare, hence the bot response saying so.
It's not AI. It works off predefined keywords and responses

To debug network error, grab panel logs

cunning cargoBOT
#

@stray stirrup; You'll need to grab the error logs from the Panel. The following command uploads the last 150 lines of this day's log to our pastebin and provides a link you can share.
tail -n 150 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log | nc pteropaste.com 99

glossy granite
cunning cargoBOT
#

I have found the following for: https://ptero.co/onagumuref
🇫🇷 🥖 Bienvenue sur Internet, @glossy granite 🥖 🇫🇷

Your database is refusing the Panel's attempts to connect to it. This can be for a number of different reasons so I'll let a human double check, but here are some ideas.

  1. Is your MySQL instance running? systemctl status mysql(hopefully not down the road)
  2. Is the user you're trying to connect with authorized to access the given database from this IP address?
  3. Did you correctly give that user permission to even access that database?
  4. Do you have a Firewall that is blocking connections?
  5. Is your MySQL instance bound to 127.0.0.1 or localhost and you're trying to connect from outside the server?
  6. Does the user have GRANT permissions if you're trying to use them to create a new database for a server?
  7. Have special characters in your password? Make sure DB_PASSWORD in your .env file is enclosed in double quotes

Here is some additional documentation to help you out: https://pterodactyl.io/tutorials/mysql_setup.html

glossy granite
#

that doesnt make sense, if it works on my phone the database should be working

#

the database is working

#

wa

#

what

#

if i load it up in another browser (edge) it works perfectly

glossy granite
#

pls help