abique / hefur

Standalone C++ BitTorrent tracker
MIT License
192 stars 30 forks source link

Torrents are not added during announcement #51

Open adabru opened 1 month ago

adabru commented 1 month ago

I start hefur on my server:

sudo hefurd -log-level debug

s

I create a torrent from qbittorrent with udp://adabru.de:6969/announce as tracker on my local computer: image

I add the torrent to qbittorrent on my local computer to start seeding: image

I get a "tracker error":

image

The terminal on the server doesn't show any log.

I change udp://adabru.de:6969/announce to http://adabru.de:6969/announce in qbittorrent. Now hefur is logging that it got the announcement:

[~] sudo hefurd -log-level debug
2024-10-08 16:26:29.0921 http: info: 84.143.41.76 GET adabru.de:/announce?info_hash=%bcb%60%cf%9d%7d%feU%9f%f9%e7rV6%9d%1cG%3b%a12&peer_id=-qB5000-SqYwI4chIzRu&port=24107&uploaded=0&downloaded=0&left=0&corrupt=0&key=0C1173BF&event=started&numwant=200&compact=1&no_peer_id=1&supportcrypto=1&redundant=0
2024-10-08 16:26:29.0921 hefur: info: Got announce from 84.143.41.76:24107

Still, if i go to http://adabru.de:6969/stat, it doesn't show any torrent:

s

Downloading the file from the seeding computer doesn't work.

abique commented 1 month ago

Thanks for the bug report.

Musickiller commented 1 week ago

same here. Without /announce, it returns Ошибка: Offline (File not found: http://107.189.24.196:6969?info_hash=...&peer_id=-BI3700-40Z5dnKOSLng&requirecrypto=1&port=25969&azudp=29784&uploaded=0&downloaded=0&left=0&corrupt=0&event=started&numwant=43&no_peer_id=1&compact=1&key=1PT24gtz&azver=3 [error=‹

With /announce, just Ошибка: Failed (torrent not found)

My specs: archlinux on remote server hefurd 1.0