Chef Server GUI Error


After I log into my chef server GUI ,I’m getting this error: ‘We’re sorry,
but something went wrong.’

Below is output of ‘chef-server-ctl status’:

run: bookshelf: (pid 1206) 2218s; run: log: (pid 1202) 2219s
run: chef-expander: (pid 1205) 2218s; run: log: (pid 1201) 2219s
run: chef-server-webui: (pid 1255) 2215s; run: log: (pid 1197) 2219s
run: chef-solr: (pid 1249) 2217s; run: log: (pid 1199) 2219s
run: erchef: (pid 31347) 2s; run: log: (pid 1196) 2219s
run: nginx: (pid 1244) 2218s; run: log: (pid 1189) 2219s
run: postgresql: (pid 1266) 2215s; run: log: (pid 1200) 2219s
run: rabbitmq: (pid 1265) 2215s; run: log: (pid 1198) 2219s

and here is what I found on ‘chef-server-ctl test’ :

Creating client pedant_admin_client…
Encountered an error attempting to create client pedant_admin_client
Response Code was: 502
Response Body was:

502 Bad Gateway

502 Bad Gateway


Any idea or any help would be great.