[ASTPPCOM-403] 502 bad gateway with ASTPP Created: 16/Apr/18 Updated: 01/Apr/21 Resolved: 01/Apr/21 |
|
| Status: | Done |
| Project: | ASTPP Community |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | ||
| Reporter: | waichiu8520 | Assignee: | Samir Doshi |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
I am using nginx with 1.12.2 to access ASTPP, but the web browser shows 502 bad gateway. After invetigation, it may relate to nginx buffer config problem. /etc/nginx/conf.d/cent_astpp.conf server { root /var/www/html/astpp;
server_name _; location / { try_files $uri $uri/ /index.php; }
|
| Comments |
| Comment by (Community) DN (Inactive) [ 16/Apr/18 ] |
|
Check php-fpm service status |
| Comment by waichiu8520 [ 16/Apr/18 ] |
|
The php-fpm sevice is running. [root@localhost log]# service php-fpm status Apr 15 23:45:36 localhost.localdomain systemd[1]: Starting The PHP FastCGI Process Manager... Btw, After I check nginx error log. This shows 2018/04/15 23:46:24 [error] 16536#0: *1 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.1.137, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "10.10.168.103:8089" |
| Comment by (Community) DN (Inactive) [ 16/Apr/18 ] |
|
Install net-tools and check the response of below command, |