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.

AddStaticKeyPathAsync() method does not return data

See original GitHub issue

I think, it happed because AddStaticKeyPathAsync() method uses ConsulConfigSource.FormValidKey() which adds / character to the end.
In consul documentation path looks like /kv/:key. https://demo.consul.io/v1/kv/hi - works https://demo.consul.io/v1/kv/hi/ - not:(

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Drawaescommented, Nov 12, 2019

I can hopefully take a look at this tonight.

1reaction
exytabcommented, Nov 7, 2019

Thank you, but now all keys from consul start with : symbol.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · Drawaes/CondenserDotNet
AddStaticKeyPathAsync() method does not return data. #121 opened on Nov 6, ... Is it possible to use WindowsAuthentication middleware without ListenOptions?
Read more >
Next.js getStaticProps not returning data
I am creating a blog in Next.js and using Strapi headless CMS as backend. I was trying to get data from the API...
Read more >
Docs - API - ConsulRegistry Class
Methods ; AddUpdatingPathAsync(string), Task. This loads the keys from a path. The path is then watched and updates are added into the configuration...
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