Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 when Retrieving pipeline names #73

Open
pho3nixx opened this issue Sep 7, 2021 · 2 comments
Open

404 when Retrieving pipeline names #73

pho3nixx opened this issue Sep 7, 2021 · 2 comments

Comments

@pho3nixx
Copy link

pho3nixx commented Sep 7, 2021

Hi there,

some months ago, we used to have a older version of GoCD server running with the then-current version of gocd-monitor and could monitor our pipelines with it. In the meantime, the GoCD server has been updated several times (now 21.2.0 (12498-16e1ac6956cd5177a99dc3fe33503661881c354f)) and things stopped working. The log repeats every second:

[2021-09-07T09:57:26.416Z] INFO Retrieving pipeline names
[2021-09-07T09:57:26.788Z] ERROR Failed to retrieve pipeline names
[2021-09-07T09:57:26.789Z] ERROR Failed to retrieve pipeline names, retrying
[2021-09-07T09:57:26.789Z] ERROR StatusCodeError: 404 - ""

Updating to the latest gocd-monitor didn't help. Any ideas what might be causing this? We were thinking of permission problems, but that doesn't seem to be the problem...

Thanks!

@Antonos
Copy link
Contributor

Antonos commented Sep 7, 2021

check this out
#72

@pho3nixx
Copy link
Author

pho3nixx commented Sep 7, 2021

Turns out: /go/api/pipelines.xml serves an empty response with HTTP status 404 🙈
Yes, the API changed with version 20.x, thanks for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants