Code Monkey home page Code Monkey logo

Comments (21)

p3x-robot avatar p3x-robot commented on June 3, 2024

sorry, i do not support other than Redis as I have no AWS account besides...

from redis-ui.

jangammohan avatar jangammohan commented on June 3, 2024

@p3x-robot I am trying to connect to redis TLS enabled instance, does redis-ui support TLS ? if yes could you please share connection configuration details? I use Kubernetes for deployment.

from redis-ui.

p3x-robot avatar p3x-robot commented on June 3, 2024

TLS is not supported.

from redis-ui.

p3x-robot avatar p3x-robot commented on June 3, 2024

i mean, i could do it, but i do not have a TLS instance to test it, it is very straightforward to do it.

const redis = new Redis({
  host: "localhost",
  tls: {
    // Refer to `tls.connect()` section in
    // https://nodejs.org/api/tls.html
    // for all supported options
    ca: fs.readFileSync("cert.pem"),
  },
});

from redis-ui.

jangammohan avatar jangammohan commented on June 3, 2024

@p3x-robot Could you let me know where exactly the above the line of code goes in your Redis-ui-server, I will give it a try

from redis-ui.

p3x-robot avatar p3x-robot commented on June 3, 2024

it requires multiple point of changes (ui and server), and multiple languages.:
https://github.com/patrikx3/redis-ui#development

from redis-ui.

p3x-robot avatar p3x-robot commented on June 3, 2024

actually, it is very fast to add this tls options.
hang on i will do it in a few yours and you can test.

from redis-ui.

jangammohan avatar jangammohan commented on June 3, 2024

@p3x-robot Thank you very much, will wait for your changes.

from redis-ui.

p3x-robot avatar p3x-robot commented on June 3, 2024

https://github.com/patrikx3/redis-ui/releases/tag/v2021.10.119

if it is not working right away, it will be done later in a few months.

from redis-ui.

p3x-robot avatar p3x-robot commented on June 3, 2024

i just added the code, but i could not test at all.

from redis-ui.

jangammohan avatar jangammohan commented on June 3, 2024

@p3x-robot thanks once again, I will test & update you.

from redis-ui.

p3x-robot avatar p3x-robot commented on June 3, 2024

ok, not working, need more configuration

from redis-ui.

jangammohan avatar jangammohan commented on June 3, 2024

I haven't tested it yet, was occupied with other things, will test & update you.

from redis-ui.

p3x-robot avatar p3x-robot commented on June 3, 2024

it is working with Redis v6 as the README.md says.
It works @ https://p3x.redis.patrikx3.com/

from redis-ui.

p3x-robot avatar p3x-robot commented on June 3, 2024

https://github.com/patrikx3/redis-ui/releases/tag/v2021.10.125

from redis-ui.

jangammohan avatar jangammohan commented on June 3, 2024

@p3x-robot I followed this link - https://spin.atomicobject.com/2021/08/05/configuring-redis-tls/ and configured tls enabled redis instance locally.

But with the redis UI it did not work, I used node package - [email protected]

getting following error:

[P3XRS] [PID: 000001] Error: error:0909006C:PEM routines:get_name:no start line
at node:internal/tls/secure-context:65:13
at Array.forEach ()
at setCerts (node:internal/tls/secure-context:63:3)
at configSecureContext (node:internal/tls/secure-context:152:5)
at Object.createSecureContext (node:_tls_common:116:3)
at Object.connect (node:_tls_wrap:1621:48)
at /usr/local/lib/node_modules/p3x-redis-ui/node_modules/ioredis/built/connectors/StandaloneConnector.js:55:45
at processTicksAndRejections (node:internal/process/task_queues:78:11) {
library: 'PEM routines',
function: 'get_name',
reason: 'no start line',
code: 'ERR_OSSL_PEM_NO_START_LINE'

Redis-UI connection screenshot

image

image

image

from redis-ui.

p3x-robot avatar p3x-robot commented on June 3, 2024

you have stripped off the ERR_OSSL_PEM_NO_START_LINE
-----BEGIN CERTIFICATE-----
and
-----BEGIN RSA PRIVATE KEY-----
and
-----BEGIN CERTIFICATE-----
for starting and missing the end lines as well.

from redis-ui.

jangammohan avatar jangammohan commented on June 3, 2024

@p3x-robot Thanks for the quick response, I am getting this error any idea?

Redis-ui Log details:

[P3XRS] [PID: 000001] Error: connect ECONNREFUSED 10.97.100.71:30104
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1146:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '10.97.100.71',
port: 30104
}

image

from redis-ui.

p3x-robot avatar p3x-robot commented on June 3, 2024

no idea. on my test server it works.

from redis-ui.

p3x-robot avatar p3x-robot commented on June 3, 2024

by the way the error exactly shows the error. debug

from redis-ui.

jangammohan avatar jangammohan commented on June 3, 2024

@p3x-robot Its working now, in redis.conf file commented this line "bind 127.0.0.1" and changed "protected-mode" to no. Now able to connect using redis-ui.

Thanks for your support and providing code changes quickly.

from redis-ui.

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.