microsoft / botframework-sdk

Bot Framework provides the most comprehensive experience for building conversation applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bot framework REST API calls getting timeouts

penguinsource opened this issue · comments

commented

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

image image

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'
  },
commented

Hi @penguinsource What channel(s) is this bot using? Teams, Direct Line, etc?

commented

hey @dmvtech , this is using MS Teams