-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Deploying a bot to azure with luis functionality is completely broken and I believe it is the LUISRecognizer class #2310
Comments
@xtianus79 I actually ran into your So far I've done:
=> |
Alright, so I actually managed to successfully deploy a LUIS-using bot following the Deploy your bot article, which is via zip deployment. Previously I had gotten the same error as you, because I had accidentally used the wrong LUIS credentials in the Specifics
Deployment Commands Ran
|
@xtianus79 let's explore the .zip deployment, since it's the set of instructions linked to in our samples' READMEs and I had successfully deployed following it Just reading your error log, it seems like it can't access your intents, maybe because of your credentials in the .env file.
I see you say that the bot works locally, however when you are running the zip deployment, are you making sure to include the LUIS credentials in the .env file when you zip up everything as well? Additional Context for when I broke bot with
|
Closing due to inactivity and also being able to successfully deploy using instructions linked in the sample readmes. |
this issues still exists in local bot emulator also. |
@Zerryth Can you please help in resolving this .Please update readme to deploy in production |
From 9pm last night until 7am this morning I could not get the bot to deploy to Azure through any means. Either sending a zip file package or through continuous deployment. Since this is such an emergency issue for us and I don't know where to else to post this report to I will try a couple different places.
As a mitigation step to see what was going on I tried to upload samples to Azure to see if those would work and they would not.
Everything, of course, works in a local development environment.
The seems to be with the a node package for LUIS. The Luis recognizer specifically. It keeps saying there is an undefined intent.
Before I show sample error reporting I want to show you some of the other difficulties we experienced trying to get this to work.
Whatever environment that we are deploying to doesn't seem to use Nodejs correctly at all. It keeps giving a tsc error. The package is included and is there in the deployment. that bug add launch.json for VSCode #1.
Here is a stackoverflow question on the exact matter with no answer since February.
this link here is from 4 years ago and seems to be the root of the issue.
Here is a quote from an answer someone gave regarding the issue.
Is this the case and if so why isn't this officially communicated? I've always developed on a mac at home i'm on a pc so this is painful as that poster suggested.
I posted number 1 first because I think it may relate to number this issue. Everything works fine locally and then falls apart upon deployment.
All it gives repeatedly is this error:
Hopefully you can diagnose this issue. If I need to start a linux box I will but please advise if this is the issue and what can be done to fix it.
The text was updated successfully, but these errors were encountered: