Comments (5)
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.
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.
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.
The same issue in the cloud in 2018 :)
from 21-points.
@padmanabann and @levrun Can you please try again? I believe it's fixed now.
from 21-points.
Related Issues (20)
- Add about page HOT 1
- Add history feature HOT 1
- Update README with intro from v5
- PWA icons are default JHipster icons
- Weight chart timeline is backward
- translation-not-found HOT 8
- Fix Icon / header HOT 1
- You are not authorized error HOT 2
- Add PWA Support
- Add ability to add points from calendar
- Improvement performance in v5: TTI is 5.4s, should be 3s HOT 5
- Search function exposes data leakage and a security issue HOT 8
- duplicate key value violates unique constraint "pk_jhi_persistent_audit_event" HOT 1
- Timestamps on weight and blood pressure screens are in UTC
- Failed to sign in HOT 12
- Add ability to set goals for a specific duration
- Password reset is not working.
- The `api/users` endpoint is allowed for authenticated users
- questions about front end HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 21-points.