Hi Artem Thanks for the suggestion. Our production environment is fine but we continuously see the exception "No operations allowed after connection closed." in the *stage* environment. We suspect its due to lower traffic in a non-development environment versus production but it is a bit concerning.
On Thu, Apr 27, 2017 at 9:09 AM, Artem Prigoda <[email protected]> wrote: > Hi, > > I can recommend setting the maxConnectionAge parameter. I believe MySQL > drops open TCP connections on the server side after several hours. > If the backend does so, the client may not detect that the connection is > broken. You could try to avoid that by closing the connection on the client > side after some period which is less than the server one. For example, you > could try to set it to 30 minutes and check if the exception still occurs. > > Artem > > -- > You received this message because you are subscribed to a topic in the > Google Groups "dropwizard-user" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/dropwizard-user/oupxs95MaWM/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- This email message, including any attachment(s), is intended only for the named recipient(s) and may contain confidential, proprietary or legally privileged information. Unauthorized individuals or entities are not permitted access to this information. Any dissemination, distribution, disclosure, or copying of this information is unauthorized and strictly prohibited. If you have received this message in error, please advise the sender by reply email, and delete this message and any attachments. -- You received this message because you are subscribed to the Google Groups "dropwizard-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
