简体   繁体   English

Kendo UI 文件夹上传出错 - ERR_HTTP2_PROTOCOL_ERROR

[英]Getting Error on Kendo UI Folder Upload - ERR_HTTP2_PROTOCOL_ERROR

I am using Telerik Kendo File Upload for uploading folder.我正在使用 Telerik Kendo File Upload 来上传文件夹。 In Production environment, few users are complaining issue with Folder Upload, during upload few files get errored out, using Developer tool in the console tab it logs "ERR_HTTP2_PROTOCOL_ERROR" error as attached for the failed files.在生产环境中,很少有用户抱怨文件夹上传问题,在上传过程中,很少有文件出错,使用控制台选项卡中的开发人员工具会记录“ERR_HTTP2_PROTOCOL_ERROR”错误作为失败文件的附件。

在此处输入图像描述

When i am trying i am not getting this error and all folders are getting uploaded properly.当我尝试时,我没有收到此错误,并且所有文件夹都已正确上传。 I asked user to share the files for which they are facing error and when i tried it uploaded successfully.我要求用户分享他们面临错误的文件,并且当我尝试上传成功时。 When user tried again uploading same files which errored out it got succeeded today which were failing yesterday but sill there are files which is giving the same error.当用户再次尝试上传错误的相同文件时,它今天成功了,昨天失败了,但是仍然有文件给出了相同的错误。

I went through a post where it say the problem could be due to use of HTTP/2 and when they switched to HTTP /1.1 it worked fine.我浏览了一篇帖子,上面说问题可能是由于使用了 HTTP/2 而当他们切换到 HTTP /1.1 时它工作正常。 We are also using HTTP/2 but we don't have option of going back to HTTP/1.1.我们也在使用 HTTP/2,但我们没有选择回到 HTTP/1.1。 Link below:下方链接:

https://www.telerik.com/forums/problems-with-multi-file-upload-and-http-2 https://www.telerik.com/forums/problems-with-multi-file-upload-and-http-2

Any suggestions?有什么建议么?

This is because on your clients machine http/2 is not enabled thus the error prompts.这是因为在您的客户端机器上未启用 http/2,因此会提示错误。

If you look in your local machine you will see that under your server, you have Https protocol enabled and a valid certificate.如果您查看本地计算机,您将看到在您的服务器下,您启用了Https协议和有效证书。

Your clients either lack a valid certificate on the server or are using the site through Http protocol.您的客户端要么在服务器上缺少有效证书,要么正在通过Http协议使用该站点。

you can learn more here:你可以在这里了解更多:

Http/2 explanation http/2解释

SETTINGS_MAX_CONCURRENT_STREAMS (0x3):
Indicates the maximum number of concurrent streams that the sender will allow. This limit is directional: it applies to the number of streams that the sender permits the receiver to create. Initially, there is no limit to this value. It is recommended that this value be no smaller than 100, so as to not unnecessarily limit parallelism.
A value of 0 for SETTINGS_MAX_CONCURRENT_STREAMS SHOULD NOT be treated as special by endpoints. A zero value does prevent the creation of new streams; however, this can also happen for any limit that is exhausted with active streams. Servers SHOULD only set a zero value for short durations; if a server does not wish to accept requests, closing the connection is more appropriate.

Resolution: : Add “Http2MaxConcurrentClientStreams” under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HTTP\Parameters In Registry and restart server.解决方法: : 在 Registry 中的 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HTTP\Parameters 下添加“Http2MaxConcurrentClientStreams”并重启服务器。 Set this value to 100 or >100将此值设置为 100 或 >100

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 ASP.NET 发送时核心错误 Ajax List.net::ERR_HTTP2_PROTOCOL_ERROR - ASP.NET Core Error When Sending Ajax List net::ERR_HTTP2_PROTOCOL_ERROR net::ERR_HTTP2_PROTOCOL_ERROR 200 AJAX ASP NET CORE - net::ERR_HTTP2_PROTOCOL_ERROR 200 AJAX ASP NET CORE Azure 应用程序注册快速入门代码生成 ERR_HTTP2_PROTOCOL_ERROR - Azure app registration Quickstart code producing ERR_HTTP2_PROTOCOL_ERROR 获取错误107(net :: ERR_SSL_PROTOCOL_ERROR):SSL协议错误 - Getting Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error 从 Azure Active Directory 重定向到我的网站时出现错误 ERR_SSL_PROTOCOL_ERROR - Getting error ERR_SSL_PROTOCOL_ERROR when redirecting from Azure Active Directory to my website 使用 https 协议的生产中的 HTTP2_Protocol 错误 - HTTP2_Protocol Error in Production with https protocol 无法上传到特定文件夹获取503错误 - Can't upload to a specific folder getting 503 error 使用Kendo UI AutoComplete引发错误 - Using Kendo UI AutoComplete to throw error Kendo UI网格聚合使用组和Razor语法获取'sum'是未定义的错误 - Kendo UI grid aggregate using groups and Razor syntax getting 'sum' is undefined error Kendo用户界面-上传按钮-自定义 - Kendo UI - Upload Button - Custom
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM