etcinit / phabulous

A Phabricator bot for Slack
MIT License
218 stars 47 forks source link

ERR-INVALID-USER with api token auth #13

Closed rsfez closed 8 years ago

rsfez commented 8 years ago

Hi!

I'm facing a ERR-INVALID-USER: The username you are attempting to authenticate with is not valid. error soon after the server is launched.

What could be the problem as my conduit conf in the main.yml file looks like this:

conduit:
  api: 'https://my-phabricator.com'

  # For token-based auth, use the following key:
  token: 'api-mytoken'

  # For certificate-based auth, use the following keys:
  #user: bruh
  #cert: 'test'

Cheers,

Gussi commented 8 years ago

Same thing happens here, it feels like I've configured everything correctly according to the getting started guide, but yet this happens.

benoittgt commented 8 years ago

I'm having the same issue. Any ideas ?

etcinit commented 8 years ago

Hi, thanks for the bug report. These kind of issues might arise if the Phabricator install hasn't been updated in a while. I try to make sure Phabulous works against the latest version of Phabricator (HEAD), given that the main install I use is generally up-to-date.

However, it might still be a bug in https://github.com/etcinit/gonduit.

Could you post your versions? You can find them at: https://phabricator.some-company.wow/config/module/versions/

rsfez commented 8 years ago

Hi, thanks for your answer.

I can't remember the Phabricator version I had the moment I opened the issue. But I'm pretty sure it was HEAD (we try to do weekly updates).

I didn't retry since then, but I'll keep you posted when I do, making sure I use latest versions for both Phabulous and Phabricator.

Gussi commented 8 years ago

Problem solved for me.

I should've mentioned that I'm building pabulous myself, as there are no FreeeBSD builds for download. So it all came down to me not understanding how go works, gonduit and probably some other dependencies were out-of-date while phabulous itself was up-to-date, and it built just fine.

So I rebuilt phabulous after updating gonduit and other dependencies, now it works just fine.

Thanks for everything though.

benoittgt commented 8 years ago

No more problem for me. Works perfectly. Restart from scratch and it's ok now.

rsfez commented 8 years ago

Can confirm.

Cheers!