Both prod (http : // suitecrm .vahan. co/) and stage instances of suiteCRM (https :// stg. suitecrm. vahan. co/) are throwing 502 bad gateway error . We have tried hard rebooting , but the issue still persist . Following network call is failing :
Request URL: https://suitecrm.vahan.co/
Request Method: GET
Status Code: 502 Bad Gateway
Remote Address: 65.2.34.18:443
Referrer Policy: strict-origin-when-cross-origin .
This has blocked all our operations .
Priority : High
Hi and welcome,
some questions to narrow down the problem:
- both systems were already working before?
- if so, what has been changed? e.g.:
- OS updates
- mysql/webserver updates
- changed component settings (e.g. vhosts, my.cnf etc.)
- altered/new Suite-code
- are other php-applications working, can you for example open an
info.php
-page (simply outputting phpinfo();
)?
- have you reviewed all the logs (suitecrm.log, webserver/PHP log)?
Last but not least: can you also provide us the version numbers of your PHP-, MySQL- and SuiteCRM-installations?
- both systems were already working before?
- Yes they were working fine through the day and suddenly in mid noon both started giving 502 Bad Gateway .
-
if so, what has been changed? e.g.:
- OS updates : Nothing updated
- mysql/webserver updates : Nothing updated
- changed component settings (e.g. vhosts, my.cnf etc.) : Not changed
- altered/new Suite-code : Had implemented a new call logic hook , but that has been working fine for past one month.
-
have you reviewed all the logs (suitecrm.log, webserver/PHP log)?
Yes have reviewed suitecrm.log (no logs mentioned for today’s date) .
No error in php log
Last fatal logs are in log files for date 26 July ( failure happened on 27th July)
Mon Jul 26 15:30:57 2021 [31626][1][FATAL] Job 4ade3041-ba6c-706e-e04d-60fe9fbb4910 (opp) failed in CRON run
Mon Jul 26 15:30:57 2021 [31626][1][FATAL] #0 /bitnami/suitecrm/include/SugarQueue/SugarCronJobs.php(172): SugarCronJobs->jobFailed(Object(SchedulersJob))
#1 [internal function]: SugarCronJobs->unexpectedExit()
#2 {main}
- Last but not least: can you also provide us the version numbers of your PHP-, MySQL- and SuiteCRM-installations?
suiteCRM - 7.11.15
MySQL - “windowsPath”: “%ProgramFiles%\MySQL\MySQL Server 8.0\bin\mysqld.exe”
PHP - 7.3.5
The issue has been resolved.
Hi,
nice to hear! Could you share with us what was wrong and how you fixed it? Others might be interested too
1 Like
hi @adisingh699, what was the solution ? i am facing that , my suitecrm is running on docker , where db is in separate container and code is in seprate container.
so everything is working good , but the issue is while clickong on home screen , facing an error and nothing appeared
strict-origin-when-cross-origin 502 gatway error
Thank in Advanced