When server is running i get spam in logs - error got NULL list #403
Labels
No labels
bug
duplicate
enhancement
help wanted
in progress...
information
invalid
not enough info
priority high
priority low
priority normal
question
request
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Techwizz/pvpgn-server#403
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is there a way to make this not always show up every 1 min? it creates a lot of unneeded spam in the logs.
Also why does it say error got NULL list? i was logged in so the list shouldn't have been null/empty.
May 15 16:52:26 [error] pvpgn::list_get_length: got NULL list
May 15 16:53:26 [error] pvpgn::list_get_length: got NULL list
May 15 16:54:26 [error] pvpgn::list_get_length: got NULL list
i get these every 1 min regardless is a user is logged in or not.
I can't reproduce this.
@WC3Forever what did you change in default pvpgn configuration (or in database) so you get these errors appear for every minute?
I didnt edit the database but i did edit the config, do you have any idea of what settings would affect this or want me to load my whole config here? Or i guess i could just paste the setting variable names.
The error must be reproduced on a new installation. It would be excellent if you can do it and find which parameters that you modified causes these errors.
Lists with usage of
list_get_length
are everywhere in pvpgn: connections, queue, accounts, games, etc. It's difficult to understand whats wrong without a reproduction, only by several lines of log.here is my configs data
Ok, I installed a whole new Win7 Pro x64 OS on VMware, installed all the apps needed for installing this server and same result. Only changes i made is in the config to make it use the sql server. i chose option 1 for the mysql version when installing the server. I used 2017 visual studio. not sure what else. If you guys cant reproduce this what are all the apps needed for install? even list the MS visual c++ 2013 needed for the sql and 2012 x86 needed for the server to install etc.
May 20 13:34:48 [info ] pvpgn::bnetd::conn_destroy: [592] closed file connection
May 20 13:35:20 [error] pvpgn::list_get_length: got NULL list
May 20 13:35:29 [info ] pvpgn::bnetd::conn_destroy: [468] "testuser" logged out
May 20 13:35:29 [info ] pvpgn::bnetd::conn_destroy: [468] closed bnet connection
May 20 13:36:20 [error] pvpgn::list_get_length: got NULL list
May 20 13:37:20 [error] pvpgn::list_get_length: got NULL list
May 20 13:38:20 [error] pvpgn::list_get_length: got NULL list
May 20 13:39:20 [error] pvpgn::list_get_length: got NULL list
May 20 13:40:20 [error] pvpgn::list_get_length: got NULL list
May 20 13:41:20 [error] pvpgn::list_get_length: got NULL list
May 20 13:42:20 [error] pvpgn::list_get_length: got NULL list
May 20 13:43:20 [error] pvpgn::list_get_length: got NULL list
etc....................
This is the issue! its the tracking and it checks it every 60 sec which is why it probably had that error every 60 sec.
May 20 17:18:25 [error] pvpgn::host_lookup: could not lookup host "bntrack.darkwings.org"
May 20 17:18:25 [error] pvpgn::addr_create_str: could not lookup host "bntrack.darkwings.org"
May 20 17:18:25 [error] pvpgn::addrlist_append: could not create addr
May 20 17:18:25 [error] pvpgn::addrlist_create: could not append to newly created addrlist
May 20 17:18:25 [error] pvpgn::list_destroy: got non-empty list
May 20 17:18:25 [error] pvpgn::bnetd::tracker_set_servers: could not create tracking server list
how do i make the site trakcing work for my server? does that mean like making the site see my server user base? like on http://track.pvpgn.org/
According to your logs it can't resolve some of the trackers which are apparently dead, removing them from the list should do it.
ok which ones are live these days? ill remove the rest.
I can confirm the issue.
I guess the message type must be changed from
error
towarn
ordebug
, because null list is not actually a problem.