question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error: error: password authentication failed for user "electron_release_server_user"

See original GitHub issue

I was trying to throw the release server up on an Azure Ubuntu 14.04 VM.

I followed all of the steps that I followed in order to get this working on OS X locally but I’m running in to this issue:

error: error: password authentication failed for user "electron_release_server_user"

I know for a fact that my credentials are correct because

psql -U electron_release_server_user -h localhost electron_release_server

seems to work fine when it prompts me to put the password in.

My local.js includes:

connections: {
    postgresql: {
      adapter: 'sails-postgresql',
      host: 'localhost',
      user: 'electron_release_server_user',
      password: '',
      database: 'electron_release_server'
    }
  },

  session: {
    secret: '1939DFCED4B55FB4179081E8EBBC22134CCC5E08D3A5CC3A549783BF9DB1D2A2',
    database: 'electron_release_server_sessions',
    host: 'localhost',
    user: 'electron_release_server_user',
    password: '',
    port: 5432
  },

Please help as soon as you can. I’m in a bit of a rush to get this out the door.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ShahNewazKhancommented, Dec 11, 2016

I ran into the same issue and was able to resolve it as per this StackOverflow answer

0reactions
itsmebhavincommented, Jun 16, 2016

I was having same issue and 5.11.1 fixed it. I would still like to see progress for node v6

Read more comments on GitHub >

github_iconTop Results From Across the Web

node.js - error: error: password authentication failed for user ...
So it turned out to be my version of Node. Node.js 6.0 just didn't seem to work. Once I downgraded to LTS, poof,...
Read more >
Node.js – error: error: password authentication failed for user ...
I was messing around with this amazing Sails project here. I managed to get it 100% functional on my Macbook Pro with little...
Read more >
ArekSredzki/electron-release-server - Gitter
error : Sending 500 ("Server Error") response: Error: Authentication options incomplete. at Object. ... error: error: password authentication failed for user ...
Read more >
psql: error: connection to server at "localhost" (127.0.0.1), port ...
Error in Postgresql: connection to server at "localhost" (127.0.0.1), port 5432 failed: FATAL: password authentication failed for user "TheGecko".
Read more >
CRUD REST API with Node.js, Express, and PostgreSQL
js ORM for for Postgres, MySQL, MariaDB, SQLite, and Microsoft SQL Server. For more on how to use Sequelize in a Node.js REST...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found