updating a bug via REST throws "You must log in before using this part of Bugzilla"

NEW
Assigned to

Status

()

--
critical
4 years ago
3 years ago

People

(Reporter: cbook, Assigned: dkl)

Tracking

Production

Details

(Reporter)

Description

4 years ago
Seems something broke mcmerge and so neither checkin-needed bugs or merges are marked in bugzilla.

i noticed that there is stuff transmitted like:


GET https://bugzilla.mozilla.org/bzapi/bug/1074961 [HTTP/1.1 200 OK 643ms]
OPTIONS https://bugzilla.mozilla.org/bzapi/bug/1074961 [HTTP/1.1 200 OK 228ms]
PUT https://bugzilla.mozilla.org/bzapi/bug/1074961 [HTTP/1.1 200 OK 345ms]

Request URL: 	https://bugzilla.mozilla.org/bzapi/bug/1074961?username=cbook%40mozilla.com&password={removed this :}

Request Body:
{"comments":[{"creation_time":"2014-11-04T11:56:03.450Z","creator":{"email":"cbook@mozilla.com"},"is_private":0,"text":"https://hg.mozilla.org/mozilla-central/rev/a57b5d713883"}],"id":"1074961","whiteboard":"","last_change_time":"2014-11-04T09:35:50Z","update_token":"1415102178-fe150f563a487106b2f4bfe176cdf924"}


Received Cookie
Bugzilla_login_request_cookie:	(removed)
Response Body 
{"documentation":"https://wiki.mozilla.org/Bugzilla:BzAPI","error":true,"code":410,"message":"You must log in before using this part of Bugzilla."}
(Reporter)

Comment 1

4 years ago
glob: i noticed that there was a bmo push day, could this have changed something ?
Flags: needinfo?(glob)

Updated

4 years ago
Component: TBPL → mcMerge
Depends on: 1090427
OS: Mac OS X → All
Hardware: x86 → All
Component: mcMerge → API
Flags: needinfo?(glob)
Product: Tree Management → bugzilla.mozilla.org
Summary: Mcmerge failing silently at any operation → updating a bug via REST throws "You must log in before using this part of Bugzilla"
Version: --- → Production
hrm, i'm unable to reproduce this locally PUTting the same body (with an updated token and last_change_time).

dkl - are you able to investigate this?
Assignee: nobody → dkl
You need to log in before you can comment on or make changes to this bug.