服务结构网格教程-本地群集上的DNS问题? [英] Service Fabric Mesh Tutorial - DNS Problem on Local Cluster?

查看:135
本文介绍了服务结构网格教程-本地群集上的DNS问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经完成了Service Fabric Mesh教程(Google'创建,调试并将多服务Web应用程序部署到Service Fabric Mesh''-很抱歉,由于需要验证我的帐户,因此无法发布超链接. ..)一行一行(两次),一切似乎 很好-除了一个问题.

有前端服务(Web应用程序)和API服务(ToDoService).当我在本地群集中调试时,Web应用程序无法连接到API服务. API服务可以使用localhost或IP正常运行(邮递员或浏览器GET),但服务名称为"todoservice" 无法解决.这就解释了为什么Web应用程序无法连接(如果我对IP进行硬编码也可以).

我注意到在Service Fabric资源管理器中API服务DNS被声明为"todoservice.todolistapp"-但这也不起作用.环境变量都是正确的(并检查了生成的URI).

我已禁用防火墙,并且正在Windows 10 Pro上运行最新版本.

我看过一些与以前的本地群集DNS问题有关的帖子,但似乎没有什么相关.

任何人都有类似的问题-还是可以向我指出正确的方向?

谢谢-非常感谢!

解决方案

感谢您的参与!我遵循了文档,但也遇到了一些问题.下载项目的源代码后,仍然存在相关的错误.因此,我认为这与实际示例本身有关.

您可以直接在Service Fabric Mesh GitHub页面上留下您的反馈吗?

https://github.com/azure-samples/service-fabric-mesh/issues

由于此问题已在预览中,所以这是提出问题的最佳途径,因此团队可以进行调查并研究使其再次工作:) 


Hi,

I've run through the Service Fabric Mesh tutorial (Google 'Create, debug, and deploy a multi-service web application to Service Fabric Mesh' - sorry can't post a hyperlink as my account needs to be verified...) line for line (twice) and everything seemed fine - except for one issue.

There is the front end service (web app) and an API service (ToDoService). When I debug in a local cluster the web app fails to connect to the API Service. The API service works fine (postman or browser GET) using localhost or IP, but the service name 'todoservice' does not resolve. Which explains why the web app cannot connect (it does if I hard code the IP).

I notice that the API service DNS is stated as 'todoservice.todolistapp' in the Service Fabric Explorer - but this does not work either. The environment variables are all correct (and have checked the generated URI).

I have disabled firewall and I am running latest of everything on Windows 10 Pro.

I've seen a few posts relating to previous local cluster DNS issues but nothing that seemed relevant.

Anyone had similar issues - or could point me in the right directions please?

Thanks - much appreciated!

解决方案

Thanks for reaching out! I followed the doc but also ran into some issues. After downloading the source code for the project there were still errors associated. So I am thinking this is an issue with the actual example itself. 

Could you leave your feedback directly on the Service Fabric Mesh GitHub Page? 

https://github.com/azure-samples/service-fabric-mesh/issues

Since this issue is in preview this is the best route to bring up issues so the team can investigate and look into getting it working again :) 


这篇关于服务结构网格教程-本地群集上的DNS问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆