jimmykane/The-Three-Little-Pigs-Siri-Proxy — Issue #48: MySQL crashes Siri-Proxy
Author: e-Luksch
Created: 2012-01-25 15:00:54+00:00
State: open

I dont know if it's a windows problem or not, but Siri-Proxy seems to crash, when MySQL has a timeout.....
I dont see any reconection-function ... so I will try to create one!
I will response as soon as I got something.

Create server for iPhone connection
[2012-01-25 14:35:10 +0100 | Info - SiriProxy] Created a connection!
C:/Ruby193/jimmykane-Siri-Proxy/lib/siriproxy/db_classes.rb:274:in `prepare': MySQL server has gone away (Mysql::Error)
from C:/Ruby193/jimmykane-Siri-Proxy/lib/siriproxy/db_classes.rb:274:in `listkeys'
from C:/Ruby193/jimmykane-Siri-Proxy/lib/siriproxy/connection.rb:32:in `initialize'
from C:/Ruby193/jimmykane-Siri-Proxy/lib/siriproxy/connection/iphone.rb:16:in `initialize'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4.1-x86-mingw32/lib/em/connection.rb:55:in `blo
ck in new'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4.1-x86-mingw32/lib/em/connection.rb:49:in `ins
tance_eval'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4.1-x86-mingw32/lib/em/connection.rb:49:in `new
'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4.1-x86-mingw32/lib/eventmachine.rb:1416:in `ev
ent_callback'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4.1-x86-mingw32/lib/eventmachine.rb:179:in `run
_machine'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4.1-x86-mingw32/lib/eventmachine.rb:179:in `run
'
from C:/Ruby193/jimmykane-Siri-Proxy/lib/siriproxy.rb:61:in `initialize'
from C:/Ruby193/jimmykane-Siri-Proxy/lib/siriproxy/command_line.rb:102:in `new'
from C:/Ruby193/jimmykane-Siri-Proxy/lib/siriproxy/command_line.rb:102:in `start_server'
from C:/Ruby193/jimmykane-Siri-Proxy/lib/siriproxy/command_line.rb:91:in `run_server'
from C:/Ruby193/jimmykane-Siri-Proxy/lib/siriproxy/command_line.rb:42:in `initialize'
from C:/Ruby193/jimmykane-Siri-Proxy/bin/siriproxy:6:in `new'
from C:/Ruby193/jimmykane-Siri-Proxy/bin/siriproxy:6:in `

'