Redis缓存在Web Apps中 [英] Redis cache in Web Apps

查看:99
本文介绍了Redis缓存在Web Apps中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

$


i跟随https://docs.microsoft.com/en-us/azure/azure-cache-for-redis/cache-web -app-howto #add-app-setting-for-cache

在步骤2中,我将CacheConnection的值设置为"ContosoPreyashAzure.redis.cache.windows.net,abortConnect = false,ssl = true,密码= lI4IKwxHxxUxxxxcxxxxxxx + xxxxxxxx"

我的网站是https://contosoteamstats20190226070639.azurewebsites.net/



错误为 

"Web App的容器无法启动

请在几分钟后重试

如果您是此网站的管理员应用程序请验证您的容器设置并转到Azure门户查看诊断日志

" b
$
请帮忙。

谢谢&此致,

Preyash Vrat

+ 91xxxxxxxx



Hi,

i am following https://docs.microsoft.com/en-us/azure/azure-cache-for-redis/cache-web-app-howto#add-the-app-setting-for-the-cache
In step 2, i set value of CacheConnection as "ContosoPreyashAzure.redis.cache.windows.net,abortConnect=false,ssl=true,password=lI4IKwxHxxUxxxxcxxxxxxx+xxxxxxxx"
My website is https://contosoteamstats20190226070639.azurewebsites.net/

Getting error as 
"The Web App's container could not start
Please try again in few minutes
If you are an administrator of this Web App please verify your container settings and go to Azure Portal to review the diagnostic logs
"

Please help.
Thanks & Regards,
Preyash Vrat
+91xxxxxxxx


推荐答案

只是为了澄清一下,您是否创建了一个新的WebApp,已在文档中提及或试图利用现有的
W eb A pp
for容器
在A zure
A pp
S ervice
 

Just to clarify, have you created a new WebApp has mentioned in the document or attempting to leverage an existing WebApp for container on Azure App Service?  

你可以导航到Kudu网站 -
https:// contosoteamstats20190226070639。 scm.azurewebsites.net/ ,以获取有关错误的更多详细信息。

You could navigate to the Kudu site - https://contosoteamstats20190226070639.scm.azurewebsites.net/, to fetch more details on the error.

D:\\\ home \ LogFiles \ * _docker.log文件。

如果容器成功启动,通常会在日志文件中找到一行 -


"INFO - 站点:* - 容器启动和配置成功完成"

另外,请检查应用程序是否在本地运行正常。
查看  建议GitHub文档中概述的
 
部署
vs运行时问题


如此处所述 - 确保
确保网站在本地正确部署
 用于隔离问题。

Also, kindly check to see if the app works fine locally. Take a look into the suggestions outlined in the GitHub document Deployment vs runtime issues and as described in the here -Make sure site correctly deploys locally for isolating the issue.

请告诉我们上述内容如何进一步调查。

注意:
微软尊重客户数据隐私,因此不建议您在公共论坛上分享任何敏感/私人信息。

Note: Microsoft respects Customer Data Privacy and hence would not suggest you to share any sensitive/private information on the public forum.


这篇关于Redis缓存在Web Apps中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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