502/522 bad gateway - Laragon
#1
[error] connect() failed (10061: No connection could be made because the target machine actively refused it) while connecting to upstream  (Laragon)

https://forum.laragon.org/topic/2459/502-522-bad-gateway-laragon


[error] connect() failed (10061: No connection could be made because the target machine actively refused it) while connecting to upstream, client: 999.888.777.666, server: domain.com, request: "GET  HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "domain.com", referrer: "https://domain.com/"


What is causing this error? It's driving me insane.
==================
Everything happens for a reason.
You shall reap what you sow.
KARMA 
Reply

#2
I think I was able to solve this problem. I switched over from mysql to mariadb and so far no more issues.
==================
Everything happens for a reason.
You shall reap what you sow.
KARMA 
Reply

#3
Nope it didn't work so anyone have a solution ?
==================
Everything happens for a reason.
You shall reap what you sow.
KARMA 
Reply

#4
Ok I really wanted nginx to work but unfortunately I just don't have the time anymore or patience to continue with this as it's already been past 48hrs and still no luck.

In the end I have decided to use apache instead and cross our fingers .... good news so far it hasn't crashed yet and we are at the 12hrs + mark.

I will keep you all posted

Again if anyone out there has a solution or fix in regards to why nginx + mysql is crashing every hour or or so let us know please.
==================
Everything happens for a reason.
You shall reap what you sow.
KARMA 
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  enable module deflate server goes down - Laragon Mark 1 97 2021-Jun-15-7:28 pm
Last Post: Mark
  Forum laragon - Laragon: Home Mark 1 264 2021-May-14-4:47 pm
Last Post: Mark



Users browsing this thread: 1 Guest(s)