Skip to content

[Bug]: Query service port-forword not working #640

@d4kverma

Description

@d4kverma

What happened?

kubectl port-forward service/jaeger-query 8080:80
Query service's port-forwarding is not working .
Once you port-forward the query service locally then it should outbound port to bind inside 16686 to container but its binding on port 80 .
After hitting localhost:8080 , its showing

E0425 19:50:38.347945   52555 portforward.go:409] an error occurred forwarding 8080 -> 80: error forwarding port 80 to pod d29734144a6bc1b720fd308d4761370912d08696e05a3544f2b8a0f39e60601d, uid : failed to execute portforward in network namespace "/var/run/netns/cni-40fd485a-4f85-4c7a-439a-5dbd2bbf6a04": failed to connect to localhost:80 inside namespace "d29734144a6bc1b720fd308d4761370912d08696e05a3544f2b8a0f39e60601d", IPv4: dial tcp4 127.0.0.1:80: connect: connection refused IPv6 dial tcp6: address localhost: no suitable address found

Steps to reproduce

  1. Run command - kubectl port-forward service/jaeger-query 8080:80
  2. run localhost:8080 on browser

Expected behavior

Its should be showing jaeger UI on localhost.

Relevant log output

Forwarding from 127.0.0.1:8080 -> 80
Forwarding from [::1]:8080 -> 80
Handling connection for 8080
Handling connection for 8080
E0425 19:50:38.347945   52555 portforward.go:409] an error occurred forwarding 8080 -> 80: error forwarding port 80 to pod d29734144a6bc1b720fd308d4761370912d08696e05a3544f2b8a0f39e60601d, uid : failed to execute portforward in network namespace "/var/run/netns/cni-40fd485a-4f85-4c7a-439a-5dbd2bbf6a04": failed to connect to localhost:80 inside namespace "d29734144a6bc1b720fd308d4761370912d08696e05a3544f2b8a0f39e60601d", IPv4: dial tcp4 127.0.0.1:80: connect: connection refused IPv6 dial tcp6: address localhost: no suitable address found

Screenshot

Image

Additional context

No response

Jaeger backend version

No response

SDK

No response

Pipeline

No response

Stogage backend

No response

Operating system

No response

Deployment model

No response

Deployment configs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions