Unable to Log in on Ubuntu
Closed this issue · 2 comments
SirNexus commented
Failing to log in when running Ubuntu 16.04 with OSS. Getting this error:
127.0.0.1 - - [05/Jan/2018:00:40:13 +0000] "GET /user-manager/v1/users/email/aidan.kodi@gmail.com HTTP/1.1" 502 173 "-" "GuzzleHttp/6.2.0 curl/7.38.0 PHP/7.0.5"
pages | 2018/01/05 00:40:13 [error] 13#13: *47 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /user-manager/v1/users/email/aidan.kodi@gmail.com HTTP/1.1", upstream: "https://172.18.0.10:443/v1/users/email/aidan.kodi@gmail.com", host: "localhost"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP Notice: Trying to get property of non-object in /ingenious-pages/src/AppBundle/Services/UserManager.php on line 188"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP Stack trace:"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 1. {main}() /ingenious-pages/web/app.php:0"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 2. AppKernel->handle() /ingenious-pages/web/app.php:28"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 3. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle() /ingenious-pages/app/bootstrap.php.cache:2458"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 4. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle() /ingenious-pages/app/bootstrap.php.cache:3241"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 5. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handleRaw() /ingenious-pages/app/bootstrap.php.cache:3090"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 6. call_user_func_array:{/ingenious-pages/app/bootstrap.php.cache:3128}() /ingenious-pages/app/bootstrap.php.cache:3128"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 7. AppBundle\Controller\IngeniousHomeController->loginPostAction() /ingenious-pages/app/bootstrap.php.cache:3128"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 8. AppBundle\Services\UserManager->getUserByEmail() /ingenious-pages/src/AppBundle/Controller/IngeniousHomeController.php:248"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 9. AppBundle\Services\UserManager->setUserData() /ingenious-pages/src/AppBundle/Services/UserManager.php:145"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP Notice: Trying to get property of non-object in /ingenious-pages/src/AppBundle/Services/UserManager.php on line 194"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP Stack trace:"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 1. {main}() /ingenious-pages/web/app.php:0"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 2. AppKernel->handle() /ingenious-pages/web/app.php:28"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 3. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle() /ingenious-pages/app/bootstrap.php.cache:2458"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 4. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle() /ingenious-pages/app/bootstrap.php.cache:3241"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 5. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handleRaw() /ingenious-pages/app/bootstrap.php.cache:3090"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 6. call_user_func_array:{/ingenious-pages/app/bootstrap.php.cache:3128}() /ingenious-pages/app/bootstrap.php.cache:3128"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 7. AppBundle\Controller\IngeniousHomeController->loginPostAction() /ingenious-pages/app/bootstrap.php.cache:3128"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 8. AppBundle\Services\UserManager->getUserByEmail() /ingenious-pages/src/AppBundle/Controller/IngeniousHomeController.php:248"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 9. AppBundle\Services\UserManager->setUserData() /ingenious-pages/src/AppBundle/Services/UserManager.php:145"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP Notice: Trying to get property of non-object in /ingenious-pages/src/AppBundle/Services/UserManager.php on line 195"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP Stack trace:"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 1. {main}() /ingenious-pages/web/app.php:0"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 2. AppKernel->handle() /ingenious-pages/web/app.php:28"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 3. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle() /ingenious-pages/app/bootstrap.php.cache:2458"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 4. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle() /ingenious-pages/app/bootstrap.php.cache:3241"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 5. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handleRaw() /ingenious-pages/app/bootstrap.php.cache:3090"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 6. call_user_func_array:{/ingenious-pages/app/bootstrap.php.cache:3128}() /ingenious-pages/app/bootstrap.php.cache:3128"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 7. AppBundle\Controller\IngeniousHomeController->loginPostAction() /ingenious-pages/app/bootstrap.php.cache:3128"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 8. AppBundle\Services\UserManager->getUserByEmail() /ingenious-pages/src/AppBundle/Controller/IngeniousHomeController.php:248"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 9. AppBundle\Services\UserManager->setUserData() /ingenious-pages/src/AppBundle/Services/UserManager.php:145"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP Notice: Trying to get property of non-object in /ingenious-pages/src/AppBundle/Services/UserManager.php on line 146"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP Stack trace:"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 1. {main}() /ingenious-pages/web/app.php:0"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 2. AppKernel->handle() /ingenious-pages/web/app.php:28"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 3. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle() /ingenious-pages/app/bootstrap.php.cache:2458"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 4. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle() /ingenious-pages/app/bootstrap.php.cache:3241"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 5. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handleRaw() /ingenious-pages/app/bootstrap.php.cache:3090"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 6. call_user_func_array:{/ingenious-pages/app/bootstrap.php.cache:3128}() /ingenious-pages/app/bootstrap.php.cache:3128"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 7. AppBundle\Controller\IngeniousHomeController->loginPostAction() /ingenious-pages/app/bootstrap.php.cache:3128"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 8. AppBundle\Services\UserManager->getUserByEmail() /ingenious-pages/src/AppBundle/Controller/IngeniousHomeController.php:248"
pages | 127.0.0.1 - - [05/Jan/2018:00:40:13 +0000] "POST /user-manager/v1/users/email/auth HTTP/1.1" 502 173 "-" "GuzzleHttp/6.2.0 curl/7.38.0 PHP/7.0.5"
pages | 2018/01/05 00:40:13 [error] 13#13: *47 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "POST /user-manager/v1/users/email/auth HTTP/1.1", upstream: "https://172.18.0.10:443/v1/users/email/auth", host: "localhost"
pages | 2018/01/05 00:40:13 [error] 10#10: *29 FastCGI sent in stderr: "PHP message: PHP Notice: Trying to get property of non-object in /ingenious-pages/src/AppBundle/Services/UserManager.php on line 188
pages | PHP message: PHP Stack trace:
pages | PHP message: PHP 1. {main}() /ingenious-pages/web/app.php:0
pages | PHP message: PHP 2. AppKernel->handle() /ingenious-pages/web/app.php:28
pages | PHP message: PHP 3. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle() /ingenious-pages/app/bootstrap.php.cache:2458
pages | PHP message: PHP 4. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle() /ingenious-pages/app/bootstrap.php.cache:3241
pages | PHP message: PHP 5. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handleRaw() /ingenious-pages/app/bootstrap.php.cache:3090
pages | PHP message: PHP 6. call_user_func_array:{/ingenious-pages/app/bootstrap.php.cache:3128}() /ingenious-pages/app/bootstrap.php.cache:3128
pages | PHP message: PHP 7. AppBundle\Controller\IngeniousHomeController->loginPostAction() /ingenious-pages/app/bootstrap.php.cache:3128
pages | PHP message: PHP 8. AppBundle\Services\UserManager->getUserByEmail() /ingenious-pages/src/AppBundle/Controller/IngeniousHomeController.php:248
pages | PHP message: PHP 9. AppBundle\Services\UserManager->setUserData() /ingenious-pages/src/AppBundle/Services/UserManager.php:145
pages | PHP message: PHP Notice: Trying to get property of non-object in /ingenious-pages/src/AppBundle/Services/UserManager.php on line 194
pages | PHP message: PHP Stack trace:
pages | PHP message: PHP 1. {main}() /ingenious-pages/web/app.php:0
pages | PHP message: PHP 2. AppKernel->handle() /ingenious-pages/web/app.php:28
pages | PHP message: PHP 3. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle() /ingenious-pages/app/bootstrap.php.cache:2458
pages | PHP message: PHP 4. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle() /ingenious-pages/app/bootstrap.php.cache:3241
pages | PHP message: PHP 5. Symfony\Component\HttpKernel\DependencyInjection\Conta
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP Notice: Trying to get property of non-object in /ingenious-pages/src/AppBundle/Services/UserManager.php on line 179"
pages | 2018/01/05 00:40:13 [error] 10#10: *29 FastCGI sent in stderr: "P 1. {main}() /ingenious-pages/web/app.php:0
pages | PHP message: PHP 2. AppKernel->handle() /ingenious-pages/web/app.php:28
pages | PHP message: PHP 3. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle() /ingenious-pages/app/bootstrap.php.cache:2458
pages | PHP message: PHP 4. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle() /ingenious-pages/app/bootstrap.php.cache:3241
pages | PHP message: PHP 5. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handleRaw() /ingenious-pages/app/bootstrap.php.cache:3090
pages | PHP message: PHP 6. call_user_func_array:{/ingenious-pages/app/bootstrap.php.cache:3128}() /ingenious-pages/app/bootstrap.php.cache:3128
pages | PHP message: PHP 7. AppBundle\Controller\IngeniousHomeController->loginPostAction() /ingenious-pages/app/bootstrap.php.cache:3128
pages | PHP message: PHP 8. AppBundle\Services\UserManager->getUserByEmail() /ingenious-pages/src/AppBundle/Controller/IngeniousHomeController.php:248" while reading response header from upstream, client: 172.18.0.13, server: pages.oss, request: "POST /login HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "pages.marathon.mesos", referrer: "https://localhost/account"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP Stack trace:"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 1. {main}() /ingenious-pages/web/app.php:0"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 2. AppKernel->handle() /ingenious-pages/web/app.php:28"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 3. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle() /ingenious-pages/app/bootstrap.php.cache:2458"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 4. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle() /ingenious-pages/app/bootstrap.php.cache:3241"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 5. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handleRaw() /ingenious-pages/app/bootstrap.php.cache:3090"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 6. call_user_func_array:{/ingenious-pages/app/bootstrap.php.cache:3128}() /ingenious-pages/app/bootstrap.php.cache:3128"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 7. AppBundle\Controller\IngeniousHomeController->loginPostAction() /ingenious-pages/app/bootstrap.php.cache:3128"
pages | [05-Jan-2018 00:40:13] WARNING: [pool www] child 14 said into stderr: "NOTICE: PHP message: PHP 8. AppBundle\Services\UserManager->authUser() /ingenious-pages/src/AppBundle/Controller/IngeniousHomeController.php:264"
auth-proxy | 172.18.0.1 - - [05/Jan/2018:00:40:13 +0000] "POST /login HTTP/1.1" 200 4304 "https://localhost/account" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0"
pages | 2018/01/05 00:40:13 [error] 10#10: *29 FastCGI sent in stderr: "PHP message: PHP Notice: Trying to get property of non-object in /ingenious-pages/src/AppBundle/Services/UserManager.php on line 179
pages | PHP message: PHP Stack trace:
pages | PHP message: PHP 1. {main}() /ingenious-pages/web/app.php:0
pages | PHP message: PHP 2. AppKernel->handle() /ingenious-pages/web/app.php:28
pages | PHP message: PHP 3. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle() /ingenious-pages/app/bootstrap.php.cache:2458
pages | PHP message: PHP 4. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle() /ingenious-pages/app/bootstrap.php.cache:3241
pages | PHP message: PHP 5. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handleRaw() /ingenious-pages/app/bootstrap.php.cache:3090
pages | PHP message: PHP 6. call_user_func_array:{/ingenious-pages/app/bootstrap.php.cache:3128}() /ingenious-pages/app/bootstrap.php.cache:3128
pages | PHP message: PHP 7. AppBundle\Contro" while reading upstream, client: 172.18.0.13, server: pages.oss, request: "POST /login HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "pages.marathon.mesos", referrer: "https://localhost/account"
pages | 2018/01/05 00:40:13 [error] 10#10: *29 FastCGI sent in stderr: "ller\IngeniousHomeController->loginPostAction() /ingenious-pages/app/bootstrap.php.cache:3128
pages | PHP message: PHP 8. AppBundle\Services\UserManager->authUser() /ingenious-pages/src/AppBundle/Controller/IngeniousHomeController.php:264" while reading upstream, client: 172.18.0.13, server: pages.oss, request: "POST /login HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "pages.marathon.mesos", referrer: "https://localhost/account"
pages | 172.18.0.13 - - [05/Jan/2018:00:40:13 +0000] "POST /login HTTP/1.1" 200 23201 "https://localhost/account" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0"
pages | - - 05/Jan/2018:00:40:13 +0000 "POST /app.php" 200
pages | 2018/01/05 00:40:13 [info] 13#13: *47 client 127.0.0.1 closed keepalive connection
cpretzer commented
Did you have the latest revision from stable?
There are a few commits that I merged this morning which address the OSS functionality:
nginxinc/mra-user-manager@a914507
SirNexus commented
Updating with these commits fixed the issue.