You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
curl -v http://localhost:13133
* processing: http://localhost:13133
* Trying [::1]:13133...
* Connected to localhost (::1) port 13133
> GET / HTTP/1.1
> Host: localhost:13133
> User-Agent: curl/8.2.1
> Accept: */*>* Recv failure: Connection was aborted
* Closing connection
curl: (56) Recv failure: Connection was aborted
Additional context
Title: Issues with Endpoints Port Forwarding outside of OpenTelemetry Collector application
Title: Issues with Endpoints Port Forwarding outside of OpenTelemetry Collector application
Description:
I am encountering issues with Endpoints like the health check and gRPC endpoints in the OpenTelemetry Collector. The problems are particularly evident when these endpoints are not explicitly configured, resulting in connection aborts. Below are the detailed observations and configurations related to this issue.
Issue:
When attempting to access the health check and gRPC endpoints of the OpenTelemetry Collector, the connections are being aborted
Example:
Health Check Endpoint: http://localhost:13133
gRPC Endpoint: http://localhost:4318
Expected Behavior according to documentation:
Health Check Endpoint: Should respond with a status indicating the health of the collector.
gRPC Endpoint: Should be accessible for receiving gRPC requests.
Actual Behavior:
Health Check Endpoint: When accessed without an explicitly defined endpoint, the response is an error indicating that the connection was aborted.
The following curl command results in:
GET / HTTP/1.1
Host: localhost:13133
User-Agent: curl/8.2.1
Accept: /
Recv failure: Connection was aborted
Closing connection
curl: (56) Recv failure: Connection was aborted
From Browser the output is as below:
Its Showwing “ERR_EMPTY_RESPONSE”.
gRPC Endpoint: Similarly, when not configured explicitly, attempts to connect to the gRPC endpoint result in connection aborts. However, when explicitly configured, the connection succeeds.
Configuration Files:
Configuration Without Explicit Endpoint Definitions:
From Browser the output is as below:
3. Expected Behavior:
Health Check Endpoint: Should respond with a status indicating the health of the collector.
gRPC Endpoint: Should be accessible for receiving gRPC requests.
Below output should be given by the server even without explicitly given the endpoint.
curl -v http://localhost:13133/
The issue seems to be related to the default behavior of endpoint configurations in the OpenTelemetry Collector. When endpoints are not explicitly defined, the connections to the health check and gRPC services fail. Explicitly defining these endpoints resolves the issue, allowing for proper communication and status responses.
Resolution:
Deploy the OpenTelemetry Collector using the configuration without explicit endpoint definitions.
Attempt to access the health check endpoint at http://localhost:13133.
Attempt to access the gRPC endpoint at http://localhost:4318.
Observe the connection abort errors.
Modify the configuration to include explicit endpoint definitions for both services.
Retry accessing the endpoints and confirm that they respond correctly.
This issue needs further investigation to understand why its behaving like above in new versions.
References:
OpenTelemetry Collector Documentation
Issue Tracker
Description:
I am encountering issues with Endpoints like the health check and gRPC endpoints in the OpenTelemetry Collector. The problems are particularly evident when these endpoints are not explicitly configured, resulting in connection aborts. Below are the detailed observations and configurations related to this issue.
Issue:
When attempting to access the health check and gRPC endpoints of the OpenTelemetry Collector, the connections are being aborted
Example:
Health Check Endpoint: http://localhost:13133
gRPC Endpoint: http://localhost:4318
Expected Behavior according to documentation:
Health Check Endpoint: Should respond with a status indicating the health of the collector.
gRPC Endpoint: Should be accessible for receiving gRPC requests.
Actual Behavior:
Health Check Endpoint: When accessed without an explicitly defined endpoint, the response is an error indicating that the connection was aborted.
The following curl command results in:
GET / HTTP/1.1
Host: localhost:13133
User-Agent: curl/8.2.1
Accept: /
Recv failure: Connection was aborted
Closing connection
curl: (56) Recv failure: Connection was aborted
From Browser the output is as below:
Its Showwing “ERR_EMPTY_RESPONSE”.
gRPC Endpoint: Similarly, when not configured explicitly, attempts to connect to the gRPC endpoint result in connection aborts. However, when explicitly configured, the connection succeeds.
Configuration Files:
Configuration Without Explicit Endpoint Definitions:
From Browser the output is as below:
3. Expected Behavior:
Health Check Endpoint: Should respond with a status indicating the health of the collector.
gRPC Endpoint: Should be accessible for receiving gRPC requests.
Below output should be given by the server even without explicitly given the endpoint.
curl -v http://localhost:13133/
The issue seems to be related to the default behavior of endpoint configurations in the OpenTelemetry Collector. When endpoints are not explicitly defined, the connections to the health check and gRPC services fail. Explicitly defining these endpoints resolves the issue, allowing for proper communication and status responses.
Resolution:
Deploy the OpenTelemetry Collector using the configuration without explicit endpoint definitions.
Attempt to access the health check endpoint at http://localhost:13133.
Attempt to access the gRPC endpoint at http://localhost:4318.
Observe the connection abort errors.
Modify the configuration to include explicit endpoint definitions for both services.
Retry accessing the endpoints and confirm that they respond correctly.
This issue needs further investigation to understand why its behaving like above in new versions.
References:
OpenTelemetry Collector Documentation
Issue Tracker
The text was updated successfully, but these errors were encountered:
Component(s)
No response
What happened?
PortForwardIssueOpenTelemetry.docx
Collector version
v0.109.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
Log output
Additional context
Title: Issues with Endpoints Port Forwarding outside of OpenTelemetry Collector application
Title: Issues with Endpoints Port Forwarding outside of OpenTelemetry Collector application
I am encountering issues with Endpoints like the health check and gRPC endpoints in the OpenTelemetry Collector. The problems are particularly evident when these endpoints are not explicitly configured, resulting in connection aborts. Below are the detailed observations and configurations related to this issue.
Issue:
When attempting to access the health check and gRPC endpoints of the OpenTelemetry Collector, the connections are being aborted
Example:
http://localhost:13133
http://localhost:4318
Expected Behavior according to documentation:
Health Check Endpoint: When accessed without an explicitly defined endpoint, the response is an error indicating that the connection was aborted.
The following
curl
command results in:curl -v http://localhost:13133/
curl: (56) Recv failure: Connection was aborted
From Browser the output is as below:
Its Showwing “ERR_EMPTY_RESPONSE”.
gRPC Endpoint: Similarly, when not configured explicitly, attempts to connect to the gRPC endpoint result in connection aborts. However, when explicitly configured, the connection succeeds.
Configuration Files:
Configuration Without Explicit Endpoint Definitions:
With this configuration, the health check and gRPC endpoints fail to respond properly as shown below.
curl -v http://localhost:13133/
curl: (56) Recv failure: Connection was aborted
From Browser the output is as below:
Its Showwing “ERR_EMPTY_RESPONSE”.
Configuration With Explicit Endpoint Definitions:
With this configuration, both endpoints work correctly. Specifically:
From Browser the output is as below:
3. Expected Behavior:
Below output should be given by the server even without explicitly given the endpoint.
curl -v http://localhost:13133/
< Content-Type: application/json
< Date: Thu, 19 Sep 2024 21:32:46 GMT
< Content-Length: 98
<
{"status":"Server available","upSince":"2024-09-19T21:24:23.69654773Z","uptime":"8m23.117058632s"}
From Browser:
The issue seems to be related to the default behavior of endpoint configurations in the OpenTelemetry Collector. When endpoints are not explicitly defined, the connections to the health check and gRPC services fail. Explicitly defining these endpoints resolves the issue, allowing for proper communication and status responses.
Resolution:
Deploy the OpenTelemetry Collector using the configuration without explicit endpoint definitions.
Attempt to access the health check endpoint at
http://localhost:13133
.Attempt to access the gRPC endpoint at
http://localhost:4318
.Observe the connection abort errors.
Modify the configuration to include explicit endpoint definitions for both services.
Retry accessing the endpoints and confirm that they respond correctly.
This issue needs further investigation to understand why its behaving like above in new versions.
References:
I am encountering issues with Endpoints like the health check and gRPC endpoints in the OpenTelemetry Collector. The problems are particularly evident when these endpoints are not explicitly configured, resulting in connection aborts. Below are the detailed observations and configurations related to this issue.
Issue:
When attempting to access the health check and gRPC endpoints of the OpenTelemetry Collector, the connections are being aborted
Example:
http://localhost:13133
http://localhost:4318
Expected Behavior according to documentation:
Health Check Endpoint: When accessed without an explicitly defined endpoint, the response is an error indicating that the connection was aborted.
The following
curl
command results in:curl -v http://localhost:13133/
curl: (56) Recv failure: Connection was aborted
From Browser the output is as below:
Its Showwing “ERR_EMPTY_RESPONSE”.
gRPC Endpoint: Similarly, when not configured explicitly, attempts to connect to the gRPC endpoint result in connection aborts. However, when explicitly configured, the connection succeeds.
Configuration Files:
Configuration Without Explicit Endpoint Definitions:
With this configuration, the health check and gRPC endpoints fail to respond properly as shown below.
curl -v http://localhost:13133/
curl: (56) Recv failure: Connection was aborted
From Browser the output is as below:
Its Showwing “ERR_EMPTY_RESPONSE”.
Configuration With Explicit Endpoint Definitions:
With this configuration, both endpoints work correctly. Specifically:
From Browser the output is as below:
3. Expected Behavior:
Below output should be given by the server even without explicitly given the endpoint.
curl -v http://localhost:13133/
< Content-Type: application/json
< Date: Thu, 19 Sep 2024 21:32:46 GMT
< Content-Length: 98
<
{"status":"Server available","upSince":"2024-09-19T21:24:23.69654773Z","uptime":"8m23.117058632s"}
From Browser:
The issue seems to be related to the default behavior of endpoint configurations in the OpenTelemetry Collector. When endpoints are not explicitly defined, the connections to the health check and gRPC services fail. Explicitly defining these endpoints resolves the issue, allowing for proper communication and status responses.
Resolution:
Deploy the OpenTelemetry Collector using the configuration without explicit endpoint definitions.
Attempt to access the health check endpoint at
http://localhost:13133
.Attempt to access the gRPC endpoint at
http://localhost:4318
.Observe the connection abort errors.
Modify the configuration to include explicit endpoint definitions for both services.
Retry accessing the endpoints and confirm that they respond correctly.
This issue needs further investigation to understand why its behaving like above in new versions.
References:
The text was updated successfully, but these errors were encountered: