New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request]: twilio message create timeout #1004
Comments
going over source i see there are all the undocumented options i could use and will try them: options |
hello @kareig , we are having the same problem using it from svelte (vercel) server-side. Finally how have you solved it ? Here is our import
|
Few things solved our issues we had:
Mostly timeout/retries for twilio client solved our issues because now we get a proper response from twilio client instantly and it does not hit a hard limit of 10s and runtime does not timeout without any response in case phone number is blocked or combination of twilio sender and receive is not allowed. |
Is this still an issue? |
hello, we have solved with a simple |
Preflight Checklist
Problem Description
Hi,
We have an issue quite often when twilio message create never gets a response and twilio serverless function times out on runtime which has 10s hard limit.
We use v3.29.2.
`
`
So given the example on such scenario it never proceeds to
.then()
and twilio serverless function gets runtime timeout.Twilio support is asking for proof, we do have logging and we clearly see that twilio helper never proceeds to
.then()
, but that is not enough.Maybe having an official built-in timeout for
.create()
would help better, because now we doingaxios
call to twilio helper instead with timeout of 5s in order to provide some proof of such issue.Thanks
Proposed Solution
Provide
timeout
for.create()
in order to terminate waiting for the response.Alternatives Considered
Provide
timeout
for.create()
in order to terminate waiting for the response.Additional Information
No response
The text was updated successfully, but these errors were encountered: