Comments (22)
We're aware of this one, it's a remnant of a delete DB column. You could either remove the remaining references to the Email field or add the Email field to the users_main table. It's unused by the code but still referenced.
As for radiance, looks like the tracker is trying to save stats for a torrent that doesn't really exist, did you wipe your DB while the tracker was running?
from luminance.
Yeap I done that before and all is working fine.
As for Radiance I did not wipe the DB after uploading a torrent, checking the db table data I can see there is indeed a group ID of 1 associated with the torrent entry. 🤔 I'll just clean up everything and see if I can reproduce the issue again, could have been a hiccup.
from luminance.
Wiped everything and am still having the issue with group ID on new torrents, weird.
Edit: disabling strict mode did not resolve the issue and it seems that broke seeding unless my end is being strange. (Seeders / leechers show on the site, announce still OK but cannot download)
correction: disabling strict mode does remove the error just for me it has broken things.
from luminance.
hm now I am constantly getting: 1 failed announcements.
from luminance.
Seeds: | 0 of 1 connected | Peers: | 0 of 1 connected
Announce OK on host client
[Tracker status]
4 successful announcements
1 failed announcements
It can't be the seeder side as I am able to seed to anywhere else.
from luminance.
Bit of a mystery. Which DB are you using (MySQL or MariaDB) and what version?
We run MariaDB 10.2 on our site and it all works fine with that, but the tracker code has run on various version of MySQL/MariaDB for years now.
from luminance.
I am using MySQL, I could try switching to MariaDB.
from luminance.
Sorry for the late update. mariadb fixes the issue with the query error but same issue still persists which is being unable to seed to anyone and announcements failing. When the event loop is started is radiance supposed to print open: x connections: x etc because for me starting event loop is printed then nothing at all
hm, is listen path required in radiance?
from luminance.
listen_path is used for unix domain sockets, listen_host and listen_port are for network sockets. listen_path has some limitations and is really just for development purposes.
Printing starting event loop and nothing else is an indication that you have logging or daemon mode turned on, if it writes to logs then it won't write to console and for daemon mode it'll close all open file handles first.
If you want to view messages on the console in real time then use these settings:
daemonize = false
syslog_path = off
from luminance.
They're both left untouched from default but an older version of Radiance does print for me which is strange. With the loop supposedly running fine I still have an issue where a client cannot connect to a seeder, any ideas what could be causing this? All announcements seem fine until a client tries to download. I have some free time now so I'll actually look into my issues properly
from luminance.
With syslog_level set to trace you should see an output like below:
[2018-11-01 16:09:52] Running in Foreground
[2018-11-01 16:09:52] Connecting to DB to load site options
[2018-11-01 16:09:52] MySQL connection grab called
[2018-11-01 16:09:52] MySQL connection issued: 0 (0)
[2018-11-01 16:09:52] MySQL connection create called
[2018-11-01 16:09:52] MySQL connection created: 0 (0)
[2018-11-01 16:09:52] Querying DB for EnableIPv6Tracker option
[2018-11-01 16:09:52] Querying DB for SitewideDoubleseedEndTime option
[2018-11-01 16:09:52] Querying DB for SitewideDoubleseedMode option
[2018-11-01 16:09:52] Querying DB for SitewideDoubleseedStartTime option
[2018-11-01 16:09:52] Querying DB for SitewideFreeleechEndTime option
[2018-11-01 16:09:52] Querying DB for SitewideFreeleechMode option
[2018-11-01 16:09:52] Querying DB for SitewideFreeleechStartTime option
[2018-11-01 16:09:52] MySQL connection release called
[2018-11-01 16:09:52] MySQL connection released: 1 (1)
[2018-11-01 16:09:52] MySQL connection release called
[2018-11-01 16:09:52] MySQL connection released: 1 (0)
[2018-11-01 16:09:52] Connecting to DB to load users
[2018-11-01 16:09:52] MySQL connection grab called
[2018-11-01 16:09:52] MySQL connection issued: 1 (0)
[2018-11-01 16:09:52] Loaded 20 users
[2018-11-01 16:09:52] MySQL connection release called
[2018-11-01 16:09:52] MySQL connection released: 1 (1)
[2018-11-01 16:09:52] MySQL connection release called
[2018-11-01 16:09:52] MySQL connection released: 1 (0)
[2018-11-01 16:09:52] Connecting to DB to load torrents
[2018-11-01 16:09:52] MySQL connection grab called
[2018-11-01 16:09:52] MySQL connection issued: 1 (0)
[2018-11-01 16:09:52] Loaded 20432 torrents
[2018-11-01 16:09:52] MySQL connection release called
[2018-11-01 16:09:52] MySQL connection released: 1 (1)
[2018-11-01 16:09:52] MySQL connection release called
[2018-11-01 16:09:52] MySQL connection released: 1 (0)
[2018-11-01 16:09:52] Connecting to DB to load tokens
[2018-11-01 16:09:52] MySQL connection grab called
[2018-11-01 16:09:52] MySQL connection issued: 1 (0)
[2018-11-01 16:09:52] Loaded 0 tokens
[2018-11-01 16:09:52] MySQL connection release called
[2018-11-01 16:09:52] MySQL connection released: 1 (1)
[2018-11-01 16:09:52] MySQL connection release called
[2018-11-01 16:09:52] MySQL connection released: 1 (0)
[2018-11-01 16:09:52] Connecting to DB to load blacklist
[2018-11-01 16:09:52] MySQL connection grab called
[2018-11-01 16:09:52] MySQL connection issued: 1 (0)
[2018-11-01 16:09:52] Loaded 2 clients into the blacklist
[2018-11-01 16:09:52] MySQL connection release called
[2018-11-01 16:09:52] MySQL connection released: 1 (1)
[2018-11-01 16:09:52] MySQL connection release called
[2018-11-01 16:09:52] MySQL connection released: 1 (0)
[2018-11-01 16:09:52] Listening with IPv4 INET socket.
[2018-11-01 16:09:52] Sockets up on port 34000, starting event loop!
[2018-11-01 16:09:53] 0 open, 0 connections (0/s), 0 requests (0/s)
The biggest change in this release is the DB connection pool. The only required change is modifying the user loading query to not reference the IP column in users_main.
from luminance.
[2018-11-01 23:36:08] [info] Running in Foreground
[2018-11-01 23:36:08] [info] Clearing peerlists and resetting peer counts...
[2018-11-01 23:36:08] [info] done
[2018-11-01 23:36:08] [info] Assuming no blacklist desired, disabling
[2018-11-01 23:36:08] [info] Listening with IPv4 INET socket.
[2018-11-01 23:36:08] [info] Sockets up on port 1111, starting event loop!
is what I get when I enable syslog_path /var/log/radiance/radiance.log
from luminance.
A few things to try:
- Increase syslog_level to trace and see if there's anthing else going on.
- Try a build with --enable-debug as one of the configuration options.
from luminance.
[2018-11-02 00:34:19] [info] Running in Foreground
[2018-11-02 00:34:19] [info] Clearing peerlists and resetting peer counts...
[2018-11-02 00:34:19] [trace] Connecting to DB to clear peer data
[2018-11-02 00:34:19] [trace] MySQL connection grab called
[2018-11-02 00:34:19] [trace] MySQL connection issued: 0 (0)
[2018-11-02 00:34:19] [trace] MySQL connection create called
[2018-11-02 00:34:19] [trace] MySQL connection created: 0 (0)
[2018-11-02 00:34:19] [trace] MySQL connection release called
[2018-11-02 00:34:19] [trace] MySQL connection released: 1 (1)
[2018-11-02 00:34:19] [trace] MySQL connection release called
[2018-11-02 00:34:19] [trace] MySQL connection released: 1 (0)
[2018-11-02 00:34:19] [info] done
[2018-11-02 00:34:19] [trace] Connecting to DB to load site options
[2018-11-02 00:34:19] [trace] MySQL connection grab called
[2018-11-02 00:34:19] [trace] MySQL connection issued: 1 (0)
[2018-11-02 00:34:19] [trace] Querying DB for EnableIPv6Tracker option
[2018-11-02 00:34:19] [trace] Querying DB for SitewideDoubleseedEndTime option
[2018-11-02 00:34:19] [trace] Querying DB for SitewideDoubleseedMode option
[2018-11-02 00:34:19] [trace] Querying DB for SitewideDoubleseedStartTime option
[2018-11-02 00:34:19] [trace] Querying DB for SitewideFreeleechEndTime option
[2018-11-02 00:34:19] [trace] Querying DB for SitewideFreeleechMode option
[2018-11-02 00:34:19] [trace] Querying DB for SitewideFreeleechStartTime option
[2018-11-02 00:34:19] [trace] MySQL connection release called
[2018-11-02 00:34:19] [trace] MySQL connection released: 1 (1)
[2018-11-02 00:34:19] [trace] MySQL connection release called
[2018-11-02 00:34:19] [trace] MySQL connection released: 1 (0)
[2018-11-02 00:34:19] [trace] Connecting to DB to load users
[2018-11-02 00:34:19] [trace] MySQL connection grab called
[2018-11-02 00:34:19] [trace] MySQL connection issued: 1 (0)
[2018-11-02 00:34:19] [trace] Loaded 1 users
[2018-11-02 00:34:19] [trace] MySQL connection release called
[2018-11-02 00:34:19] [trace] MySQL connection released: 1 (1)
[2018-11-02 00:34:19] [trace] MySQL connection release called
[2018-11-02 00:34:19] [trace] MySQL connection released: 1 (0)
[2018-11-02 00:34:19] [trace] Connecting to DB to load torrents
[2018-11-02 00:34:19] [trace] MySQL connection grab called
[2018-11-02 00:34:19] [trace] MySQL connection issued: 1 (0)
[2018-11-02 00:34:19] [trace] Loaded 6 torrents
[2018-11-02 00:34:19] [trace] MySQL connection release called
[2018-11-02 00:34:19] [trace] MySQL connection released: 1 (1)
[2018-11-02 00:34:19] [trace] MySQL connection release called
[2018-11-02 00:34:19] [trace] MySQL connection released: 1 (0)
[2018-11-02 00:34:19] [trace] Connecting to DB to load tokens
[2018-11-02 00:34:19] [trace] MySQL connection grab called
[2018-11-02 00:34:19] [trace] MySQL connection issued: 1 (0)
[2018-11-02 00:34:19] [trace] Loaded 0 tokens
[2018-11-02 00:34:19] [trace] MySQL connection release called
[2018-11-02 00:34:19] [trace] MySQL connection released: 1 (1)
[2018-11-02 00:34:19] [trace] MySQL connection release called
[2018-11-02 00:34:19] [trace] MySQL connection released: 1 (0)
[2018-11-02 00:34:19] [trace] Connecting to DB to load blacklist
[2018-11-02 00:34:19] [trace] MySQL connection grab called
[2018-11-02 00:34:19] [trace] MySQL connection issued: 1 (0)
[2018-11-02 00:34:19] [info] Assuming no blacklist desired, disabling
[2018-11-02 00:34:19] [trace] MySQL connection release called
[2018-11-02 00:34:19] [trace] MySQL connection released: 1 (1)
[2018-11-02 00:34:19] [trace] MySQL connection release called
[2018-11-02 00:34:19] [trace] MySQL connection released: 1 (0)
[2018-11-02 00:34:19] [info] Listening with IPv4 INET socket.
[2018-11-02 00:34:19] [info] Sockets up on port 1111, starting event loop!
[2018-11-02 00:34:22] [debug] 0 open, 0 connections (0/s), 0 requests (0/s)
[2018-11-02 00:34:33] [trace] Peer with IPv4 address censored added.
[2018-11-02 00:34:34] [trace] Connecting to DB to flush peers
[2018-11-02 00:34:34] [trace] MySQL connection grab called
[2018-11-02 00:34:34] [trace] MySQL connection issued: 1 (0)
[2018-11-02 00:34:34] [trace] Connecting to DB to flush torrents
[2018-11-02 00:34:34] [trace] MySQL connection grab called
[2018-11-02 00:34:34] [trace] MySQL connection issued: 1 (1)
[2018-11-02 00:34:34] [trace] MySQL connection create called
[2018-11-02 00:34:34] [trace] MySQL connection created: 1 (1)
[2018-11-02 00:34:34] [trace] MySQL connection release called
[2018-11-02 00:34:34] [trace] MySQL connection released: 2 (2)
[2018-11-02 00:34:34] [trace] peers flushed in 1201 microseconds.
[2018-11-02 00:34:34] [trace] MySQL connection release called
[2018-11-02 00:34:34] [trace] MySQL connection released: 2 (1)
[2018-11-02 00:34:37] [trace] Torrent flush queue size: 2, next query length: 273
[2018-11-02 00:34:37] [trace] MySQL connection release called
[2018-11-02 00:34:37] [trace] MySQL connection released: 2 (0)
[2018-11-02 00:34:37] [trace] Connecting to DB to flush torrents
[2018-11-02 00:34:37] [trace] MySQL connection grab called
[2018-11-02 00:34:37] [trace] MySQL connection issued: 2 (0)
[2018-11-02 00:34:37] [trace] MySQL connection release called
[2018-11-02 00:34:37] [trace] MySQL connection released: 2 (1)
[2018-11-02 00:34:40] [trace] Torrent flush queue size: 2, next query length: 273
[2018-11-02 00:34:40] [trace] MySQL connection release called
[2018-11-02 00:34:40] [trace] MySQL connection released: 2 (0)
[2018-11-02 00:34:40] [trace] Connecting to DB to flush torrents
[2018-11-02 00:34:40] [trace] MySQL connection grab called
[2018-11-02 00:34:40] [trace] MySQL connection issued: 2 (0)
[2018-11-02 00:34:40] [trace] MySQL connection release called
[2018-11-02 00:34:40] [trace] MySQL connection released: 2 (1)
[2018-11-02 00:34:43] [trace] Torrent flush queue size: 2, next query length: 273
[2018-11-02 00:34:43] [trace] MySQL connection release called
[2018-11-02 00:34:43] [trace] MySQL connection released: 2 (0)
[2018-11-02 00:34:43] [trace] Connecting to DB to flush torrents
[2018-11-02 00:34:43] [trace] MySQL connection grab called
[2018-11-02 00:34:43] [trace] MySQL connection issued: 2 (0)
[2018-11-02 00:34:43] [trace] MySQL connection release called
[2018-11-02 00:34:43] [trace] MySQL connection released: 2 (1)
[2018-11-02 00:34:46] [trace] Torrent flush queue size: 2, next query length: 273
[2018-11-02 00:34:46] [trace] MySQL connection release called
[2018-11-02 00:34:46] [trace] MySQL connection released: 2 (0)
[2018-11-02 00:34:46] [trace] Connecting to DB to flush torrents
[2018-11-02 00:34:46] [trace] MySQL connection grab called
[2018-11-02 00:34:46] [trace] MySQL connection issued: 2 (0)
[2018-11-02 00:34:46] [trace] MySQL connection release called
[2018-11-02 00:34:46] [trace] MySQL connection released: 2 (1)
[2018-11-02 00:34:49] [trace] Torrent flush queue size: 2, next query length: 273
[2018-11-02 00:34:49] [trace] MySQL connection release called
[2018-11-02 00:34:49] [trace] MySQL connection released: 2 (0)
[2018-11-02 00:34:49] [trace] Connecting to DB to flush torrents
[2018-11-02 00:34:49] [trace] MySQL connection grab called
[2018-11-02 00:34:49] [trace] MySQL connection issued: 2 (0)
[2018-11-02 00:34:49] [trace] MySQL connection release called
[2018-11-02 00:34:49] [trace] MySQL connection released: 2 (1)
[2018-11-02 00:34:52] [trace] Torrent flush queue size: 2, next query length: 273
[2018-11-02 00:34:52] [trace] MySQL connection release called
[2018-11-02 00:34:52] [trace] MySQL connection released: 2 (0)
[2018-11-02 00:34:52] [trace] Connecting to DB to flush torrents
[2018-11-02 00:34:52] [trace] MySQL connection grab called
[2018-11-02 00:34:52] [trace] MySQL connection issued: 2 (0)
[2018-11-02 00:34:52] [trace] MySQL connection release called
[2018-11-02 00:34:52] [trace] MySQL connection released: 2 (1)
I do have 1 request 1 connection further down the log but a lot of repetitive filler
from luminance.
Okay, this all looks normal.
So can you see anything in the log that matches up to your failed announce?
from luminance.
Nope, all looks the same. Is luminance compatible with any other trackers? Would be interesting to test.
from luminance.
Nope, only Radiance.
Is the failed announce listed in your client or only in the tracker stats page?
from luminance.
Everything is fine in client. The failed announce is listed in tracker status amongst supposedly successful announcements and it is also tracking leech / seed fine. Very odd
from luminance.
Hmmmm, might just be a counting error somehow?
I'll try to recreate it. At this point though, if the client is happy and the log shows nothing I'd kind of ignore it, as the tracker itself appears to be functioning.
from luminance.
I could ignore it if it were able to connect to seeders, in my case client cannot download from any seeders.
Seeds: | 0 of 1 connected | Peers: | 0 of 1 connected, I'll just try to find the underlining issue.
from luminance.
The tracker will never return your own seeds as in, if you have two clients announcing with the same passkey it will not connect them. I assume you've got two clients on two IPs with two different passkeys, right?
And hopefully one or both of them is connectable.
from luminance.
Issue resolved by changing keys. Sorry for the trouble.
from luminance.
Related Issues (20)
- HTTP Error 500 when uploading a torrent HOT 1
- 504 Gateway Time-out HOT 2
- Composer installed in folder, but still asking for it HOT 3
- Users unable to connect to each other. HOT 4
- Hello HOT 1
- php7.4 Installation error HOT 6
- Error message: Invalid e-mail format.
- 404 Not Found HOT 3
- No input file specified. HOT 7
- no javascript loaded HOT 2
- bots login
- twing templates HOT 1
- Update HOT 7
- date
- Internal 500 Error [Render.php]
- IP-related 500 Internal Server Error HOT 1
- image host
- Importing tools
- composer error HOT 1
- Invalid token format HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from luminance.