nextcloud / nextcloud/notify_push

Redis TLS/User+Pass not working

Open
#173 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs info
Dominant language
Rust
Stars
344
Forks
64
Avg merge
2d 10h
Merged PRs (30d)
5

Description

This works on server:

'redis' =>
  array (
    'host' => 'tls://redis-8d5a784c-o8161d3b7.database',
    'port' => 20185,
    'user' => 'bast',
    'password' => 'AVNS_4zX7t5j',
    'dbindex' => 38,
    'timeout' => 10.0,
    'read_timeout' => 10.0,
    'retry_interval' => 500,
  ),

but notify_push can't connect to it:

Failed to setup redis subscription: Error while running redis query
WARN [notify_push] src/lib.rs:418: Redis server disconnected, reconnecting in 1s

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The reported failure points to src/lib.rs:418; start by tracing Redis subscription setup and how the TLS, user, and password options are parsed. Reproduce the connection failure with an equivalent configuration, then verify that the subscription connects successfully with TLS and authentication.

Written by the indexing model from the issue text.

Assessment

Tech stack
redis, rust
Domain
backend, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.