Microsoft bot framework emulator not working offline - emulation

Hi everyone am trying to run the default project sample that comes with the MS bot framework template , when am connected to the internet the bot runs normally but when am offline the bot doesnt work and i got this error in the console :
"POST getaddrinfo ENOENT localhost:3979"
.does the emulator needs internet connection to work??? Thank you.

Yes, currently you have to be online to use the emulator.

Related

Can't publish Azure Function from Visual Studio for Mac

I am trying to publish my Azure Functions from Visual Studio for Mac (8.10.6, build 10) and it does not work.
Everything works fine when running func start (obviously running from Visual Studio does not work as my Macbook has M1 processor and that is not supported yet).
What's more, when I created new function from template, I can publish it normally. I've read that it could be because of antivirus working on machine, but I expect that if I can publish other functions then it should work fine.
When trying to publish from Visual Studio I am getting:
/usr/local/share/dotnet/sdk/5.0.302/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.MSDeploy.targets(140,5): error : Web deployment task failed. (Web Deploy experienced a connection problem with the server and had to terminate the connection. Contact your server administrator if the problem persists. Learn more at: https://go.microsoft.com/fwlink/?LinkId=221672#ERROR_CONNECTION_TERMINATED.)
/usr/local/share/dotnet/sdk/5.0.302/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.MSDeploy.targets(140,5): error :
/usr/local/share/dotnet/sdk/5.0.302/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.MSDeploy.targets(140,5): error : Web Deploy experienced a connection problem with the server and had to terminate the connection. Contact your server administrator if the problem persists. Learn more at: https://go.microsoft.com/fwlink/?LinkId=221672#ERROR_CONNECTION_TERMINATED.
/usr/local/share/dotnet/sdk/5.0.302/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.MSDeploy.targets(140,5): error : Unexpected end of file has occurred. The following elements are not closed: results. Line 1, position 550.
Do you have any ideas why could that be?
Sounds like a firewall/access issue, check that VS is trusted and has access to connect to the internet
https://learn.microsoft.com/en-us/visualstudio/mac/install-behind-a-firewall-or-proxy-server?view=vsmac-2019

Connecting to VPN in emulator causes problem React Native

I have a project which should be connected to API through OpenVPN. I am connecting successfully but when I try to run react-native start it does not find the app and starts that. I have tried many solution but did not work for me. See screenshots below:
error in react natice
error in CMD, node.js

Google app engine API explorer on Linux (Ubuntu)

I am trying to open API explorer on chromium browser for Ubuntu: (localhost:8080/_ah/api/explorer)
I got the : "The API you are exploring is hosted over http ..." error
I can see ways to solve the issue on Windows and MAC, but couldn't find how to solve it on Linux, Ubuntu.
Thanks for the help

Got an error while running web api project on azure worker role

I was trying this tutorial: http://www.asp.net/web-api/overview/hosting-aspnet-web-api/host-aspnet-web-api-in-an-azure-worker-role and when I started to run the project for the first time I got the following error:
May be I need to add the emulator to windows firewall, but I don't know how to do that.
Found the solution on this page https://github.com/SignalR/SignalR/issues/1523 which is to run Visual Studio and Emulator as admin.

WCF Data Services client not working on WP8 emulator

Just tried an App that works with WP7 emu and VS 2010, called a data Service and worked but tried with WP8 SDK in VS 2012 and it's not working on emu and breaks with "Not Found" error: An exception of type 'System.Data.Services.Client.DataServiceQueryException' occurred in System.Data.Services.Client.DLL but was not handled in user code
Someone have found this too?
Sounds much to me like your problem is the emulator not having any internet connectivity. I'll recommend you remove the emulator from the Hyper-V list, use a Ethernet cable to your computer, and then restart your project.

Resources