Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gammu-smsd freezes when receiving sms and then forgets how to internet (using wrong host for database) #441

Open
styxxx opened this issue Nov 23, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@styxxx
Copy link

commented Nov 23, 2018

Hi,

when the usb stick I'm using is receiving a sms the gammu-smsd service freezes two times. First for about 40 seconds and then for a few minutes.

Then - after a few minutes and succefully reading the sms - something really weird happens: The connection to the remote database is lost and gammu isn't able to connect anymore. Instead of using the host that's specified in the config file it now tries to connect to the wrong host: the routers public host name (what you get when using nslookup on your own public ip).
The service has to be killed and restarted to work again. Everything else using network is working fine, it's just the gammu service.

gammu version 1.38.1-1 und Debian (Raspbian on RaspberryPi, kernel 4.9.80)
The UMTS stick is Alcatel X602D.

It freezes before the line:

gammu-smsd[30481]: gammu: [Retrying 1 type 0x00]

And the network error is basically:

gammu-smsd[30481]: Error code: 2006, Error: MySQL server has gone away
gammu-smsd[30481]: Reconnecting to the database!
gammu-smsd[30481]: Reconnecting after 1 seconds...
gammu-smsd[30481]: Error connecting to database!
gammu-smsd[30481]: Error code: 1045, Error: Access denied for user 'username'@'wrong.host' (using password: YES)

(and of course access is denied, there's an sql server running on the wrong host too)

gammu-smsdrc_for_bugreport.txt

gammu_bug_log_.txt

Thank you!


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.