botframework-sdk
botframework-sdk copied to clipboard
Bot framework REST API calls getting timeouts
Describe the bug
I am sending POST requests to https://smba.trafficmanager.net/amer
and receiving timeouts on my remote server (google cloud, app engine) - the same is not happening locally when using ngrok.
Nothing has changed on our code's behalf and it all started failing yesterday (June 14th).
Expected behavior
Our platform proactively sends messages to an existing conversation (through the REST url) and then continues the conversation through a bot-builder
implementation.
Screenshots
Additional context
- Issue does not occur in ngrok, but it does occur on app engine instances
- Bot has been working fine for the past 2 years, but all of a sudden, something must have happened and it's now getting all these timeouts
error: FetchError: request to https://smba.trafficmanager.net/amer/v3/conversations/a:17cILmBogFKvwOhSb3Qb8s8s8Mvi8-v28V74WaXT2do5qpcvX2iWx7u9TIFKgjUZCbC2Sbuy3LltGjgAxKHPhYDjwOaEarjchGEhQOtN2Rax4hMDG8YjSjl_rpBR-2yaD/activities/ failed, reason: connect ETIMEDOUT 52.114.142.186:443
at ClientRequest.<anonymous> (/workspace/node_modules/node-fetch/lib/index.js:1491:11)
at ClientRequest.emit (events.js:400:28)
at TLSSocket.socketErrorListener (_http_client.js:475:9)
at TLSSocket.emit (events.js:400:28)
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)
at processTicksAndRejections (internal/process/task_queues.js:82:21) {
type: 'system',
errno: 'ETIMEDOUT',
code: 'ETIMEDOUT'
},
Hi @penguinsource What channel(s) is this bot using? Teams, Direct Line, etc?
hey @dmvtech , this is using MS Teams
This is old and perhaps no longer relevant. However, this would be a Teams issue.
@tracyboehrer would like this re-opened please or do you know where else that I should raise this issue? We are getting many failures at the moment (e.g. screenshot below just from the past couple of hours) which is stopping us from sending messages and affecting customers. Note that all these requests took 20+ seconds before eventually failing.
@pyramid-scheme-ceo What is the HTTP status code? "Faulted" isn't clear. Teams would need details about some of these calls and times. I would start with the Teams AI SDK repo, though it's possible someone else on their side needs to get involved.
Hello! This is still an issue and it is still happening every weekend and sometimes on weekdays as well (such as today). the failure rate is very high.
The channel used is Teams
The error is still occuring at the smba.trafficmanager.net DNS.
I am going to attach the same responses I still receive which I received last year.
Specific error response:
Here is how often it has occured in the last 30 days:
I have a case open, but not with the Teams team yet. How can we reach support for this issue?
Thanks, Mihai
@tracyboehrer @dmvtech can you please reopen this issue and suggest a github repository to create a separate issue in? we need this here for awareness of how old the issue has occured for
@penguinsource I would start with the Teams AI SDK repo. This isn't something BF SDK can address.