I am testing Postman for API calls and one of the errors I am getting is 502 - Oops Server Error, which is related to the Apache portion. Question is, which log contains this? I’ve checked all the logs in ~/data/logs/ and can’t find that response.
Best answer by AnishWalia20View original
@a-a-ron . So what version of API are you using and from where PE cluster or PC cluster because:
Below REST APIs related logs which might help you narrow down the issue related to API calls and HTTP issues on PC-VM/CVM:
Also, specifically, if you are looking for Apache/Httpd service logs you can find them inside this location on CVMs/PC-VMs “/etc/httpd/logs”.
And to access these logs you will need to switch to the root user on the CVM/PC-VM like below as you cannot access these logs without being root user:
Inside this directory /etc/httpd/logs you will find such files:
Here you can check files ssl_access.log,ssl_request.log and ssl_error.log log files for debugging more on the issue.
Hope I was able to clear your doubt. Cheers. :-D
Exactly what I was looking for! “/etc/httpd/logs”.
Thanks a bunch!
That sounds amazing
@a-a-ron . Glad you found what you were looking for.