-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
Describe the bug
With the latest query status metrics in indexer-service v1.4.0, it seems like all queries without an associated allocation are failing with a 500 error
indexer_query_handler_seconds_bucket{allocation="no-allocation",deployment="QmZcP98TqxCTVBxzcLuDrVuPHfX5GSZFup4Jci7NGkxRfq",sender="no-sender",status_code="500",le="10"} 12832
2025-01-01T06:17:06.802862Z TRACE axum::serve: connection 10.0.2.118:38150 accepted
at /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/serve.rs:401
2025-01-01T06:17:06.803556Z DEBUG tower_http::trace::on_request: started processing request
at /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tower-http-0.6.2/src/trace/on_request.rs:80
in indexer_service_rs::service::router::http_request with method: POST, uri: /subgraphs/id/QmZcP98TqxCTVBxzcLuDrVuPHfX5GSZFup4Jci7NGkxRfq, matched_path: "/subgraphs/id/:id"
2025-01-01T06:17:06.803688Z DEBUG tower_http::trace::on_response: finished processing request, latency: 0 ms, status: 500
at /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tower-http-0.6.2/src/trace/on_response.rs:114
in indexer_service_rs::service::router::http_request with method: POST, uri: /subgraphs/id/QmZcP98TqxCTVBxzcLuDrVuPHfX5GSZFup4Jci7NGkxRfq, matched_path: "/subgraphs/id/:id"
2025-01-01T06:17:06.804045Z TRACE axum::serve: connection 10.0.2.118:38150 closed
at /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/serve.rs:445
To Reproduce
Steps to reproduce the behavior:
- Set free query auth token
- Send query to service endpoint with Bearer Auth set to the free auth token
- Query will fail with 500 error
Expected behavior
A successful query
Desktop (please complete the following information):
- OS:
Ubuntu 20.04 - Version
5.4.0-90-generic - Rust Version
rustc 1.83.0 - Other Versionings
indexer-service v1.4.0
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
No labels