question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Couldn't register krakend-bf:1234 in consul: unable to create the consul client: no config

See original GitHub issue

krakend-bf does not start I tried to add tokens to the filter by postman requests with different parameters “sub”, “did”, “aud” but the token was not blocked. There is no “jti” parameter in the tokens we are using. http: // localhost: 9000 / add /? sub = 9cba757816424ae9a57397b3ed516866

OS: win 10 pro

Logs:

PS D:\PROJ\krakend-playground> docker-compose up Docker Compose is now in the Docker CLI, try docker compose up

Creating network “krakend-playground_default” with the default driver Creating krakend-playground_web_1 … done Creating krakend-playground_fake_api_1 … done Creating krakend-playground_kraken_designer_1 … done Creating krakend-playground_jaeger_1 … done Creating krakend-playground_krakend_ce_1 … done Creating krakend-playground_jwt_revoke_1 … done Attaching to krakend-playground_web_1, krakend-playground_kraken_designer_1, krakend-playground_fake_api_1, krakend-playground_jaeger_1, krakend-playground_krakend_ce_1, krakend-playground_jwt_revoke_1 jaeger_1 | 2021/05/05 07:44:51 maxprocs: Leaving GOMAXPROCS=6: CPU quota undefined jaeger_1 | {“level”:“info”,“ts”:1620200691.7153509,“caller”:“flags/service.go:117”,“msg”:“Mounting metrics handler on admin server”,“route”:“/metrics”} jaeger_1 | {“level”:“info”,“ts”:1620200691.7154102,“caller”:“flags/service.go:123”,“msg”:“Mounting expvar handler on admin server”,“route”:“/debug/vars”} jaeger_1 | {“level”:“info”,“ts”:1620200691.7156987,“caller”:“flags/admin.go:105”,“msg”:“Mounting health check on admin server”,“route”:“/”} jaeger_1 | {“level”:“info”,“ts”:1620200691.7157815,“caller”:“flags/admin.go:111”,“msg”:“Starting admin HTTP server”,“http-addr”:“:14269”} jaeger_1 | {“level”:“info”,“ts”:1620200691.7158184,“caller”:“flags/admin.go:97”,“msg”:“Admin server started”,“http.host-port”:“[::]:14269”,“health-status”:“unavailable”} jaeger_1 | {“level”:“info”,“ts”:1620200691.7177794,“caller”:“memory/factory.go:61”,“msg”:“Memory storage initialized”,“configuration”:{“MaxTraces”:0}} jaeger_1 | {“level”:“info”,“ts”:1620200691.7314508,“caller”:“server/grpc.go:76”,“msg”:“Starting jaeger-collector gRPC server”,“grpc.host-port”:“:14250”} jaeger_1 | {“level”:“info”,“ts”:1620200691.731558,“caller”:“server/http.go:47”,“msg”:“Starting jaeger-collector HTTP server”,“http host-port”:“:14268”} jaeger_1 | {“level”:“info”,“ts”:1620200691.73241,“caller”:“server/zipkin.go:48”,“msg”:“Not listening for Zipkin HTTP traffic, port not configured”} jaeger_1 | {“level”:“info”,“ts”:1620200691.7325687,“caller”:“grpc/builder.go:70”,“msg”:“Agent requested insecure grpc connection to collector(s)”} jaeger_1 | {“level”:“info”,“ts”:1620200691.7341266,“caller”:“grpc@v1.29.1/clientconn.go:243”,“msg”:“parsed scheme: ""”,“system”:“grpc”,“grpc_log”:true} jaeger_1 | {“level”:“info”,“ts”:1620200691.7341797,“caller”:“grpc@v1.29.1/clientconn.go:249”,“msg”:“scheme "" not registered, fallback to default scheme”,“system”:“grpc”,“grpc_log”:true} jaeger_1 | {“level”:“info”,“ts”:1620200691.7342196,“caller”:“grpc@v1.29.1/resolver_conn_wrapper.go:143”,“msg”:“ccResolverWrapper: sending update to cc: {[{:14250 <nil> 0 <nil>}] <nil> <nil>}”,“system”:“grpc”,“grpc_log”:true} jaeger_1 | {“level”:“info”,“ts”:1620200691.7342305,“caller”:“grpc@v1.29.1/clientconn.go:667”,“msg”:“ClientConn switching balancer to "round_robin"”,“system”:“grpc”,“grpc_log”:true}
jaeger_1 | {“level”:“info”,“ts”:1620200691.734241,“caller”:“grpc@v1.29.1/clientconn.go:682”,“msg”:“Channel switches to new LB policy "round_robin"”,“system”:“grpc”,“grpc_log”:true}
jaeger_1 | {“level”:“info”,“ts”:1620200691.7343194,“caller”:“grpc@v1.29.1/clientconn.go:1056”,“msg”:“Subchannel Connectivity change to CONNECTING”,“system”:“grpc”,“grpc_log”:true}
jaeger_1 | {“level”:“info”,“ts”:1620200691.7349603,“caller”:“grpc@v1.29.1/clientconn.go:1193”,“msg”:“Subchannel picks a new address ":14250" to connect”,“system”:“grpc”,“grpc_log”:true}jaeger_1 | {“level”:“info”,“ts”:1620200691.7350566,“caller”:“grpc/builder.go:108”,“msg”:“Checking connection to collector”} jaeger_1 | {“level”:“info”,“ts”:1620200691.7350695,“caller”:“grpc/builder.go:119”,“msg”:“Agent collector connection state change”,“dialTarget”:“:14250”,“status”:“IDLE”} jaeger_1 | {“level”:“info”,“ts”:1620200691.7350976,“caller”:“grpc@v1.29.1/clientconn.go:417”,“msg”:“Channel Connectivity change to CONNECTING”,“system”:“grpc”,“grpc_log”:true} jaeger_1 | {“level”:“info”,“ts”:1620200691.7351096,“caller”:“grpc/builder.go:119”,“msg”:“Agent collector connection state change”,“dialTarget”:“:14250”,“status”:“CONNECTING”} jaeger_1 | {“level”:“info”,“ts”:1620200691.7352495,“caller”:“grpc@v1.29.1/clientconn.go:1056”,“msg”:“Subchannel Connectivity change to READY”,“system”:“grpc”,“grpc_log”:true} jaeger_1 | {“level”:“info”,“ts”:1620200691.7354512,“caller”:“base/balancer.go:200”,“msg”:“roundrobinPicker: newPicker called with info: {map[0xc000455550:{{:14250 <nil> 0 <nil>}}]}”,“system”:“grpc”,“grpc_log”:true} jaeger_1 | {“level”:“info”,“ts”:1620200691.7355154,“caller”:“grpc@v1.29.1/clientconn.go:417”,“msg”:“Channel Connectivity change to READY”,“system”:“grpc”,“grpc_log”:true} jaeger_1 | {“level”:“info”,“ts”:1620200691.7355287,“caller”:“grpc/builder.go:119”,“msg”:“Agent collector connection state change”,“dialTarget”:“:14250”,“status”:“READY”} jaeger_1 | {“level”:“info”,“ts”:1620200691.7354705,“caller”:“command-line-arguments/main.go:218”,“msg”:“Starting agent”} jaeger_1 | {“level”:“info”,“ts”:1620200691.7355957,“caller”:“querysvc/query_service.go:137”,“msg”:“Archive storage not created”,“reason”:“archive storage not supported”} jaeger_1 | {“level”:“info”,“ts”:1620200691.7356062,“caller”:“app/flags.go:128”,“msg”:“Archive storage not initialized”} jaeger_1 | {“level”:“info”,“ts”:1620200691.73561,“caller”:“app/agent.go:69”,“msg”:“Starting jaeger-agent HTTP server”,“http-port”:5778} jaeger_1 | {“level”:“info”,“ts”:1620200691.7366421,“caller”:“app/static_handler.go:181”,“msg”:“UI config path not provided, config file will not be watched”} jaeger_1 | {“level”:“info”,“ts”:1620200691.736794,“caller”:“app/server.go:170”,“msg”:“Query server started”} jaeger_1 | {“level”:“info”,“ts”:1620200691.7368107,“caller”:“healthcheck/handler.go:129”,“msg”:“Health Check state change”,“status”:“ready”} jaeger_1 | {“level”:“info”,“ts”:1620200691.7368236,“caller”:“app/server.go:249”,“msg”:“Starting GRPC server”,“port”:16685,“addr”:“:16685”} jaeger_1 | {“level”:“info”,“ts”:1620200691.736843,“caller”:“app/server.go:230”,“msg”:“Starting HTTP server”,“port”:16686,“addr”:“:16686”} kraken_designer_1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration kraken_designer_1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ kraken_designer_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh kraken_designer_1 | 10-listen-on-ipv6-by-default.sh: Getting the checksum of /etc/nginx/conf.d/default.conf kraken_designer_1 | 10-listen-on-ipv6-by-default.sh: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf kraken_designer_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh kraken_designer_1 | /docker-entrypoint.sh: Configuration complete; ready for start up krakend_ce_1 | Parsing configuration file: /etc/krakend/krakend.json krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.360 ▶ ERROR unable to create the GELF writer: getting the extra config for the krakend-gelf module krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.360 ▶ INFO Listening on port: 8080 krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.360 ▶ DEBUG creating a new influxdb client krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.360 ▶ DEBUG no config for the influxdb client. Aborting krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.360 ▶ WARNIN influxdb: unable to load custom config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.360 ▶ INFO registering usage stats for cluster ID ‘OxrJIzABARWod4je0vApwtIxNdnC/jggJVE4SK708tQ=’ krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.363 ▶ ERROR Couldn’t register krakend-bf:1234 in consul: unable to create the consul client: no config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ WARNIN no config present for the httpsecure module krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ DEBUG lua: no extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ DEBUG botdetector middleware: no config defined for the module krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ DEBUG AMQP: http://fake_api:8080: no amqp consumer defined krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ DEBUG AMQP: http://fake_api:8080: no amqp producer defined krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ DEBUG pubsub: subscriber (http://fake_api:8080): github.com/devopsfaith/krakend-pubsub/subscriber not found in the extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ DEBUG pubsub: publisher (http://fake_api:8080): github.com/devopsfaith/krakend-pubsub/publisher not found in the extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ DEBUG http-request-executor: no extra config for backend /shop/campaigns.json krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ DEBUG CEL: no extra config detected for backend /shop/campaigns.json krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ DEBUG lua: no extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ DEBUG AMQP: http://fake_api:8080: no amqp consumer defined krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ DEBUG AMQP: http://fake_api:8080: no amqp producer defined krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ DEBUG pubsub: subscriber (http://fake_api:8080): github.com/devopsfaith/krakend-pubsub/subscriber not found in the extra config web_1 | npm info it worked if it ends with ok krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ DEBUG pubsub: publisher (http://fake_api:8080): github.com/devopsfaith/krakend-pubsub/publisher not found in the extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ DEBUG http-request-executor: no extra config for backend /shop/products.json krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ DEBUG CEL: no extra config detected for backend /shop/products.json krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ DEBUG lua: no extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ DEBUG CEL: no extra config detected for pipe /splash krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ DEBUG lua: no extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ INFO JOSE: signer disabled for the endpoint /splash krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ DEBUG lua: no extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ INFO JOSE: validator disabled for the endpoint /splash krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ DEBUG botdetector: no config defined for the module krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ DEBUG AMQP: http://fake_api:8080: no amqp consumer defined krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ DEBUG AMQP: http://fake_api:8080: no amqp producer defined krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ DEBUG pubsub: subscriber (http://fake_api:8080): github.com/devopsfaith/krakend-pubsub/subscriber not found in the extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ DEBUG pubsub: publisher (http://fake_api:8080): github.com/devopsfaith/krakend-pubsub/publisher not found in the extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ DEBUG http-request-executor: no extra config for backend /hotels/1.json krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ DEBUG CEL: no extra config detected for backend /hotels/1.json krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.364 ▶ DEBUG lua: no extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG AMQP: http://fake_api:8080: no amqp consumer defined krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG AMQP: http://fake_api:8080: no amqp producer defined krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG pubsub: subscriber (http://fake_api:8080): github.com/devopsfaith/krakend-pubsub/subscriber not found in the extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG pubsub: publisher (http://fake_api:8080): github.com/devopsfaith/krakend-pubsub/publisher not found in the extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG http-request-executor: no extra config for backend /destinations/{{.Resp0_destination_id}}.json krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG CEL: no extra config detected for backend /destinations/{{.Resp0_destination_id}}.json krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG lua: no extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG CEL: no extra config detected for pipe /sequential krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG lua: no extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ INFO JOSE: signer disabled for the endpoint /sequential krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG lua: no extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ INFO JOSE: validator disabled for the endpoint /sequential krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG botdetector: no config defined for the module krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG AMQP: http://fake_api:8080: no amqp consumer defined krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG AMQP: http://fake_api:8080: no amqp producer defined krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG pubsub: subscriber (http://fake_api:8080): github.com/devopsfaith/krakend-pubsub/subscriber not found in the extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG pubsub: publisher (http://fake_api:8080): github.com/devopsfaith/krakend-pubsub/publisher not found in the extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG http-request-executor: no extra config for backend /user/1.json krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG CEL: no extra config detected for backend /user/1.json krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG lua: no extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG AMQP: http://fake_url_that_should_not_resolve.tld: no amqp consumer defined krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG AMQP: http://fake_url_that_should_not_resolve.tld: no amqp producer defined krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG pubsub: subscriber (http://fake_url_that_should_not_resolve.tld): github.com/devopsfaith/krakend-pubsub/subscriber not found in the extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG pubsub: publisher (http://fake_url_that_should_not_resolve.tld): github.com/devopsfaith/krakend-pubsub/publisher not found in the extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG http-request-executor: no extra config for backend / krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG CEL: no extra config detected for backend / krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG lua: no extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG CEL: no extra config detected for pipe /fail krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG lua: no extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ INFO JOSE: signer disabled for the endpoint /fail krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG lua: no extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ INFO JOSE: validator disabled for the endpoint /fail krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG botdetector: no config defined for the module krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG AMQP: https://api.github.com: no amqp consumer defined krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG AMQP: https://api.github.com: no amqp producer defined krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG pubsub: subscriber (https://api.github.com): github.com/devopsfaith/krakend-pubsub/subscriber not found in the extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG pubsub: publisher (https://api.github.com): github.com/devopsfaith/krakend-pubsub/publisher not found in the extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG http-request-executor: no extra config for backend /users/kpacha krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG CEL: no extra config detected for backend /users/kpacha krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG lua: no extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG AMQP: https://api.bitbucket.org: no amqp consumer defined krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG AMQP: https://api.bitbucket.org: no amqp producer defined krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG pubsub: subscriber (https://api.bitbucket.org): github.com/devopsfaith/krakend-pubsub/subscriber not found in the extra config
krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG pubsub: publisher (https://api.bitbucket.org): github.com/devopsfaith/krakend-pubsub/publisher not found in the extra config
krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG http-request-executor: no extra config for backend /2.0/users/kpacha krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG CEL: no extra config detected for backend /2.0/users/kpacha krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG lua: no extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG CEL: no extra config detected for pipe /public krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG lua: no extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ INFO JOSE: signer disabled for the endpoint /public krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG lua: no extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ INFO JOSE: validator disabled for the endpoint /public krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG botdetector: no config defined for the module krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG AMQP: http://fake_api:8080: no amqp consumer defined krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG AMQP: http://fake_api:8080: no amqp producer defined krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG pubsub: subscriber (http://fake_api:8080): github.com/devopsfaith/krakend-pubsub/subscriber not found in the extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG pubsub: publisher (http://fake_api:8080): github.com/devopsfaith/krakend-pubsub/publisher not found in the extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG http-request-executor: no extra config for backend /user/1.json krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG CEL: no extra config detected for backend /user/1.json web_1 | npm info using npm@5.4.2 krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG lua: no extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.365 ▶ DEBUG CEL: no extra config detected for pipe /private/auth0 krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.366 ▶ DEBUG lua: no extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.366 ▶ INFO JOSE: signer disabled for the endpoint /private/auth0 krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.366 ▶ DEBUG lua: no extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.396 ▶ INFO JOSE: validator enabled for the endpoint /private/auth0 krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.396 ▶ DEBUG botdetector: no config defined for the module krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.396 ▶ DEBUG AMQP: http://fake_api:8080: no amqp consumer defined krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.396 ▶ DEBUG AMQP: http://fake_api:8080: no amqp producer defined krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.396 ▶ DEBUG pubsub: subscriber (http://fake_api:8080): github.com/devopsfaith/krakend-pubsub/subscriber not found in the extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.396 ▶ DEBUG pubsub: publisher (http://fake_api:8080): github.com/devopsfaith/krakend-pubsub/publisher not found in the extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.396 ▶ DEBUG http-request-executor: no extra config for backend /user/1.json krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.396 ▶ DEBUG CEL: no extra config detected for backend /user/1.json krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.396 ▶ DEBUG lua: no extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.396 ▶ DEBUG CEL: no extra config detected for pipe /private/custom krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.396 ▶ DEBUG lua: no extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.396 ▶ INFO JOSE: signer disabled for the endpoint /private/custom krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.396 ▶ DEBUG lua: no extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.396 ▶ INFO JOSE: validator enabled for the endpoint /private/custom krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.397 ▶ DEBUG botdetector: no config defined for the module krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.397 ▶ DEBUG AMQP: http://fake_api:8080: no amqp consumer defined krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.397 ▶ DEBUG AMQP: http://fake_api:8080: no amqp producer defined krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.397 ▶ DEBUG pubsub: subscriber (http://fake_api:8080): github.com/devopsfaith/krakend-pubsub/subscriber not found in the extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.397 ▶ DEBUG http-request-executor: no extra config for backend /token.json krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.397 ▶ DEBUG CEL: no extra config detected for backend /token.json krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.397 ▶ DEBUG lua: no extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.397 ▶ DEBUG CEL: no extra config detected for pipe /token krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.397 ▶ DEBUG lua: no extra config krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.409 ▶ INFO JOSE: signer enabled for the endpoint /token krakend_ce_1 | [KRAKEND] 2021/05/05 - 07:44:52.409 ▶ DEBUG botdetector: no config defined for the module web_1 | npm info lifecycle calling-an-api@0.0.0~prestart: calling-an-api@0.0.0 web_1 | npm info lifecycle calling-an-api@0.0.0~start: calling-an-api@0.0.0 web_1 | web_1 | > calling-an-api@0.0.0 start /home/app web_1 | > serve -p 3000 web_1 | web_1 | INFO: Accepting connections at http://localhost:3000

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
kpachacommented, May 5, 2021

you can select one of the claims from the TokenKeys list and use it with your revoker: https://github.com/devopsfaith/krakend-playground/blob/master/jwt-revoker/main.go#L15

once that key is defined, every input will have that key prepended before passing it to the BF

subject := *key + "-" + r.FormValue(*key)
0reactions
github-actions[bot]commented, Apr 7, 2022

This issue was marked as resolved a long time ago and now has been automatically locked as there has not been any recent activity after it. You can still open a new issue and reference this link.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Common Error Messages - Troubleshoot | Consul
Troubleshoot issues based on the error message. Common errors result from failed actions, timeouts, multiple entries, bad and expired certificates, ...
Read more >
Consul Client agent shows error Check socket connection failed
Hi I am trying to set up consul cluster on windows machines. I am getting the below error in the consul client agent....
Read more >
HashiCorp - Configuring a Server & Client on AWS - YouTube
Your browser can't play this video. ... In this episode, they configure virtual machines as Consul servers and clients on Amazon Web ...
Read more >
How to Configure Consul in a Production Environment on ...
With this structure in place, we should be able to get started crafting our configuration files. Creating the Bootstrap Configuration. The first ...
Read more >
How to setup a single node Consul server/client?
Error starting agent: Failed to start Consul client: Failed to start lan serf: Failed to create memberlist: Could not set up network ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found