#openobserve-cloud

Troubleshooting OpenObserve Cloud Integration Errors

TLDR Dương was having connection issues integrating OpenObserve cloud into their company product. Ashish suggested using otlphttp, and setting the correct endpoint. Dương resolved the issue by using traces_endpoint.

Powered by Struct AI

1

7
3mo
Solved
Join the chat
Aug 28, 2023 (3 months ago)
Dương
Photo of md5-576d69e4ab88c5b9322d1783cb6971c2
Dương
03:55 AM
I want to demo OpenObserve cloud and using it for my company product. but when i integrate with otlp have issue.


2023-08-28T03:53:27.124Z warn zapgrpc/zapgrpc.go:195 [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {
2023-08-28T03:53:27.125893138Z "Addr": "api.openobserve.ai/api/daang_van_organization_2318_8rsWGzL81qL2UsT/traces",
2023-08-28T03:53:27.125907222Z "ServerName": "api.openobserve.ai/api/daang_van_organization_2318_8rsWGzL81qL2UsT/traces",
2023-08-28T03:53:27.125914763Z "Attributes": null,
2023-08-28T03:53:27.125922430Z "BalancerAttributes": null,
2023-08-28T03:53:27.125929222Z "Type": 0,
2023-08-28T03:53:27.125935805Z "Metadata": null
2023-08-28T03:53:27.125941847Z }. Err: connection error: desc = "transport: Error while dialing: dial tcp: address api.openobserve.ai/api/daang_van_organization_2318_8rsWGzL81qL2UsT/traces: missing port in address" {"grpc_log": true}


Exporting failed. Will retry the request after interval. {"kind": "exporter", "data_type": "traces", "name": "otlp/elastic", "error": "rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp: address api.openobserve.ai/api/daang_van_organization_2318_8rsWGzL81qL2UsT/traces: missing port in address\"", "interval": "31.252321716s"}
Ashish
Photo of md5-9ed257a93c49bf4a991f872cc2ea4cda
Ashish
04:04 AM
can you please try otlphttp instead of otlp/elastic
Dương
Photo of md5-576d69e4ab88c5b9322d1783cb6971c2
Dương
04:18 AM
Thank it work but have another error:

Permanent error: error exporting items, request to https://api.openobserve.ai/api/daang_van_organization_2318_8rsWGzL81qL2UsT/traces/v1/traces responded with HTTP Status Code 404
04:18
Ashish
04:18 AM
and try
Dương
Photo of md5-576d69e4ab88c5b9322d1783cb6971c2
Dương
04:33 AM
i got the same issue:

request to https://api.openobserve.ai/api/daang_van_organization_2318_8rsWGzL81qL2UsT/v1/traces responded with HTTP Status Code 404

04:57
Dương
04:57 AM
Oh I fixed issue. need using traces_endpoint

1