gax-nodejs icon indicating copy to clipboard operation
gax-nodejs copied to clipboard

Google cloud translate api does not honour request timeout

Open urjitbhatia opened this issue 1 year ago • 4 comments

Yes, see the PR here: https://github.com/googleapis/google-cloud-node/pull/3849 Google cloud translate api does not honour the request timeout in the patched request code.

  • OS: ubuntu
  • Node.js version: 18
  • npm version: (Yarn 1.22.4)
  • google-gax version: 3.5.2

Steps to reproduce

  1. Create a translate client.
  2. Set a request timeout
  3. Point request to a dummy server that takes long or set a really small timeout to test
  4. Request continues beyond the timeout and doesn't abort

Making sure to follow these steps will guarantee the quickest resolution possible.

Thanks!

urjitbhatia avatar Jan 19 '23 19:01 urjitbhatia