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

[BUG] Unable to use Ddownload #46

Closed
1 task done
the-unknown opened this issue Dec 27, 2023 · 6 comments
Closed
1 task done

[BUG] Unable to use Ddownload #46

the-unknown opened this issue Dec 27, 2023 · 6 comments

Comments

@the-unknown
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When I try to add my ddownload account, the account is shown as " not valid".
Looking at the logs, it shows Could not resolve host: ddownload.com

Expected Behavior

Account should work without an issue

Steps To Reproduce

  1. Setup a Raspberry Pi with Rasberry Pi OS
  2. Install Docker incl. docker compose
  3. Get docker compose file content from from README
  4. run the server

Environment

- OS:Rasberry Pi OS (Debian 12) aarch64
- How docker service was installed:
Using this tutorial: https://docs.docker.com/engine/install/debian/

CPU architecture

arm64

Docker creation

---
version: "2.1"
services:
  pyload-ng:
    image: lscr.io/linuxserver/pyload-ng:latest
    container_name: pyload-ng
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
    volumes:
      - ./config:/config
      - /media/terrastore/downloads:/downloads
    ports:
      - 8000:8000
      - 9666:9666 #optional
    restart: unless-stopped


### Container logs

```bash
392	2023-12-27 14:13:43	INFO	pyload	ACCOUNT DdownloadCom: Adding user `ksu*******`...
393	2023-12-27 14:13:43	DEBUG	pyload	ACCOUNT DdownloadCom: Reached login timeout for user `ksu****`
394	2023-12-27 14:13:43	INFO	pyload	ACCOUNT DdownloadCom: Login user `ksu****`...
395	2023-12-27 14:13:43	DEBUG	pyload	ACCOUNT DdownloadCom: LOAD URL http://ddownload.com/login.html | get={} | post={} | ref=True | cookies=True | just_header=False | decode=True | multipart=False | redirect=True | req=None
396	2023-12-27 14:13:48	ERROR	pyload	ACCOUNT DdownloadCom: Could not login user `ksu****` | (6, 'Could not resolve host: ddownload.com')
397	? 	?	?	Traceback (most recent call last):
398	? 	?	?	  File "/lsiopy/lib/python3.11/site-packages/pyload/plugins/base/account.py", line 138, in login
399	? 	?	?	    self.signin(self.user, self.info["login"]["password"], self.info["data"])
400	? 	?	?	  File "/lsiopy/lib/python3.11/site-packages/pyload/plugins/base/xfs_account.py", line 188, in signin
401	? 	?	?	    self.data = self.load(self.LOGIN_URL, cookies=self.COOKIES)
402	? 	?	?	                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
403	? 	?	?	  File "/lsiopy/lib/python3.11/site-packages/pyload/plugins/base/plugin.py", line 217, in load
404	? 	?	?	    html = req.load(
405	? 	?	?	           ^^^^^^^^^
406	? 	?	?	  File "/lsiopy/lib/python3.11/site-packages/pyload/core/network/browser.py", line 127, in load
407	? 	?	?	    return self.http.load(*args, **kwargs)
408	? 	?	?	           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
409	? 	?	?	  File "/lsiopy/lib/python3.11/site-packages/pyload/core/network/http/http_request.py", line 311, in load
410	? 	?	?	    self.c.perform()
411	? 	?	?	pycurl.error: (6, 'Could not resolve host: ddownload.com')
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@j0nnymoe
Copy link
Member

Could not resolve host: ddownload.com

This is an issue with your networking, not with the container. Make sure your host can resolve that host first.

@the-unknown
Copy link
Author

sorry, my bad!
You where right.
I added network_mode: 'host' to my docker-compose and now it works!

@j0nnymoe
Copy link
Member

That's probably not the correct solution but at least it proves that it's not the container at fault :)

@LinuxServer-CI
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@homerr homerr closed this as not planned Won't fix, can't repro, duplicate, stale Mar 19, 2024
@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Mar 19, 2024
Copy link

This issue is locked due to inactivity

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

4 participants