plupload hangs with no feedback

情到浓时终转凉″ 提交于 2020-01-05 04:23:23

问题


As per here:

Can't upload file attachments to phpBB3 forum on IIS

I'm having a problem with the plupload implementation in phpBB3.

I find that I get through

phpbb.plupload.uploader.bind('FilesAdded', function(up, files)

but never get to

phpbb.plupload.uploader.bind('FileUploaded', function(up, file, response)

unless my file is very small (< 5 KB). Is this simply down to reponses from the server (or lack thereof)? Any tips on figuring out the actual problem? So I can stop trying out a bunch of random crap?

EDIT: Fiddler shows that the upload simply doesn't get any response from my server. Using the un-minified plupload files I can see that (I think) everything for the XMLHttpRequest is properly constructed. I essentially get through uploadChunk to xhr.send, but never get to xhr.onload.

How do I debug the server side problem?


回答1:


It turns out this was a problem with a generic reverse proxy rule on our firewall. Adding a rule to specifically transfer HTTP(s) traffic directly to our webserver (rather than through the reverse proxy table) fixed things.



来源:https://stackoverflow.com/questions/57796744/plupload-hangs-with-no-feedback

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!