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

Otterize network-mapper invalid URL escape #162

Closed
jonaszlasut opened this issue Nov 28, 2023 · 4 comments · Fixed by otterize/otterize-cli#141
Closed

Otterize network-mapper invalid URL escape #162

jonaszlasut opened this issue Nov 28, 2023 · 4 comments · Fixed by otterize/otterize-cli#141
Assignees
Labels
bug Something isn't working

Comments

@jonaszlasut
Copy link

jonaszlasut commented Nov 28, 2023

We're trying to use otterize network-mapper with rancher based cluster, which has cluster:server field in kubeconfig that looks like this

clusters:
- cluster:
    server: https://RANCHER_URL/k8s/clusters/CLUSTER_NAME
  name: CLUSTER_NAME

However when running otterize network-mapper list we're getting the below error

Error: error upgrading connection: error creating request: parse "https://<RANCHER_URL>%2Fk8s%2Fclusters%2FCLUSTER_NAME/api/v1/namespaces/otterize-system/pods/otterize-network-mapper-65b5b9c654-tkgvq/portforward": invalid URL escape "%2F"
@orishoshan orishoshan added the bug Something isn't working label Nov 28, 2023
@orishoshan orishoshan self-assigned this Nov 28, 2023
@jonaszlasut
Copy link
Author

We use cli in version 1.0.1

otterize version -> Version: v1.0.1

@orishoshan
Copy link
Contributor

Hi @jonaszlasut, looking at this now, and seem to be unable to reproduce with the same configuration, however I have an idea of what might be the cause anyway. Can I ask you to join us on Slack at https://joinslack.otterize.com and have you try a binary from a branch?

@jonaszlasut
Copy link
Author

H @orishoshan I've sent you a slack message

@orishoshan
Copy link
Contributor

It worked for @jonaszlasut - published in v1.0.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants