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

https://pkgs.k8s.io/ does not support ipv6 #6820

Open
Martin-Luther opened this issue May 8, 2024 · 13 comments
Open

https://pkgs.k8s.io/ does not support ipv6 #6820

Martin-Luther opened this issue May 8, 2024 · 13 comments
Labels
kind/support Categorizes issue or PR as a support question. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. sig/release Categorizes an issue or PR as relevant to SIG Release.

Comments

@Martin-Luther
Copy link

The following command generates curl: (22) The requested URL returned error: 403

curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.30/deb/Release.key
@k8s-ci-robot
Copy link
Contributor

This issue is currently awaiting triage.

SIG Docs takes a lead on issue triage for this website, but any Kubernetes member can accept issues by applying the triage/accepted label.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label May 8, 2024
@Martin-Luther
Copy link
Author

Martin-Luther commented May 8, 2024

I have found out that myth curl was trying to send an IPv6 request... Which means that https://pkgs.k8s.io does not support IPv6 yet ?

Mean while, I had to do this to solve my issue.

echo 'ipv4' >> ~/.curlrc

@niranjandarshann
Copy link

@niranjandarshann
Copy link

@Martin-Luther Thank you for raising the issue. But here I had tried but it is not triggering such error. Can you Please check Which Ubuntu and deb you are using if you are using older than Debian 12 and Ubuntu 22.04, then you manually need to make directory using sudo mkdir -p -m 755 /etc/apt/keyrings before executing this command. Here i think the error is due to the restriction to use the directory so above command will help you to make directory with access.

If you satisfied all these criteria and still you are facing an issue then check if your network might have a firewall or proxy that is blocking the request so disable it.

else check whether you entered the correct url.

@niranjandarshann
Copy link

/kind support
/language en

@k8s-ci-robot k8s-ci-robot added the kind/support Categorizes issue or PR as a support question. label May 9, 2024
@Martin-Luther
Copy link
Author

Martin-Luther commented May 9, 2024

@Martin-Luther Thank you for raising the issue. But here I had tried but it is not triggering such error. Can you Please check Which Ubuntu and deb you are using if you are using older than Debian 12 and Ubuntu 22.04, then you manually need to make directory using sudo mkdir -p -m 755 /etc/apt/keyrings before executing this command. Here i think the error is due to the restriction to use the directory so above command will help you to make directory with access.

If you satisfied all these criteria and still you are facing an issue then check if your network might have a firewall or proxy that is blocking the request so disable it.

else check whether you entered the correct url.

@niranjandarshann

The issue was solved by forcing curl, apt-get & wget to use ipv4 because my system is ipv6 by default.

I am using Debian 12

No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 12 (bookworm)
Release:	12
Codename:	bookworm
---
Linux fr-km0 6.1.0-17-amd64 kubernetes/website#1 SMP PREEMPT_DYNAMIC Debian 6.1.69-1 (2023-12-30) x86_64 GNU/Linux

@neolit123
Copy link
Member

/retitle https://pkgs.k8s.io/ does not support ipv6

@k8s-ci-robot k8s-ci-robot changed the title Installing kubeadm https://pkgs.k8s.io/ does not support ipv6 May 16, 2024
@neolit123
Copy link
Member

moving this to k8s.io for triage, seems like the ipv6 problem should be checked
/transfer k8s.io

@k8s-ci-robot k8s-ci-robot transferred this issue from kubernetes/website May 16, 2024
@neolit123
Copy link
Member

/sig release

@k8s-ci-robot k8s-ci-robot added the sig/release Categorizes an issue or PR as relevant to SIG Release. label May 16, 2024
@ameukam
Copy link
Member

ameukam commented May 16, 2024

cc @xmudrii

@Martin-Luther
Copy link
Author

Hello,
After more investigations, it seems like my provider gave me IPv6 addresses that were blocked by GCP. So I could only use IPv4.
I have tried with another provider, and things worked just fine with IPv6.
Let's say that someone in the same situation finds this ticket; is it possible to say to Kubeadmn, Kubelet & Kubectl to fallback to IPv4 when IPv6 fails ?

@xmudrii
Copy link
Member

xmudrii commented May 20, 2024

@Martin-Luther What cloud provider are you using? We have been observing blocked IP addresses from Hetzner; are you using Hetzner by any chance?

@Martin-Luther
Copy link
Author

@xmudrii

@Martin-Luther What cloud provider are you using? We have been observing blocked IP addresses from Hetzner; are you using Hetzner by any chance?

As mentioned in my previous message :

After more investigations, it seems like my provider gave me IPv6 addresses that were blocked by GCP

I am @ Gandi, and seriously thinking about moving to Digital Ocean or Hostinger if they allow me o add additional volumes ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. sig/release Categorizes an issue or PR as relevant to SIG Release.
Projects
None yet
Development

No branches or pull requests

6 participants