Windows Azure 临时区域和生产区域之间有什么区别?
我问这个问题是因为我有一个应用程序在暂存中完美运行,但现在它已投入生产,当我在浏览器中请求该页面时,fiddler 告诉我响应是 502 错误。有谁知道可能会导致这种情况的原因是什么?我可以简单地把它留在舞台上,它的学术工作所以这不是什么大问题,但它很烦人。 Iv 等了至少 30 分钟,结果仍然相同,所以我怀疑它是否会起到任何作用。
I ask because I had an app working perfectly in staging, but now that it is in production, fiddler tells me the response is a 502 error when I request the page in a browser. Has anyone any idea what might cause this? I could simply leave it in staging, its academic work so its not a big deal, but it is annoying though. Iv waited at least 30 mins and still the same result so I doubt if it is going to do anything.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我相信除了 DNS 寻址之外没有任何区别 - 并且您应该能够交换暂存和生产,而不是直接上传到生产。
I believe there's no difference except DNS addressing - and you should be able to swap Staging and Production rather than uploading straight to Production.
对我来说一个很大的区别是,登台有一个随机指南作为域的一部分,因此我无法在测试中轻松引用。我也无法轻松地将其设置为我的网络部署的目标。
因此,当我处于开发模式时,我倾向于只有两个独立的 Web 角色项目,它们都是非 GUI 名称,并使用一个作为暂存,另一个作为其他团队成员相对稳定的生产。
也就是说,对于实际生产,我确实使用登台,因为我可以测试 VIP 交换,这是一种比等待 20 分钟看它是否有效更好的上线方式。 (如果没有的话怎么办)?
我的2分钱。
One big difference for me is that the staging has a random guid as part of the domain so I can't easily reference in my testing. I also can't easily set it as a target for my web deployments.
So, when I'm in dev mode, I tend to just have two separate web role projects that are both non-guid names and use one as staging and one as relatively stable production for other team members.
That said, for real production, I do use staging because I can test the VIP swap which is a much better way to go live than waiting 20 minutes to see if it worked. (and what if it did not)?
My 2cents.
解决了,我想我得等32分钟。 GAE FTW
Resolved, I guess I had to wait 32 minutes. GAE FTW