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

docker/envoy connection error #38106

Open
Grpc-gig opened this issue Jan 19, 2025 · 1 comment
Open

docker/envoy connection error #38106

Grpc-gig opened this issue Jan 19, 2025 · 1 comment
Labels
triage Issue requires triage

Comments

@Grpc-gig
Copy link

why am i getting error in envoy grpc (
grpcurl -plaintext localhost:8000 describe pb.app

Failed to dial target host "localhost:8000": connection error: desc = "transport: error while dialing: dial tcp [::1]:8000: connect: connection refused"
)

@Grpc-gig Grpc-gig added the triage Issue requires triage label Jan 19, 2025
@Grpc-gig
Copy link
Author

here is my envoy file
`admin:
access_log_path: /tmp/admin_access.log
address:
socket_address: { address: 0.0.0.0, port_value: 9901 }

static_resources:
listeners:
- name: listener_0
address:
socket_address: { address: 0.0.0.0, port_value: 8000 }
filter_chains:
- filters:
- name: envoy.http_connection_manager
config:
codec_type: AUTO
stat_prefix: ingress_http
route_config:
name: local_route
virtual_hosts:
- name: local_service
domains: [""]
cors:
allow_origin_string_match:
- safe_regex:
google_re2: {}
regex: ".
"
allow_methods: GET, PUT, DELETE, POST, OPTIONS
allow_headers: >-
authorization,
keep-alive,
user-agent,
cache-control,
content-type,
x-accept-content-transfer-encoding,
x-accept-response-streaming,
x-user-agent,
x-grpc-web,
grpc-timeout
expose_headers: custom-header-1,grpc-status,grpc-message
max_age: "1728000"
routes:
- match:
prefix: "/"
route:
cluster: api_interface
http_filters:
- name: envoy.cors
- name: envoy.grpc_web
- name: envoy.router

clusters:
- name: api_interface
connect_timeout: 0.25s
type: logical_dns
lb_policy: round_robin
http2_protocol_options: {}
load_assignment:
cluster_name: api_interface
endpoints:
- lb_endpoints:
- endpoint:
address:
socket_address:
address: localhost
port_value: 8090
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Issue requires triage
Projects
None yet
Development

No branches or pull requests

1 participant