Git Product home page Git Product logo

Comments (1)

jatin4sharma avatar jatin4sharma commented on June 26, 2024

I think I was too quick to come to the conclusion :-(
So modifying this function did work for me with one endpoint and one token.
However when I tried with 50000 endpoints with 20 token each, I am getting the same filter error.

kubectl logs -l role=proxy -f
{"timestamp":"2024-05-17T01:24:38.526316Z","level":"INFO","fields":{"message":"Starting Quilkin","version":"0.9.0-dev","commit":"71ddf685948301f038c9e37c26f73362783c8058"},"target":"quilkin::cli","filename":"src/cli.rs","threadId":"ThreadId(1)"}
{"timestamp":"2024-05-17T01:24:40.413004Z","level":"INFO","fields":{"message":"Starting admin endpoint","address":"[::]:8000"},"target":"quilkin::components::admin","filename":"src/components/admin.rs","threadId":"ThreadId(1)"}
{"timestamp":"2024-05-17T01:24:40.425199Z","level":"INFO","fields":{"message":"Starting proxy","port":7777,"proxy_id":"bigproxy"},"target":"quilkin::cli::proxy","filename":"src/cli/proxy.rs","span":{"name":"run"},"spans":[{"name":"run"}],"threadId":"ThreadId(1)"}
{"timestamp":"2024-05-17T01:24:40.697194Z","level":"INFO","fields":{"message":"Quilkin is ready"},"target":"quilkin::components::proxy","filename":"src/components/proxy.rs","span":{"name":"run"},"spans":[{"name":"run"}],"threadId":"ThreadId(1)"}
{"timestamp":"2024-05-17T01:24:40.697395Z","level":"INFO","fields":{"message":"starting phoenix HTTP service","addr":"[::]:7600"},"target":"quilkin::net::phoenix","filename":"src/net/phoenix.rs","threadId":"ThreadId(100)"}
{"timestamp":"2024-05-17T01:25:25.698706Z","level":"WARN","fields":{"message":"pipeline report","error":"filter  error: no endpoint matched token `G6MF` from `quilkin.dev/capture`","instances":"6"},"target":"quilkin::components::proxy::packet_router","filename":"src/components/proxy/packet_router.rs","threadId":"ThreadId(2)"}
{"timestamp":"2024-05-17T01:25:30.698415Z","level":"WARN","fields":{"message":"pipeline report","error":"filter  error: no endpoint matched token `G6MF` from `quilkin.dev/capture`","instances":"10"},"target":"quilkin::components::proxy::packet_router","filename":"src/components/proxy/packet_router.rs","threadId":"ThreadId(2)"}
{"timestamp":"2024-05-17T01:25:35.698229Z","level":"WARN","fields":{"message":"pipeline report","error":"filter  error: no endpoint matched token `G6MF` from `quilkin.dev/capture`","instances":"8"},"target":"quilkin::components::proxy::packet_router","filename":"src/components/proxy/packet_router.rs","threadId":"ThreadId(49)"}

Querying the proxy admin endpoint confirms the endpoint and token exists

kubectl -n lsg get po -l role=proxy -o json | jq .items[].status.podIP | xargs -I % curl -s %:8000/config | jq . | grep -B5 G6MF
        {
          "address": "10.9.140.85:7495",
          "metadata": {
            "quilkin.dev": {
              "tokens": [
                "G6MF",

from quilkin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.