hhhguany commented on issue #634: URL: https://github.com/apache/incubator-answer/issues/634#issuecomment-2138785115
I have identified the issue. Due to the `mysql` server restarting under certain circumstances, I suspect that after the restart process fails to connect to the database, the `answer` service will not continue to retry connecting to the database. Therefore, even after my `mysql` server has completed the restart, accessing the answer service still results in the error "HTTP Error 50X The server encountered an error and could not complete your request." The issue differs from #472 as the error does not manifest at the start of the service, however, the underlying logic error seems similar. To maintain service availability, it is essential to implement a reconnection operation to address potential database disconnections (e.g. the network connection interruption) during service running. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
