Issue metadata
Sign in to add a comment
|
milo.Buildbot requests return with 500 Internal Server Error |
||||||||||||||||||||||
Issue descriptionRequests to the milo.Buildbot service from my scripts are returning with "HTTP Error 500: Internal Server Error". As an example I'm trying to hit: https://luci-milo.appspot.com/prpc/milo.Buildbot/GetBuildbotBuildJSON with the following request: { "build_num": 1921, "builder": "Win 10 Perf", "master": "chromium.perf" } When trying to read the contents of the response I get: Internal Server Error. See logs. I've also tried my request on: https://luci-milo.appspot.com/rpcexplorer/services/milo.Buildbot/GetBuildbotBuildJSON?request={%20%20%20%20%22build_num%22:%201921,%20%20%20%20%22builder%22:%20%22Win%2010%20Perf%22,%20%20%20%20%22master%22:%20%22chromium.perf%22} The UI responds with: "Error: Invalid response: no X-Prpc-Grpc-Code response header"
,
Jan 15 2018
Milo's Buildbot API is deprecated --- there was a [Google-internal] announcement in Sept entitled "[Action Required] Buildbot API usage for Chromium", also see https://luci-milo.appspot.com/rpcexplorer/services/. cc'ing Nodir for how best to revisit discussion.
,
Jan 15 2018
So I should switch to milo.BuildInfo? On which mailing list was that announcement shared? I can't seem to find that on my inbox, so I should probably subscribe to some new group ...?
,
Jan 16 2018
,
Jan 16 2018
APIs should not be responding with HTTP 500. It is a bug. Please do not switch to BuildInfo.
,
Jan 16 2018
my response was rushed. Although API is deprecated, it must continue to work because lots of clients depend on it and currently we don't have a good alternative. Please continue using it and please don't grow a dependency on BuildInfo API. The API works now: https://luci-milo.appspot.com/rpcexplorer/services/milo.Buildbot/GetBuildbotBuildJSON?request={%20%20%20%20%22build_num%22:%201921,%20%20%20%20%22builder%22:%20%22Win%2010%20Perf%22,%20%20%20%20%22master%22:%20%22chromium.perf%22}
,
Jan 16 2018
Thanks! Just to clarify, that means I should continue using GetBuildbotBuildJSON until a better alternative becomes available?
,
Jan 16 2018
yes |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by perezju@chromium.org
, Jan 15 2018