Chrome uploads prevented by BlockThirdPartyCookies registry key
Submitted by markusd1984 on Wed, 03/13/2019 - 11:12
Posting here as i think the recent upload issues in chrome may relate to this registry key BlockThirdPartyCookies which prevents the uploads to complete.
I discovered at work that this recently has beend added part of Windows GPO changes, having manually removed this made uploads working again.
As far I know chrome is possibly moving towards enabling this by default in future.
Can you please look into this for any temporary workarounds (does h5p require the cookie for the upload?!) and any possibly fix?
The file you are trying to upload might be too large.
Mon, 04/08/2019 - 15:16
Hm, this seems a bit strange.
Hm, this seems a bit strange. The restriction should only take place if you are trying to upload the file to a different domain than the one in the URL field. Perhaps you have multiple domains pointing to your site and the form is submitting to the wrong one? You should be able to figure this out by looking in the Network tab of the DevTools in Chrome, use Ctrl(Cmd)+Shift+J to open.
Tue, 04/09/2019 - 11:13
Did you try the regkey? I'm using h5p on same domain in drupal
Did you try an interactive video upload in chrome with this regkey enabled?
I'm using h5p as part of drupal, thus it's hosted on the same server (only one internal domain https://mydrupalserver)
FYI - See attached my dev tools showing an successful upload to /sites/default/files
working just fine with the regkey disabled
Wed, 04/10/2019 - 10:03
h5p cookies seem to be not the issue but drupal ones
I just found out how to check the cookies being blocked in chrome and how to manuallay allow them,
turns out that even allowing the h5p.org domain does not mad any changes but there are still some cookies blocked from drupal and after allowing them it works. Looking further into it but i conclude it's unlikely h5p the issue, probably my SSO / drupal cookies. Sorry about that.
Wed, 04/10/2019 - 10:10
FYI - the below regkey setting allows certain domains to be used while thirdpartycookies are blocked, thus ensuring my drupal server works and allows for the chrome uploads with h5p :)
Thu, 04/11/2019 - 10:42
Great to see that you got it
Great to see that you got it working, and thanks for sharing the solution.
A bit strange that this should be enabled by default. My guess it could be related to some sort of security setup.