Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requests using free query auth token failing #564

Open
datanexus-vincent opened this issue Jan 1, 2025 · 0 comments
Open

Requests using free query auth token failing #564

datanexus-vincent opened this issue Jan 1, 2025 · 0 comments

Comments

@datanexus-vincent
Copy link

datanexus-vincent commented Jan 1, 2025

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:

  1. Set free query auth token
  2. Send query to service endpoint with Bearer Auth set to the free auth token
  3. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant