prometheus / prometheus/alertmanager

Alertmanager UI is not opening using IPV6 literal

Open
#2,340 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

component/ui kind/bug
Dominant language
Go
Stars
8.6k
Forks
2.5k
Avg merge
2d 6h
Merged PRs (30d)
61

Description

What did you do?
Open the alertmanager UI using the ipv6 literal. http://[x❌x::x]:9093/. It works if we pass hostname instead of IPV6 literal.

What did you expect to see?
Alertmanager UI
What did you see instead? Under which circumstances?
Attached error is what is observed in the Google developer tool console.
Environment
Linux vm-xxx-fpm-cpro 3.10.0-957.12.2.el7.x86_64 #1 SMP Fri Apr 19 21:09:07 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

  • System information:

    insert output of uname -srm here
    Linux 3.10.0-957.12.2.el7.x86_64 x86_64

  • Alertmanager version:

    insert output of alertmanager --version here (repeat for each alertmanager
    version in your cluster, if relevant to the issue)
    0.20.0

  • Prometheus version:

    insert output of prometheus --version here (repeat for each prometheus
    version in your cluster, if relevant to the issue)

  • Alertmanager configuration file:

insert configuration here
  • Prometheus configuration file:
insert configuration here (if relevant to the issue)
  • Logs:
insert Prometheus and Alertmanager logs relevant to the issue here

Following is the google groups thread where this was discussed. https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/prometheus-users/e0NbZX6oDpo/ls76u_hnBgAJ

Suspecting this issue due to 3rd party component Elm/Url. https://github.com/elm/url/issues/12.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure by opening http://[x❌x::x]:9093/ in a browser and compare it with hostname access. Read the linked Elm/Url issue and the referenced Google Groups discussion for the reported console error and possible scope. Done means the Alertmanager UI opens when accessed through an IPv6 literal.

Written by the indexing model from the issue text.

Assessment

Tech stack
elm
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.