Giter Site home page Giter Site logo

Comments (10)

mikhail-vl avatar mikhail-vl commented on July 19, 2024 1

@mehmetcakmaz Please let me know if you were able to connect to Azure Cache.

from grafana-redis-datasource.

tbraun-hk avatar tbraun-hk commented on July 19, 2024 1

@mikhailredis You're right, that setting did it, hooray 👍
image

Now I've got a redis datasource up and running!

Thank you very much again for your help!

from grafana-redis-datasource.

mikhail-vl avatar mikhail-vl commented on July 19, 2024

@mehmetcakmaz Thank you for your interest in the plugin. You should be able to connect to any Redis instance. TLS connection is supported as well.

Please let me know if you have any troubles connecting to Azure Cache.

from grafana-redis-datasource.

mehmetcakmaz avatar mehmetcakmaz commented on July 19, 2024

Thank you for information @mikhailredis
I will try and notify you within 1 week

from grafana-redis-datasource.

tbraun-hk avatar tbraun-hk commented on July 19, 2024

Hi @mikhailredis,

currently, I'm trying the same and had no success so far. I'd like to connect to an instance of "redis cache for grafana". However, I have not been able to find a way of enabling SSL in the grafana plugin for redis.

The "Connection string" shown by Azure is:
"[instance-name].redis.cache.windows.net:6380,password=[base64 encoded password],ssl=True,abortConnect=False"

I've copied the base64 encoded password into the "password" field in the redis plugin and tried the following URLs with no success:

  • [instance-name].redis.cache.windows.net:6380
  • redis://[instance-name].redis.cache.windows.net:6380?ssl=true
  • redis://[instance-name].redis.cache.windows.net:6380/?ssl=true

In all cases, the error message was getInstance error: read tcp [IP]:58070->[IP]:6380: read: connection reset by peer after a timeout of 15-20 seconds.

I'd be happy to try out other URLs if you've got any ideas.

Thanks in advance, Tobias

from grafana-redis-datasource.

mikhail-vl avatar mikhail-vl commented on July 19, 2024

@tbraun-hk You don't need to use SSL in the URL, as it's enabled by default as I understand.
Did you provide an SSL authority certificate or enabled Skip to verify?

Meanwhile, I will try to connect to Azure and get back to you shortly.

from grafana-redis-datasource.

tbraun-hk avatar tbraun-hk commented on July 19, 2024

@mikhailredis thank you very much for the quick reply! Here's a screenshot of my attempt of configuring the plugin, I hope, this is useful to you?
image

However, I just realized that I'm not able to access the same redis instance using redis-cli. So it's most probably not an error in your plugin but rather an issue in my setup. I'll keep investigating and send an update once I got redis-cli up and running.

According to Azure documentation, TLS/SSL is not supported by redis-cli: https://docs.microsoft.com/de-de/azure/azure-cache-for-redis/cache-how-to-redis-cli-tool

from grafana-redis-datasource.

tbraun-hk avatar tbraun-hk commented on July 19, 2024

OK, here's a success message: After enabling unencrypted access to redis, the plugin is working flawlessly!
image

image

Still, it would be great to be able to use TLS encryption. Maybe there's a way?
I really appreciate the time and effort you're making in providing and supporting this plugin, @mehmetcakmaz. Thank you very much!

from grafana-redis-datasource.

mikhail-vl avatar mikhail-vl commented on July 19, 2024

@tbraun-hk Please try to switch "TLS Client Authentication" to enable and provide Authority certificate or enable 'Skip Verify'. Don't need to provide client certificate or key if you don't use them.

from grafana-redis-datasource.

mikhail-vl avatar mikhail-vl commented on July 19, 2024

@tbraun-hk You are very welcome! Let me know if you need anything else.

from grafana-redis-datasource.

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.