Last Comment Bug 1181886 - "You are not logged in (HTTP 401, API Error 103" when publishing review request from command line
: "You are not logged in (HTTP 401, API Error 103" when publishing review reque...
Status: RESOLVED DUPLICATE of bug 1184079
:
Product: MozReview
Classification: Other
Component: General (show other bugs)
: unspecified
: Unspecified Unspecified
P1 normal
: ---
Assigned To: Nobody; OK to take it and work on it
:
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-08 17:56 PDT by Michael Comella (:mcomella) [not active on fennec/Bugzilla: contact me via IRC]
Modified: 2016-02-21 20:31 PST (History)
4 users (show)
See Also:
QA Whiteboard:
Iteration: ---
Points: ---


Attachments
Full log (1.09 KB, text/plain)
2015-07-08 17:56 PDT, Michael Comella (:mcomella) [not active on fennec/Bugzilla: contact me via IRC]
no flags Details

Description User image Michael Comella (:mcomella) [not active on fennec/Bugzilla: contact me via IRC] 2015-07-08 17:56:18 PDT
Created attachment 8631360 [details]
Full log

I'm guessing it tries to pull the credentials from my Firefox profile but perhaps it's using the wrong one? I'm currently using FirefoxDevelopEdition.
Comment 1 User image Dan Minor [:dminor] 2015-07-09 05:35:33 PDT
I've seen this error as well. I specify the bugzilla userid and cookie in my .hgrc. I'm able to publish from reviewboard and modify bugs in bugzilla without logging in again, so I don't think it's expired credentials.
Comment 2 User image Gregory Szorc [:gps] (away until 2017-03-20) 2015-07-09 17:00:25 PDT
It might be picking up the wrong Firefox profile. By default, it looks at all profiles in most recently used order and finds the first one with Bugzilla cookies. To bypass cookie lookup, default your Bugzilla username and password in your hgrc file. See https://mozilla-version-control-tools.readthedocs.org/en/latest/mozreview/install.html#bugzilla-credentials.

These problems should all go away once we switch to Bugzilla API tokens, which don't expire like cookies do.
Comment 3 User image Mark Côté [:mcote] 2015-07-27 09:14:12 PDT
This is actually probably bug 1184079, the fix for which was deployed last week.

*** This bug has been marked as a duplicate of bug 1184079 ***

Note You need to log in before you can comment on or make changes to this bug.