Share

OpenSIPS/OpenSER-a versatile SIP Server

Tracker: Bugs

5 sql connection timeout w/ media dispatcher - ID: 2797896
Last Update: Comment added ( dan_pascu )

Having a problem with the media dispatcher from media proxy 2.3.2 (which is
an Excellent tool!) if calls don't hit the platform for several hours. The
connection to the mysql server times out and the application does not
attempt to reconnect. An error is logged and the record is dropped.
Restarting dispatcher solves problem but if a reconnect attempt could be
made before giving up it would be helpful.

error message:

media-dispatcher[7194]: error: failed to insert record into database: MySQL
server has gone away


Richard Revels ( rrevels ) - 2009-05-28 12:58

5

Closed

Invalid

Dan

tools

None

Public


Comment ( 1 )

Date: 2009-07-07 15:22
Sender: dan_pascuProject Admin

The problem is not in the media dispatcher, but in your versions of the
sqlobject and python-mysqldb modules. Use the latest versions for both of
them to solve your issue.



Attached File

No Files Currently Attached

Changes ( 5 )

Field Old Value Date By
status_id Open 2009-07-07 15:22 dan_pascu
resolution_id None 2009-07-07 15:22 dan_pascu
allow_comments 1 2009-07-07 15:22 dan_pascu
close_date - 2009-07-07 15:22 dan_pascu
assigned_to nobody 2009-07-07 09:57 bogdan_iancu