无法从应用程序上传文件到Azure Blob

发布于 2025-02-11 19:54:24 字数 67 浏览 2 评论 0原文

我们有一个问题,可以将文件从本地代码上传到Azure Blob存储中,而不是从EC2实例内IIS上托管的应用程序上载的。

We have an issue where we are able to upload files into Azure blob storage from local code but not from the application as is hosted on IIS inside EC2 instance .. Any idea as to what can be the possible reasons .

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

猥琐帝 2025-02-18 19:54:24

将文件上传到应用程序中的azure blob时,有一些可能的原因。

您可以尝试以下可能解决您的问题的点:

  1. 在Azure Portal中,请检查存储的配置是否正确版本用于存储客户端。如今,最新的TLS版本为1.2。

如果需要较低版本,则可以通过以下更改:

转到Azure Portal-&gt; storage-&gt; storage-&gt; configuration-&gt; minumimum tls版本。<<<<<<<<<<<<<<<<<<<<<<<<<。 /strong>

“在此处输入图像说明”

  1. 使用服务器检查 iis 。从该服务器访问Internet可能是一些问题。

  2. 还可以在系统中使用防火墙检查连接(协议,host&amp; port)。

  3. 如果TLS 1.2是启用使用注册表键检查服务器。如果需要添加,请尝试添加注册表键的更改。

hkey_local_machine \ system \ currentControlset \ control \ securityProviders \ Schannel \ Schannel \ stologtions。

参考:您可以参考故障排除的打击链接。

  1. so thread < /a>


  2. error-while-while-uploading-the-files-files-foiles-to-azure

There are some possible reasons for the issue in uploading files into Azure blob from application.

You can try with below points that might fix your issues:

  1. In azure portal check the configuration of the storage whether it is correct version for storage client. Nowadays the latest TLS version is 1.2 .

If it is required lower version you can change by below:

Go to Azure portal->storage->Configuration->Minimum TLS version.

enter image description here

  1. check with server which IIS is installed once. It might be some issues accessing the internet from that server.

  2. Also check with Firewall in your system that allows the connection (protocol, host & port).

  3. If TLS 1.2 is enabled check server with registry keys. if there is need to be added try to add the changes in registry keys.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols.

Reference: You can refer the blow links for troubleshooting.

  1. SO thread

  2. Error-while-uploading-the-files-to-azure

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文