[英]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:你可以在这里了解更多:
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.