Tenant Signup not working after upgrade.

5 views
Skip to first unread message

Francois Campbell

unread,
May 31, 2017, 7:03:39 AM5/31/17
to o...@apereo.org
Good day.

Perhaps you can give some input.
After upgrading from 11.3 to 12.6.0 we are now unable to signup new users on the tenants.
We are still able to create new users from the global administration site.

When checking if an account exists we receive a 404 and when attempting to create the site we receive a 504. Listed errors below.

On nginx we are using the nginx.conf from the 3akai-ux project with the relevant placeholders replaced, but still no joy.

Any suggestions would be appreciated.


Requests and responses:
Check if account exists:
GET /api/auth/exists/USERNAME_HERE HTTP/1.1
Host: *DOMAIN_HERE*
Connection: keep-alive
Accept: */*
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36
DNT: 1
Referer: http://*DOMAIN_HERE*/signup?url=%2F
Accept-Encoding: gzip, deflate, sdch
Accept-Language: en-GB,en-US;q=0.8,en;q=0.6
Cookie: session=*Cookie_data*

HTTP/1.1 404 Not Found
Server: nginx/1.8.0
Date: Wed, 31 May 2017 10:46:39 GMT
Content-Type: text/plain; charset=utf-8
Content-Length: 9
Connection: keep-alive
X-Powered-By: Express
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
ETag: "-1317761971"

Attempt to create the Account
POST /api/user/create HTTP/1.1
Host: *DOMAIN_HERE*
Connection: keep-alive
Content-Length: 376
Accept: */*
Origin: http://*DOMAIN_HERE*
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
DNT: 1
Referer: http://*DOMAIN_HERE*/signup?url=%2F
Accept-Encoding: gzip, deflate
Accept-Language: en-GB,en-US;q=0.8,en;q=0.6
Cookie: session= *cookie_data*

HTTP/1.1 504 Gateway Time-out
Server: nginx/1.8.0
Date: Wed, 31 May 2017 10:47:02 GMT
Content-Type: text/html
Content-Length: 584
Connection: keep-alive

----
Regards
Francois Campbell



See OpenCollab email disclaimer at http://www.opencollab.co.za/email-disclaimer

Francois Campbell

unread,
Jun 12, 2017, 4:55:03 AM6/12/17
to Open Academic Environment (OAE)

Problem was as a result of the the nginx proxy configuration time out being to short.
By default it was set to:
proxy_connect_timeout 5;
proxy_read_timeout 5;


We increased it to:
proxy_connect_timeout 20;
proxy_read_timeout 20;


Sign up worked after this, no obvious issues being experienced as a result of this change to date.

Reply all
Reply to author
Forward
0 new messages