Bug in user login via Email - 'undefined'

Issue #253 resolved
udemi repo owner created an issue

Some of my friends are having trouble signing up via Email. They report:

  • On first trial, it does not work and says 'undefined', no email comes
  • On second trial it works

This is a serious issue as it means loss of potential users early on, we need to find out what happened

Comments (9)

  1. Enrico Piccini

    I was able to reproduce it but I don't know how. The error message is "undefined". I think this could be a backend problem.

    More data here: POST https://api-dev.udemi.org/v1/users/

    email:"test7@udm-rome.org" password:"test7roma" username:"test7"

    ERROR: 504 GATEWAY_TIMEOUT

    I get this on DEV but I suppose is the same sa PROD @andrefsp Can you check it?

  2. Enrico Piccini

    I get this error many times It seems that after I get that 1 time, then I get that all other times (also if I refresh the page).

  3. Enrico Piccini

    Hi @andrefsp , have you setted a subscription limit per hour or something like that? Cause on DEV if I try to register a lot of users in a small period of time, the I get the HTTP 504. Ah, the user was registered correctly.

  4. André Palma

    What you are basically doing there its to hog the server sockets and the load balancer eventually stops routing the requests. If you create a lot of users in a small period of time you will eventually exhaust the available sockets. This is normal.

    In an ideal scenario there will be an auto-scaling group kicking in and creating more machines to deal with the incoming traffic.

    I'm afraid there is nothing to be fixed here.

  5. Enrico Piccini

    @andrefsp : ah ok, I understand.... I got that problem cause right now we've a limited environment (it doesn't scale cause it costs too much). If so, you can close this issue

  6. Log in to comment