Skip to content

GRPC is not working #150

@arulrajnet

Description

@arulrajnet

Welcome!

  • Yes, I've searched similar issues on GitHub and didn't find any.

What did you do?

I tried the steps in the README

arul@mac ~$ls -l grpc.proto
-rw-r--r--@ 1 arul  staff   455B  3 Jul 14:57 grpc.proto

arul@mac ~$docker run -d -p 8080:80 --name iamfoo traefik/whoami
1e3512c0a9034364ec189d66b115c1f36867110a298167d0d3493991a61ae56b

arul@mac ~$grpcurl -plaintext -proto grpc.proto localhost:8080 whoami.Whoami/Whoami
Failed to dial target host "localhost:8080": context deadline exceeded

What were you expecting?

My expectation is, it should return the following response

{
  "hostname": "5a45e21984b4",
  "iface": [
    "127.0.0.1",
    "::1",
    "172.17.0.2"
  ]
}

What version are you using?

v1.11 linux/arm64

The SHA of docker is sha256:200689790a0a0ea48ca45992e0450bc26ccab5307375b41c84dfc4f2475937ab

What is your environment & configuration?

docker run -d -p 8080:80 --name iamfoo traefik/whoami

If applicable, please paste the log output in DEBUG level

Here are the logs

arul@mac ~$docker logs iamfoo
2025/07/03 09:33:10 Starting up on port 80

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions