Closed hardikchoudhary closed 7 years ago
Hi jason
I have the folder of my applicatiob...... Name xyz.... In that folder i have app.js and other js files and one folder with npm_modules that is having multiplw folder....
I have deployed it using visual studio
To azure wep app
But wheb debug my bot. In bot emulator.... Giving url of azure website /api/messages
And app id and passwrd
Connect getting error in logs.... Https://azurewebsite not found
404
Olease helpe me for same... Or m i deploying wrong
Thanks Hardik
On 20-Jun-2017 5:23 am, "Jason Sowers" notifications@github.com wrote:
Closed #2985 https://github.com/Microsoft/BotBuilder/issues/2985.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/BotBuilder/issues/2985#event-1130091754, or mute the thread https://github.com/notifications/unsubscribe-auth/ANs5qphLCqoNNvYBs5IsyF4EPhEV2lzJks5sFwoSgaJpZM4N-u_r .
hI TEAM
I am attaching with screen shot
I have deployed my solution in debug mode to the azure website, this is my solution structure , its node js code
[image: Inline image 2]
I have deployed it through VS , dont know its deployed or not. But get message published succefully When I go to my website
its shows
You do not have permission to view this directory or page.
and when i connect on bot emulator with url
[image: Inline image 1]
I am getting this error
Please let me know what i can do
Thanks
On Tue, Jun 20, 2017 at 1:57 AM, Jason Sowers notifications@github.com wrote:
@hardikchou https://github.com/hardikchoudhary
dhary https://github.com/hardikchoudhary can you please provide information so we can assist you? Right now we have basically nothing to work with.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/BotBuilder/issues/2985#issuecomment-309563889, or mute the thread https://github.com/notifications/unsubscribe-auth/ANs5qnBEbUhdE3P_no9m4YimNBnUBLnrks5sFtmwgaJpZM4N-u_r .
Hi Hardik,
Try following this guide to deploy to Azure
Hi jason
I have followed same as my files are deployed as I am getting this message
You do not have permission to view this directory or page.
I have not added the app id and password in app service in azure
can you please tell me how i can debug node js bot when it is deployed to azure
but i have added in app.js file directly app id and password
You need to save your Microsoft App ID and password in your Application Settings in order for your bot to function properly.
nwhitmont i have added it in application setting as well on azure
but still the same error There was an error sending this message to your bot: HTTP status code NotFound
and error on web chat below my message
what is your bot name, bot handle and App ID as you registered in the Bot Portal?
Bot handle : NearByMetro url : https://nearbymetro.azurewebsites.net/api/messages app id 3dfa0867-614d-40d2-8092-08fd56df09f6
Please let me know if you need more info
Bot name :NearByMetro Bot handle : NearByMetro url : https://nearbymetro.azurewebsites.net/api/messages app id 3dfa0867-614d-40d2-8092-08fd56df09f6
Please let me know if you need more info
@nwhitmont Bot name :NearByMetro Bot handle : NearByMetro url : https://nearbymetro.azurewebsites.net/api/messages app id 3dfa0867-614d-40d2-8092-08fd56df09f6
Please let me know if you need more info
Your bot's endpoint is not online. When I visited your endpoint URL just now I got the error: The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
how my this url is online??? https://nearbymetro.azurewebsites.net/api/messages
but I am able to run https://nearbymetro.azurewebsites.net/
how bot endpoint is online please help me where I am wrong
I have just published my whole solution
to http://nearbymetro.azurewebsites.net/ from Visual studio
and in package.json starting path is app.js
Please tell me for same ???? how this endpoint can be online ???? and you are looking for this url
but how possible ??
can i hardcode this url in code ???
as locally it is running
@nwhitmont can you please help as i am stuck
do i need to change any of these lines
server.listen(process.env.port || process.env.PORT || 3978, function () { console.log('%s listening to %s', server.name, server.url);
});
@hardikchoudhary Your bot URL currently returns 500 error, which means there is an error in your deployment.
For more information on deploying your bot to Azure, see: Deploy a bot to Azure from Visual Studio
Have you tried creating a bot via Azure Bot Service? When you use this method, all the deployment aspects are configured automatically, and there are built-in bot application templates to get you started.
solved issue now its working thanks
alot sir
and now its working on skype as well as normal chat box
but it is not working on fb messenger and neither is showing error
@hardikchoudhary thanks for the update. Glad to hear you got it working!
so I'm on the same problem. relevant from package.json: main: './lib/index.js', scripts: { build: 'tsc', start: 'node ./lib/index.js' }
relevant from azure web.cofig:
<add name="iisnode" path="lib\index.js" verb="*" modules="iisnode"/>
<rule name="NodeInspector" patternSyntax="ECMAScript" stopProcessing="true">
<match url="^index.js\/debug[\/]?" />
</rule>
result is a 404.
also of note, my web app bot is not recognized by dev.botframework.com even though it was created and initially published directly from the portal.
My issues started when I completed the connection from azure devops to the underlying app service. I am only deploying my lib folder (node_modules), bot file, and package.json.
Hi Team ,
My code is working fine locally . And I have deployed it by following azure official documentation. But I am getting error as "There was an error sending this message to your bot: HTTP status code NotFound" when testing in web chat . Could you please help ?
Hi Team ,
My code is working fine locally . And I have deployed it by following azure official documentation. But I am getting error as "There was an error sending this message to your bot: HTTP status code NotFound" when testing in web chat . Could you please help ?
I am facing the same issue. Everything was working fine till previous deployment. Did you manage to find any workaround?
hi,
I'm trying to deploy the echo bot just for testing and I am getting There was an error sending this message to your bot: HTTP status code NotFound
I'm using the following manual: https://docs.microsoft.com/en-us/composer/how-to-publish-bot#deploy-bot-to-azure
and its working but in the end, I'm getting the above error. please assist
I have made a bot with Node.js locally, then in the Azure platform I have created a bot channel registration and in the messaging endpoint I have put the address of the server where I have uploaded and the bot is executed (https: // ___ : 3978 / api / messages), with this address the bot in the bot framework emulator works for me, on the other hand, in the channel registration bot I have created a channel to test the web chat but I get the following error "There was an error sending this message to your bot: HTTP status code NotFound ", I need help
I have made a bot with Node.js locally, then in the Azure platform I have created a bot channel registration and in the messaging endpoint I have put the address of the server where I have uploaded and the bot is executed (https: // ___ : 3978 / api / messages), with this address the bot in the bot framework emulator works for me, on the other hand, in the channel registration bot I have created a channel to test the web chat but I get the following error "There was an error sending this message to your bot: HTTP status code NotFound ", I need help
I have the same problem. Did you find the solution?
Hi Team ,
My code is working fine locally . And I have deployed it by following azure official documentation. But I am getting error as "There was an error sending this message to your bot: HTTP status code NotFound" when testing in web chat . Could you please help ? I have made a bot with Node.js locally, then in the Azure platform I have created a bot channel registration and in the messaging endpoint I have put the address of the server where I have uploaded and the bot is executed (https: // ___ : 3978 / api / messages), with this address the bot in the bot framework emulator works for me, on the other hand, in the channel registration bot I have created a channel to test the web chat but I get the following error "There was an error sending this message to your bot: HTTP status code NotFound ", I need help
I have the same problem. Did you find the solution?
When an issue is closed, that means people are not monitoring it, post a non SDK related issue like this on StackOverflow, or post a new issue, where they will tell you to ask a how-to question on StackOverflow anyways use the bot framework tag like the posts listed here, take a look at the posts in this link is you need an example.
Well don't put the port number in the url for one thing, and definitely not spaces in the url like the post you quoted.
https;//myawesomebot.azurewebsites.net/api/messages https://awesomecustomdomain.com/api/messages
I don't have a number there, but I still have errors...
vin., 18 iun. 2021, 19:41 D4RKCIDE @.***> a scris:
Well don't put the port number in the url for one thing, and definitely not spaces in the url like the post you quoted.
https;//myawesomebot.azurewebsites.net/api/messages https://awesomecustomdomain.com/api/messages
[image: image] https://user-images.githubusercontent.com/6301037/122592556-0a99fd80-d02a-11eb-97bd-c0ba74c4b87f.png
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/microsoft/botframework-sdk/issues/2985#issuecomment-864158141, or unsubscribe https://github.com/notifications/unsubscribe-auth/APJNHYECPOSP3GD2GLGZZHDTTNZKRANCNFSM4DP257VQ .
Is there any update here? hit the issue still....
@hardikchoudhary can you please provide information so we can assist you? Right now we have basically nothing to work with.