narrowizard opened a new issue, #5804:
URL: https://github.com/apache/incubator-devlake/issues/5804

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   When calling the ZenTao connection information verification api (test 
connection) in DevLake, if the database connection times out, the interface 
also times out.
   
   ### What do you expect to happen
   
   Instead of timing out, the ZenTao api should return an error message 
indicating that the database connection validation failed (dbUrl invalid). This 
behavior would be consistent with the error message returned when database 
authorization fails.
   
   ### How to reproduce
   
   1. Set up DevLake to interact with ZenTao.
   2. Initiate a call to the ZenTao connection information verification api. 
(with a dbUrl that is not running a mysql)
   3. Observe that the ZenTao interface also times out.
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   release-v0.18
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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]

Reply via email to