Git Product home page Git Product logo

Comments (6)

jamesholcomb avatar jamesholcomb commented on June 5, 2024 1

The thread seems to suggest using bind 0.0.0.0 in the redis config. I use the bitnami helm chart which already does this.

I tried testing with a simple [email protected] setup using the port forwarding from above (rdcli does not use ioredis):

const Redis = require("ioredis")

const redis = new Redis("redis://localhost:54321")

redis.info().then((res) => {
  console.log(res)

  process.exit(0)
})

output was

Handling connection for 54321
# Server
redis_version:5.0.7
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:3259c77a1d3a0c8d
redis_mode:standalone
os:Linux 4.14.138+ x86_64
arch_bits:64
multiplexing_api:epoll
atomicvar_api:atomic-builtin
gcc_version:6.3.0
process_id:1
run_id:04681e84ee9177cde753db0ec7ee744b2a643a17
tcp_port:6379
uptime_in_seconds:49342
uptime_in_days:0
hz:10
configured_hz:10
lru_clock:5111033
executable:/opt/bitnami/redis/bin/redis-server
config_file:/opt/bitnami/redis/etc/redis.conf

If I do bull-repl connect -r 127.0.0.1:54321 myqueue, it connects, but it is my local macOS redis instance, not the one port forwarded on k8s.

from bull-repl.

darky avatar darky commented on June 5, 2024

Maybe this can help you
redis/ioredis#1036

from bull-repl.

jamesholcomb avatar jamesholcomb commented on June 5, 2024

Thanks @darky I'll take a look.

from bull-repl.

darky avatar darky commented on June 5, 2024

Thanks! I will bump 1.1.1, when go home

from bull-repl.

trathailoi avatar trathailoi commented on June 5, 2024

The thread seems to suggest using bind 0.0.0.0 in the redis config. I use the bitnami helm chart which already does this.

I tried testing with a simple [email protected] setup using the port forwarding from above (rdcli does not use ioredis):

const Redis = require("ioredis")

const redis = new Redis("redis://localhost:54321")

redis.info().then((res) => {
  console.log(res)

  process.exit(0)
})

output was

Handling connection for 54321
# Server
redis_version:5.0.7
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:3259c77a1d3a0c8d
redis_mode:standalone
os:Linux 4.14.138+ x86_64
arch_bits:64
multiplexing_api:epoll
atomicvar_api:atomic-builtin
gcc_version:6.3.0
process_id:1
run_id:04681e84ee9177cde753db0ec7ee744b2a643a17
tcp_port:6379
uptime_in_seconds:49342
uptime_in_days:0
hz:10
configured_hz:10
lru_clock:5111033
executable:/opt/bitnami/redis/bin/redis-server
config_file:/opt/bitnami/redis/etc/redis.conf

If I do bull-repl connect -r 127.0.0.1:54321 myqueue, it connects, but it is my local macOS redis instance, not the one port forwarded on k8s.

I'm using the bitnami helm chart, and getting the same issue. Have you found any solution for this yet ? Please share if you have one. Thank you in advance!

from bull-repl.

jamesholcomb avatar jamesholcomb commented on June 5, 2024

Are you on @latest or @next?

from bull-repl.

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.