Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sock connection problem #654

Open
1 task
pindaroli opened this issue Jul 8, 2023 · 4 comments
Open
1 task

sock connection problem #654

pindaroli opened this issue Jul 8, 2023 · 4 comments

Comments

@pindaroli
Copy link

Type: Bug Report

  • Try to follow the update procedure described in the README and try again before opening this issue.

Your Environment

services:
flood:
hostname: flood
image: jesec/flood
user: 1000:1000
restart: unless-stopped
command: --port 3001 --allowedpath /data
environment:
HOME: /config

volumes:
  - /home/olindo/dlconf:/config
  - /home/olindo/drevo/rtorrent/data:/data
ports:
  - 3001:3001

rtorrent:
hostname: rtorrent
image: jesec/rtorrent
user: 1000:1000
restart: unless-stopped
command: -o network.port_range.set=6881-6881,system.daemon.set=true
environment:
HOME: /config
volumes:
- /home/olindo/dlconf:/config
- /home/olindo/drevo/rtorrent/data:/data
ports:
- 6881:6881

Summary

Doesn't add torrent i foun in the log:

Error: connect ECONNREFUSED /config/.local/share/rtorrent/rtorrent.sock
at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1146:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '/config/.local/share/rtorrent/rtorrent.sock'
}

Expected Behavior

it connects and regulary work

Current Behavior

Possible Solution

Steps to Reproduce

Context

@trim21
Copy link
Collaborator

trim21 commented Jul 8, 2023

did you mount your socket file into flood container correctly?

maybe socket file is not located at /config/.local/share/rtorrent/rtorrent.sock of container, can you find it in your host dir /home/olindo/dlconf/.local/share/rtorrent/ ?.

@pindaroli
Copy link
Author

added your suggest mapping and now:
rtorrent: Could not lock session directory: "/config/.local/share/rtorrent/.session/", held by "rtorrent-flood:+17".
Hint: use a consistent hostname so rTorrent can safely handle stale locks.
and now ?

@trim21
Copy link
Collaborator

trim21 commented Jul 8, 2023

I have no idea about this, you may need to see the document of rtorrent. Is there some old lock file exists? Or you are running multiple rtorrent instance?

@pindaroli
Copy link
Author

No it's inside a docker container

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants