X-Base Bugtracking

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
000854xShunterOpenTTD interfacepublic2012-05-19 08:162012-06-26 07:42
ReporterAcidWeb 
Assigned ToxOR 
PrioritynormalSeveritymajorReproducibilityrandom
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Versionv0.3 
Summary000854: Admin Interface reconnection lockup
DescriptionSometimes (3 times in last month) when the server was restarted using RestartTime feature (Type=server (Check ticket 832)) xShunter can't connect to admin port and starting to spam with connection requests.

AdminInterface.log
2012-05-19 04:00:04,272 [ERROR] - An error of type ConnectionError occured! (Autoreconnect: yes)
2012-05-19 04:00:04,518 [ERROR] - An error of type ConnectionError occured! (Autoreconnect: yes)
2012-05-19 04:00:04,519 [ERROR] - An error of type ConnectionError occured! (Autoreconnect: yes)
2012-05-19 04:00:04,519 [ERROR] - An error of type ConnectionError occured! (Autoreconnect: yes)
2012-05-19 04:00:04,520 [ERROR] - An error of type ConnectionError occured! (Autoreconnect: yes)
2012-05-19 04:00:04,521 [ERROR] - An error of type ConnectionError occured! (Autoreconnect: yes)
2012-05-19 04:00:04,522 [ERROR] - An error of type ConnectionError occured! (Autoreconnect: yes)
2012-05-19 04:00:04,523 [ERROR] - An error of type ConnectionError occured! (Autoreconnect: yes)
2012-05-19 04:00:04,524 [ERROR] - An error of type ConnectionError occured! (Autoreconnect: yes)
2012-05-19 04:00:04,525 [ERROR] - An error of type ConnectionError occured! (Autoreconnect: yes)
...
This same error 8 133 711 times.
...
2012-05-19 06:00:05,338 [ERROR] - An error of type ConnectionError occured! (Autoreconnect: yes)
2012-05-19 06:00:05,339 [ERROR] - An error of type ConnectionError occured! (Autoreconnect: yes)
2012-05-19 06:00:05,340 [ERROR] - An error of type ConnectionError occured! (Autoreconnect: yes)
2012-05-19 06:00:05,340 [ERROR] - An error of type ConnectionError occured! (Autoreconnect: yes)
2012-05-19 06:00:05,341 [ERROR] - An error of type ConnectionError occured! (Autoreconnect: yes)
2012-05-19 06:00:05,342 [ERROR] - An error of type ConnectionError occured! (Autoreconnect: yes)
2012-05-19 06:00:05,353 [ERROR] - An error of type ConnectionError occured! (Autoreconnect: yes)
2012-05-19 06:00:05,354 [ERROR] - An error of type ConnectionError occured! (Autoreconnect: yes)
2012-05-19 06:00:05,354 [ERROR] - An error of type ConnectionError occured! (Autoreconnect: yes)
2012-05-19 06:00:05,355 [ERROR] - An error of type ConnectionError occured! (Autoreconnect: yes)

Exception.Log
...
2012-05-19 06:00:05,355 [ERROR] - System.Net.Sockets.SocketException: Connection refused
  at System.Net.Sockets.Socket+SocketAsyncResult.CheckIfThrowDelayedException () [0x00000] in <filename unknown>:0
  at System.Net.Sockets.Socket.EndConnect (IAsyncResult result) [0x00000] in <filename unknown>:0
  at XBase.Openttd.AdminInterface.OpenttdAdmin.#=q1tMmRAtstgKjDWYNn0CvqWk0QMCX3qrObCY1x5w6h_4= (IAsyncResult #=qcbBoeF9L2Gp4EhO6pLB2iw==) [0x00000] in <filename unknown>:0 : Connection refused
  at System.Net.Sockets.Socket+SocketAsyncResult.CheckIfThrowDelayedException () [0x00000] in <filename unknown>:0
  at System.Net.Sockets.Socket.EndConnect (IAsyncResult result) [0x00000] in <filename unknown>:0
  at XBase.Openttd.AdminInterface.OpenttdAdmin.#=q1tMmRAtstgKjDWYNn0CvqWk0QMCX3qrObCY1x5w6h_4= (IAsyncResult #=qcbBoeF9L2Gp4EhO6pLB2iw==) [0x00000] in <filename unknown>:0
...
Additional InformationCPU usage during the lockup:
http://aw.cap.im/2012-05-19_0808.png [^]
TagsNo tags attached.
SVN revision
Attached Files

- Relationships
related to 000867resolvedxOR IRC reconnection delay 

-  Notes
User avatar (0000446)
AcidWeb (reporter)
2012-05-20 22:03

xConsole output before server restart failure:
[22:00:00] [Incoming] dbg: [net] [admin] 'xShunter' (0.2.4507.5619) has disconnected
[22:00:01] [Network] <127.0.0.1:49249> Client requests to stop the application with command: exit
[22:00:01] [xConsole] Exiting application...
[22:00:01] [Outgoing] exit
[22:00:01] [Incoming] dbg: [net] [udp] queried from 93.120.248.191
[22:00:02] [Incoming] Saved config.
[22:00:02] [xConsole] Application hung, killing process...
[22:00:02] [xConsole] Process killed.
[22:00:02] [xConsole] Application exited.
[22:00:02] [Network] <127.0.0.1:49249> Client requests to start the application, arguments: -D -b8bpp-optimized -c /home/gserver/OpenTTD/B/xConsole/openttd.cfg
[22:00:02] [Network] <127.0.0.1:49249> Client requests to execute the console command: saveconfig
[22:00:02] [Outgoing] saveconfig
[22:00:05] [xConsole] IOException in handlePacket(): Write fault on path /home/gserver/OpenTTD/B/xConsole/[Unknown]
User avatar (0000453)
xOR (administrator)
2012-05-27 19:35

won't be easy to find, as with all problems that are hard to reproduce, but i will do my best.
User avatar (0000478)
xOR (administrator)
2012-06-26 07:42

Not sure whether we fixed the actual root of the problem that caused the rapid automatic reconnections, but the lockup itself was fixed in any case by adding a delay of 10 seconds between reconnection attempts.


Copyright © 2000 - 2011 MantisBT Group
Time: 0.0892 seconds.
memory usage: 7,507 KB
Powered by Mantis Bugtracker