Hey guys, collector is responding with `405 Method...
# support
l
Hey guys, collector is responding with
405 Method Not Allowed
when the browser sends OPTIONS preflight requests. how can i fix this?
n
Hey @Linwei please ensure that you're using the correct endpoint for the signals
l
I'm sure that the endpoint is right
i also use it in server side, the server side works fine
it's my collector config
Copy code
receivers:
  otlp:
    protocols:
      grpc:
        endpoint: 0.0.0.0:4317
      http:
        endpoint: 0.0.0.0:4318
        cors:
          allowed_origins: ["http://*","https://*"]
          allowed_headers:
            - "*"
n
Could you please share what exporters you're using?
l
Copy code
exporters:
  clickhousetraces:
    # ClickHouse traces exporter configuration
    datasource: <tcp://clickhouse:9000/signoz_traces>
    low_cardinal_exception_grouping: ${env:LOW_CARDINAL_EXCEPTION_GROUPING}
    use_new_schema: true
  clickhousemetricswrite:
    # ClickHouse metrics write exporter configuration
    endpoint: <tcp://clickhouse:9000/signoz_metrics>
    resource_to_telemetry_conversion:
      enabled: true
  signozclickhousemetrics:
    # SigNoz ClickHouse metrics exporter configuration
    dsn: <tcp://clickhouse:9000/signoz_metrics>
  clickhouselogsexporter:
    # ClickHouse logs exporter configuration
    dsn: <tcp://clickhouse:9000/signoz_logs>
    timeout: 10s
    use_new_schema: true
n
@Vibhu Pandey any suggestions here?
l
hey guys, any suggestions?
n
hey @Linwei try with:
Copy code
allowed_origins:
     - "*"
l
yes i did
still 405