Comments (4)
Hey was your issue resolved?
from bot-handoff.
anyone has found the solution?
from bot-handoff.
I am facing the same issue now. Can we have support for this please?
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
at ServerResponse.setHeader (_http_outgoing.js:471:11)
at applyHeaders (C:\Work\BotFramework\example\node_modules\cors\lib\index.js:153:15)
at applyHeaders (C:\Work\BotFramework\example\node_modules\cors\lib\index.js:149:11)
at applyHeaders (C:\Work\BotFramework\example\node_modules\cors\lib\index.js:149:11)
at cors (C:\Work\BotFramework\example\node_modules\cors\lib\index.js:184:7)
at C:\Work\BotFramework\example\node_modules\cors\lib\index.js:221:17
at originCallback (C:\Work\BotFramework\example\node_modules\cors\lib\index.js:211:15)
at C:\Work\BotFramework\example\node_modules\cors\lib\index.js:216:13
at optionsCallback (C:\Work\BotFramework\example\node_modules\cors\lib\index.js:196:9)
at corsMiddleware (C:\Work\BotFramework\example\node_modules\cors\lib\index.js:201:7)
at Layer.handle [as handle_request] (C:\Work\BotFramework\example\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Work\BotFramework\example\node_modules\express\lib\router\index.js:317:13)
at C:\Work\BotFramework\example\node_modules\express\lib\router\index.js:284:7
at Function.process_params (C:\Work\BotFramework\example\node_modules\express\lib\router\index.js:335:12)
at next (C:\Work\BotFramework\example\node_modules\express\lib\router\index.js:275:10)
at next (C:\Work\BotFramework\example\node_modules\express\lib\router\route.js:127:14)
at C:\Work\BotFramework\example\node_modules\botbuilder\lib\bots\ChatConnector.js:569:21
at ChatConnector.onDispatchEvents (C:\Work\BotFramework\example\node_modules\botbuilder\lib\bots\ChatConnector.js:546:17)
at ChatConnector.dispatch (C:\Work\BotFramework\example\node_modules\botbuilder\lib\bots\ChatConnector.js:554:18)
at C:\Work\BotFramework\example\node_modules\botbuilder\lib\bots\ChatConnector.js:150:27
at OpenIdMetadata.getKey (C:\Work\BotFramework\example\node_modules\botbuilder\lib\bots\OpenIdMetadata.js:26:13)
at ChatConnector.verifyBotFramework (C:\Work\BotFramework\example\node_modules\botbuilder\lib\bots\ChatConnector.js:124:28)
Error: GET to 'https://state.botframework.com/v3/botstate/directline/users/Agent01' failed: [405] Method Not Allowed
at AppInsightsAsyncCorrelatedErrorWrapper.ZoneAwareError (C:\Work\BotFramework\example\node_modules\zone.js\dist\zone-node.js:811:33)
at new AppInsightsAsyncCorrelatedErrorWrapper (C:\Work\BotFramework\example\node_modules\applicationinsights\out\AutoCollection\CorrelationContextManager.js:173:18)
at Request._callback (C:\Work\BotFramework\example\node_modules\botbuilder\lib\bots\ChatConnector.js:647:46)
at Request.self.callback (C:\Work\BotFramework\example\node_modules\request\request.js:185:22)
at ZoneDelegate.invokeTask (C:\Work\BotFramework\example\node_modules\zone.js\dist\zone-node.js:275:35)
at Zone.runTask (C:\Work\BotFramework\example\node_modules\zone.js\dist\zone-node.js:151:47)
at Request.ZoneTask.invoke (C:\Work\BotFramework\example\node_modules\zone.js\dist\zone-node.js:345:33)
at Request.emit (events.js:182:13)
at Request. (C:\Work\BotFramework\example\node_modules\request\request.js:1161:10)
at ZoneDelegate.invokeTask (C:\Work\BotFramework\example\node_modules\zone.js\dist\zone-node.js:275:35)
at Zone.runTask (C:\Work\BotFramework\example\node_modules\zone.js\dist\zone-node.js:151:47)
at Request.ZoneTask.invoke (C:\Work\BotFramework\example\node_modules\zone.js\dist\zone-node.js:345:33)
at Request.emit (events.js:182:13)
at IncomingMessage. (C:\Work\BotFramework\example\node_modules\request\request.js:1083:12)
at Object.onceWrapper (events.js:273:13)
at ZoneDelegate.invokeTask (C:\Work\BotFramework\example\node_modules\zone.js\dist\zone-node.js:275:35)
at Zone.runTask (C:\Work\BotFramework\example\node_modules\zone.js\dist\zone-node.js:151:47)
at IncomingMessage.ZoneTask.invoke (C:\Work\BotFramework\example\node_modules\zone.js\dist\zone-node.js:345:33)
at IncomingMessage.emit (events.js:187:15)
at endReadableNT (_stream_readable.js:1090:12)
at ZoneDelegate.invokeTask (C:\Work\BotFramework\example\node_modules\zone.js\dist\zone-node.js:275:35)
at Zone.runTask (C:\Work\BotFramework\example\node_modules\zone.js\dist\zone-node.js:151:47)
from bot-handoff.
Any solutions ?? I am also facing same issue
from bot-handoff.
Related Issues (20)
- Expose commands through API or backchannel events HOT 1
- (Bug) Messages of non 'message' type are ignored in the middleware HOT 1
- bugfix(routing) fixed bug that prevented messages of non 'message' type from getting through middleware
- (feature) add tests
- How to plugin persistent storage to store conversations? HOT 1
- Command for allowing the Customer to Disconnect to an Agent HOT 1
- "history" command is not working HOT 1
- getting an error 'unexpected token' for semicolon(;) and colon(;) in Provider interface
- Can't connect to same user twice HOT 2
- Variable name issues
- could not browse handoff bot deployed on azure
- Errors with strict type-checking
- TypeError: handoff.isAgent is not a function
- botframework 4.0 HOT 4
- ReferenceError: location is not defined
- How do I clear the users from the list ? Any command or any other way ?
- Bot to Human Handoff in SDKv4 (Node.js) HOT 2
- CDN does not have required CSS and other support files HOT 1
- Bot Handoff for SDKv4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bot-handoff.