Git Product home page Git Product logo

Comments (5)

mraible avatar mraible commented on May 27, 2024

Hello @padmanabann! Thanks for the bug report. I was able to reproduce this issue and it seems to happen when you try to register with a username that already exists. Here's what I saw in the logs when I tried to register with "foobar".

2017-10-31T20:56:37.376496+00:00 heroku[router]: at=info method=POST path="/api/register" host=www.21-points.com request_id=804da9d5-df8b-4a20-be11-7c2db0d30a85 fwd="174.29.206.79" dyno=web.1 connect=0ms service=180ms status=500 bytes=549 protocol=https
2017-10-31T20:56:37.370169+00:00 app[web.1]: 2017-10-31 20:56:37.369  WARN 4 --- [ XNIO-2 task-29] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 23505
2017-10-31T20:56:37.370491+00:00 app[web.1]: 2017-10-31 20:56:37.370 ERROR 4 --- [ XNIO-2 task-29] o.h.engine.jdbc.spi.SqlExceptionHelper   : ERROR: duplicate key value violates unique constraint "pk_jhi_user"
2017-10-31T20:56:37.370494+00:00 app[web.1]:   Detail: Key (id)=(41933) already exists.

When I changed to "foobar123", it worked. Can you see if this happens on a fresh JHipster project? You could copy the .yo-rc.json from this project and generate it with the same settings. Then try to register with username admin or user. If it throws a 500 without telling you that the username exists, that's a bug IMO.

from 21-points.

padmanabann avatar padmanabann commented on May 27, 2024

Hi Matt

I generated a new project by downloading the code from the repository and tried to create a new 'admin' user and it showed the error message - "Login name already registered! Please choose another one." So it works as expected.

However, the application deployed in the cloud (https://www.21-points.com) still gives the error message - "Registration failed! Please try again later.". I even tried with different username or email id but no luck.

from 21-points.

mraible avatar mraible commented on May 27, 2024

OK. Thanks for taking the time to investigate! I don't have time to fix this issue this week, but hope to find time next week.

from 21-points.

levrun avatar levrun commented on May 27, 2024

The same issue in the cloud in 2018 :)

from 21-points.

mraible avatar mraible commented on May 27, 2024

@padmanabann and @levrun Can you please try again? I believe it's fixed now.

from 21-points.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.