Skip to content

Issue with Tor configuration causing unnecessary force closures #3051

Open
@rorp

Description

@rorp

The Tor network is not very reliable, as it often experiences intermittent errors that can persist for weeks.

For some reason, the current implementation of Eclair does not allow for the establishment of outbound connections to clearnet addresses over Tor when

eclair.socks5.enabled = true
eclair.socks5.use-for-tor = true
eclair.socks5.use-for-ipv6 = true
eclair.socks5.use-for-ipv6 = true

As a result, unnecessary force closures occur when the connection to an onion address drops due to a Tor issue. When Eclair attempts to reconnect and fails repeatedly, it does not fall back to connecting to an available clearnet address over Tor, which could provide a more stable connection.

Additionally, I've encountered another issue that may be unrelated. When

eclair.socks5.enabled = true
eclair.socks5.use-for-tor = true
eclair.socks5.use-for-ipv6 = false
eclair.socks5.use-for-ipv6 = false

connections to onion addresses are not established at all. It appears that use-for-tor configuration parameters is not being honored, which is not the intended behavior when I initially introduced it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions