ttc0419 opened a new issue, #13872:
URL: https://github.com/apache/skywalking/issues/13872

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Apache SkyWalking Component
   
   OAP server (apache/skywalking)
   
   ### What happened
   
   Got 404 when uploading OpenTelemetry traces.
   
   ### What you expected to happen
   
   The trace should be uploaded successfully.
   
   ### How to reproduce
   
   Upload otel trace using the following script:
   ```bash
   #!/bin/zsh
   
   START=$(date +%s%N)
   
   curl -X POST http://127.0.0.1:12800/v1/traces \
     -H "Content-Type: application/json" \
     -d "{
       \"resourceSpans\": [{
         \"resource\": {
           \"attributes\": [{
             \"key\": \"service.name\",
             \"value\": {\"stringValue\": \"demo\"}
           }]
         },
         \"scopeSpans\": [{
           \"scope\": {\"name\": \"curl\"},
           \"spans\": [{
             \"traceId\": \"$(openssl rand -hex 16)\",
             \"spanId\": \"$(openssl rand -hex 8)\",
             \"name\": \"demo-operation\",
             \"kind\": 2,
             \"startTimeUnixNano\": \"$START\",
             \"endTimeUnixNano\": \"$((START + 18000000))\",
             \"status\": {\"code\": 1}
           }]
         }]
       }]
     }"
   ```
   
   Config:
   ```yaml
   cluster:
     selector: standalone
     standalone:
   
   core:
     selector: default
     default:
       restHost: 127.0.0.1
       restPort: 12800
       restContextPath: /
       gRPCHost: 127.0.0.1
       gRPCPort: 11800
   
   storage:
     selector: banyandb
     banyandb:
   
   agent-analyzer:
     selector: default
     default:
   
   ai-pipeline:
     selector: default
     default:
   
   configuration:
     selector: none
     none:
   
   configuration-discovery:
     selector: default
     default:
   
   gen-ai-analyzer:
     selector: default
     default:
   
   receiver-otel:
     selector: default
     default:
       enabledHandlers: otlp-traces
       enabledOtelMetricsRules: ""
   
   receiver-register:
     selector: default
     default:
   
   receiver-zipkin:
     selector: default
     default:
       restHost: 127.0.0.1
       restPort: 9411
       restContextPath: /
   
   telemetry:
     selector: none
     none:
   
   health-checker:
     selector: default
     default:
   
   receiver-sharing-server:
     selector: default
     default:
   
   # configs required for webapp
   query:
     selector: graphql
     graphql:
       enableUpdateUITemplate: true
   
   query-zipkin:
     selector: default
     default:
       restHost: 127.0.0.1
       restPort: 9412
       restContextPath: /zipkin
   
   receiver-trace:
     selector: default
     default:
   
   ```
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request to fix on your own?
   
   - [ ] Yes I am willing to submit a pull request on my own!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to