Als ich meinen Bot-Code auf Azur geschoben habe, war es erfolgreich. Getestet habe ich es arbeitete, bevor er drückt Azure Knoten mit app.jsMicrosoft Bot Framework-Fehler - InternalServerError {"Nachricht": "Ein Fehler ist aufgetreten." }
ich mit den richtigen Anmeldeinformationen meine web.config-Datei aktualisiert
var builder = require('botbuilder');
var connector = new builder.ConsoleConnector().listen();
var bot = new builder.UniversalBot(connector);
bot.dialog('/', [
function (session) {
builder.Prompts.text(session, 'Hi! What is your name?');
},
function (session, results) {
session.send('Hello %s!', results.response);
}
]);
Wenn ich mir das azurblaue Protokolle erhalte ich folgende Meldungen
2016-11-17T13:31:12.880 Executing: 'Functions.messages' - Reason: 'This function was programmatically called via the host APIs.'
2016-11-17T13:31:12.880 Function started (Id=22f4fffb-ad0d-4b54-b86f-dd895c098910)
2016-11-17T13:31:12.880 Function completed (Failure, Id=22f4fffb-ad0d-4b54-b86f-dd895c098910)
2016-11-17T13:31:12.880 A ScriptHost error has occurred
2016-11-17T13:31:12.880 Error: Implement me. Unknown stdin file type!
at process.getStdin [as stdin] (internal/process/stdio.js:82:15)
at ConsoleConnector.listen (D:\home\site\wwwroot\messages\node_modules\botbuilder\lib\bots\ConsoleConnector.js:11:60)
at Object.<anonymous> (D:\home\site\wwwroot\messages\index.js:3:48)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
2016-11-17T13:31:12.880 Function started (Id=22f4fffb-ad0d-4b54-b86f-dd895c098910)
2016-11-17T13:31:12.880 Function completed (Failure, Id=22f4fffb-ad0d-4b54-b86f-dd895c098910)
2016-11-17T13:31:12.895 Exception while executing function: Functions.messages. mscorlib: Error: Implement me. Unknown stdin file type!
at process.getStdin [as stdin] (internal/process/stdio.js:82:15)
at ConsoleConnector.listen (D:\home\site\wwwroot\messages\node_modules\botbuilder\lib\bots\ConsoleConnector.js:11:60)
at Object.<anonymous> (D:\home\site\wwwroot\messages\index.js:3:48)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19).
Ich weiß nicht, was das ist oder wie dies geschah.
Jede Hilfe würde geschätzt,
Dank
Vielen Dank, ich werde dies später heute versuchen und antworten – user1907509
Ich habe Ihre Schritte gefolgt und ich werde nicht autorisiert. Ich habe die Anwendungseinstellungen überprüft und MICROSOFT_APP_ID und MICROSOFT_PASSWORD_ID generiert. Trotzdem bekomme ich diese Nachricht. irgendwelche Gedanken? – user1907509
Haben Sie die Appid und das Passwort in der 'web.config' entfernt? –