New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

User Module has error in login process

Started by ellanos, February 20, 2018, 04:15:57 AM

Previous topic - Next topic

ellanos


Hello.

I upgraded to version 0.9.8.320 recently.  At first, the User module (being served from 2082 port) was working well.  Suddenly, some days ago, the user module show this kind of error (in the URL after to do the login process):

ip-adress:2082/login/<html><head><title>502 Bad Gateway</title></head><body bgcolor="white"><center><h1>502 Bad Gateway</h1></center><hr><center>cwpsrv</center></body></html>

And, the message after loggin is error 404 - nginx.

The nginx logs just show this message:

2018/02/19 23:07:50 [notice] 3507#0: *1074 "^/v1/([^/]+)/?$" matches "/v1/valid_user/", client: 127.0.0.1, server: localhost, request: "POST /v1/valid_user/ HTTP/1.1", host: "127.0.0.1:2302"
2018/02/19 23:07:50 [notice] 3507#0: *1074 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/valid_user/ HTTP/1.1", host: "127.0.0.1:2302"
2018/02/19 23:07:51 [info] 3507#0: *1074 client 127.0.0.1 closed keepalive connection
2018/02/19 23:07:51 [crit] 3507#0: *1061 connect() to unix:/usr/local/cwp/php71/var/sockets/user-account.sock failed (2: No such file or directory) while connecting to upstream, client: 200.84.185.228, server: localhost, request: "POST /user-account/index.php?acc=validate HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/user-account.sock:", host: "ip-address:2082", referrer: "http://ip-address:2082/login/index.php"
2018/02/19 23:07:51 [error] 3507#0: *1061 open() "/usr/local/cwpsrv/var/services/users/login/<html><head><title>502 Bad Gateway</title></head><body bgcolor="white"><center><h1>502 Bad Gateway</h1></center><hr><center>cwpsrv</center></body></html>" failed (2: No such file or directory), client: 200.84.185.228, server: localhost, request: "GET /login/%3Chtml%3E%3Chead%3E%3Ctitle%3E502%20Bad%20Gateway%3C/title%3E%3C/head%3E%3Cbody%20bgcolor=%22white%22%3E%3Ccenter%3E%3Ch1%3E502%20Bad%20Gateway%3C/h1%3E%3C/center%3E%3Chr%3E%3Ccenter%3Ecwpsrv%3C/center%3E%3C/body%3E%3C/html%3E HTTP/1.1", host: "ip-adress:2082", referrer: "http://ip-adress:2082/login/index.php"

What about this?  What happen with it?