kryskool / yubico-yubiserve

Automatically exported from code.google.com/p/yubico-yubiserve
GNU General Public License v3.0
1 stars 1 forks source link

Yubiserve cannot last on mysql #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use a mysql server (not a sqlite)
2. Wait 24h without queries
3. Try to use the validation server

What is the expected output? What do you see instead?
The socket fails (empty answer). In fact, the connection was closed by mysql 
for inactivity and since the server only connects once, it then fails.
You need to either detect this disconnection and reconnect, or reconnect by 
default every time a connection is made.

What version of the product are you using? On what operating system?
Up-to-date with gentoo

Original issue reported on code.google.com by Eltrai on 27 Jan 2013 at 12:23

GoogleCodeExporter commented 9 years ago
Thank you for the issue, this behaviour will be fixed in the upcoming release 
(few days left) making a new connection every time to avoid using resources :)

Original comment by b1ga...@gmail.com on 27 Jan 2013 at 6:38

GoogleCodeExporter commented 9 years ago
This sounds like the same issue as bug #20, which was solved in r47.

Eltrai, are you testing this against the latest code in SVN?

Original comment by glen.ogilvie@gmail.com on 28 Jan 2013 at 12:22

GoogleCodeExporter commented 9 years ago
You're right glen, I was only using 3.1 stable rlz. I should have checked for 
recent bugs.

Original comment by Eltrai on 28 Jan 2013 at 7:38