Yes, I do know 4.5 is somewhat old but it hasn't been upgraded due to the API bug in newer versions where an API user does not get logged out and the router stops responding to logins entirely until being rebooted, as I really don't want to be doing scheduled reboots of core routing infrastructure.
Is this simply another manifestation of this bug? Has anyone else seen something like this when using the API?
Code: Select all
2011/02/23 00:50:05 INFO [pid=24239] MtikAPI->_mtik_connect (980) Opening socket to 172.0.0.1:8728
2011/02/23 00:50:05 INFO [pid=24239] MtikAPI->_mtik_connect (991) Socket opened
2011/02/23 00:50:05 INFO [pid=24239] MtikAPI->__ANON__ (868) Sending login request
2011/02/23 00:50:05 INFO [pid=24239] MtikAPI->raw_talk (534) Writing sentence to socket
2011/02/23 00:50:05 DEBUG [pid=24239] MtikAPI->_write_sentence (1019) Writing sentence: '/login'
2011/02/23 00:50:05 DEBUG [pid=24239] MtikAPI->_write_str (1161) Writing 1 chars to socket
2011/02/23 00:50:05 DEBUG [pid=24239] MtikAPI->_write_str (1195) Wrote 1 chars to socket
2011/02/23 00:50:05 DEBUG [pid=24239] MtikAPI->_write_str (1161) Writing 6 chars to socket
2011/02/23 00:50:05 DEBUG [pid=24239] MtikAPI->_write_str (1195) Wrote 6 chars to socket
2011/02/23 00:50:05 DEBUG [pid=24239] MtikAPI->_write_str (1161) Writing 1 chars to socket
2011/02/23 00:50:05 DEBUG [pid=24239] MtikAPI->_write_str (1195) Wrote 1 chars to socket
2011/02/23 00:50:05 DEBUG [pid=24239] MtikAPI->_write_str (1161) Writing 0 chars to socket
2011/02/23 00:50:05 DEBUG [pid=24239] MtikAPI->_write_str (1195) Wrote 0 chars to socket
2011/02/23 00:50:05 INFO [pid=24239] MtikAPI->raw_talk (539) Sentence written
2011/02/23 00:50:05 INFO [pid=24239] MtikAPI->raw_talk (544) Reading reply from socket
2011/02/23 00:50:05 DEBUG [pid=24239] MtikAPI->_read_str (1230) Reading 1 chars from socket
2011/02/23 00:50:10 WARN [pid=24239] MtikAPI->__ANON__ (1246) Read timed out
2011/02/23 00:50:10 WARN [pid=24239] MtikAPI->__ANON__ (885) Problem authenticating: no response from remote host