Skip to content
This repository has been archived by the owner on Feb 28, 2025. It is now read-only.

short uuid causes incorrect URL encoding when forwarded through cortex-ruler #1887

Open
alexandreLamarre opened this issue Dec 8, 2023 · 0 comments · May be fixed by #1831
Open

short uuid causes incorrect URL encoding when forwarded through cortex-ruler #1887

alexandreLamarre opened this issue Dec 8, 2023 · 0 comments · May be fixed by #1831

Comments

@alexandreLamarre
Copy link
Contributor

Incorrect handling of url encoding somewhere along the alerting-cortex pipeline will result in failing to create or update prometheus rules.

2023 Dec 08 19:22:03 ERROR plugin.metrics.cortex-admin cortex/admin.go:805 failed with %v request=https://cortex-ruler:8080/prometheus/api/v1/rules !BADKEY="Get \"https://cortex-ruler:8080/prometheus/api/v1/rules\": context canceled"
2023 Dec 08 19:22:03 ERROR plugin.metrics.cortex-admin cortex/admin.go:397 error "cluster id"="[0810b8e6-f742-41ed-8c15-9976a84eea35 1d5c6293-abee-43c8-bea1-674931edad9b 1e51cc82-7235-4bd5-8bdf-7c3353a24715 2cc14b70-cdca-4e4e-aaf8-26d948932eda 34aedef9-8716-4220-bf4e-7ebb98140454 45b7ff79-7b6a-4a7b-8175-756ed13b8ed4 4fa7886e-8f32-4214-8821-bcf124aa3ae9 54d1fc00-04ba-4652-b658-1ad2dc5667c2 574179a5-6801-4244-94e3-ba67b9c99618 66c761bd-b45c-41ab-a432-8aa2ce8d59e8 718a0c48-0975-489e-a555-24e2028affb5 7f90ff4b-7e33-41c8-b6d5-6084a25fd057 9905d4bd-e856-4e3a-901c-1ca46e9e6685 9d32017b-ec23-4ede-bef6-c727e1fee351 a1a11483-d648-42b4-8203-89dfeee743d9 ac58152c-c8b2-4327-ae9a-12237536b5e2 ba86ca6b-c55d-4367-92f4-08085ffe2b99 bad503ac-02f8-4206-8d75-f6f5102834e7 d7480dc8-2f7b-4059-ba1a-63c2b58b4c67 f02f3960-753e-4d86-8d64-26ef677d53d9 f3a7e419-b724-422c-a645-48c9bdf1b691 f599f5e1-77f9-4947-a72d-30a78285ee16]" err="Get \"https://cortex-ruler:8080/prometheus/api/v1/rules\": context canceled"
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant