Network failure problem

Dear Support,

 

Some of my users indicated the following problem.

They start to play a video in H5P but after 1-2 seconds the videos stop to work and the system indicates "Network failure".

What could be the solution in these cases?

Thank you, Péter

 

BV52's picture

Hi Péter,

It's really hard to say. If you can provide more details it may help the community determine what is causing the issue and suggest a solution.

  1. Detailed steps to reproduce the bug (exactly how and when did it happen)
  2. Platform and version number. E.g. Drupal, Wordpress, Moodle.
  3. Mobile or Desktop
  4. Browser: Chrome, Firefox, Safari etc
  5. H5P plugin version
  6. H5P content type and version (if a content type was used), and a sample URL or attached H5P.
  7. Any browser console errors
  8. Any PHP errors
  9. Screenshots if it's a visual problem

If it worked before:

  1. Any recent changes to the environment (new plugins/modules, updates, configuration changes etc.)
  2. Any recent changes to the browser you're using (new extensions, updates etc.)

-BV

peverist's picture

Hi

I have an interactive Video actvity in my Moodle site that consistently generates a network failure message and 500 Internal Server error when using the timeline slider to move around the mp4 video. It works ok if just playing the video and doing the interactions as they occur.

The actvity has 4 interactions - all are set to pause the video

Moodle 3.10.3, mssql 11.000.7493, PHP 7.2.26 - WIndows

Console error message :

files-608a3ab580582.mp4:1 GET https://theo.test.dhhs.tas.gov.au/pluginfile.php/180588/mod_hvp/content/... 500 (Internal Server Error)

jquery.js?ver=2020080400:2 POST https://theo.test.dhhs.tas.gov.au/mod/hvp/ajax.php?contextId=22233&token=9f…&action=contents_user_data&content_id=303&data_type=state&sub_content_id=0 500 (Internal Server Error)

send@jquery.js?ver=2020080400:2

ajax@jquery.js?ver=2020080400:2

contentUserDataAjax@h5p.js?ver=2020080400:2361

H5P.setUserData@h5p.js?ver=2020080400:2485

save@h5p.js?ver=2020080400:230

setTimeout (async)

save@h5p.js?ver=2020080400:234

setTimeout (async)

(anonymous)@h5p.js?ver=2020080400:240

each@jquery.js?ver=2020080400:2

each@jquery.js?ver=2020080400:2

H5P.init@h5p.js?ver=2020080400:93

(anonymous)@h5p.js?ver=2020080400:2821

e@jquery.js?ver=2020080400:2

t@jquery.js?ver=2020080400:2

setTimeout (async)

(anonymous)@jquery.js?ver=2020080400:2

c@jquery.js?ver=2020080400:2

fireWith@jquery.js?ver=2020080400:2

fire@jquery.js?ver=2020080400:2

c@jquery.js?ver=2020080400:2

fireWith@jquery.js?ver=2020080400:2

ready@jquery.js?ver=2020080400:2

B@jquery.js?ver=2020080400:2

(anonymous)@h5p.js?ver=2020080400:383

each@jquery.js?ver=2020080400:2

each@jquery.js?ver=2020080400:2

H5P.init@h5p.js?ver=2020080400:379

(anonymous)@h5p.js?ver=2020080400:2821

e@jquery.js?ver=2020080400:2

t@jquery.js?ver=2020080400:2

setTimeout (async)

(anonymous)@jquery.js?ver=2020080400:2

c@jquery.js?ver=2020080400:2

fireWith@jquery.js?ver=2020080400:2

fire@jquery.js?ver=2020080400:2

c@jquery.js?ver=2020080400:2

fireWith@jquery.js?ver=2020080400:2

ready@jquery.js?ver=2020080400:2

B@jquery.js?ver=2020080400:2

I would be grateful for any suggestions on how to resolve this 

Phil

 

 

I'm having this issue too, it's urgent and affecting hundreds of students in our course. I'm trying to play the interactive video directly on H5P.com, no Moodle or Canvas involved. We started noticing this error as of 5/5/2021. 

Access to video at 'https://vod-progressive.akamaized.net/exp=1620339872~acl=%2Fvimeo-prod-s...' from origin 'https://cognella.h5p.com' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'null' that is not equal to the supplied origin.

2587892565.mp4:1 GET https://vod-progressive.akamaized.net/exp=1620339872~acl=%2Fvimeo-prod-s... net::ERR_FAILED

Does this line up with the release noted here - h5p-video 1.5.15?

BV52's picture

HI a2munoz,

No I don't think it is related to that update since that is for the content type "Video" not "Interactive Video". Since the issue is related to your H5P.com account I suggest that you contact their support, you can check the instructions on this page.

-BV

We are using H5P on drupal with Opigno and are also having a large amount of students report this issue. We have multiple quality versions for each interactive video and some students are able to fix it by changing it to a lower quality, but it does not always work and some videos do not have alternate versions.

We have the same problem: network error on intercative video in Chrome and Edge, a couple of hundred users affected. Since 05/05 the interactive video's only work properly in Firefox . Tested in Moodle and also in h5p.com .
The original Vimeo video plays fine everywhere. On h5p.com it will not play  (or get stuck after a few se conds) in Chrome and Edge
Example: https://springinstituut.h5p.com/content/1290858546276690147

I'm logged in with my admin account in h5p.com but cannot find any support options anywhere...

 

BV52's picture

Hi ronpluy,

It may be a longer route but you can send an e-mail to sales@h5p.com and they should be able to get a hold of someone from the tech support team.

Edit: Just saw your e-mail and I copied the H5P.com team

-BV

Great! Thank you very much
Sincerely,
Ron

otacke's picture

Hi all!

I am no expert on HTTP headers, but the akamaized server is setting "Sec-Fetch-Mode: no-cors" and "Sec-Fetch-Site: same-origin" which probably prevents using the video embedded in other sites - at least that is what it sounds like.

According to MDN, it is not implemented by Firefox, so that would explain why it is working there. I am not sure if there's anything that can be done in H5P regarding that issue. I'd guess that this is something that would need to be configured on the akamaized server or wherever that resource is set up in vimeo.

Best,
Oliver

BV52's picture

Hi Oliver,

You are not wrong ;-) I just read the updates from the core team.

-BV

otacke's picture

Hi BV!

Thanks for letting me know. My gut feeling is becoming better and better :-)

Cheers,
Oliver

Any info for us? We are using h5p with drupal and opigno, not h5p.com

otacke's picture

Hi!

If it's the same issue (some CORS headers preventing including the video), then the host system doesn't matter. The server that's serving the videos would need adjustment.

Unfortunately, it seems you didn't provide any further information, so it's not possible to tell. That's why BV always reminds people to follow what's listed at the top of https://h5p.org/forum/9 and share that information or a link to the content in question. And even if you share that information: This is a community forum. If nobody in the community has a clue or free time to donate to your problem, then you may not get an answer at all.

Best,
Oliver

Thanks for the reply Oliver,

I'm not able to provide a link to the activity. But the info I can provide the video link that is being used in the interactive video: https://vod-progressive.akamaized.net/exp=1620672547~acl=%2Fvimeo-prod-s...

 

BV52's picture

Hi xavierp,

Oliver's answer here applies to your situtation as well.The H5P core team is looking into this if they will be able to find a solution however it is better if you ask Vimeo for assistance.

-BV

Thanks very much i'll reach out to Vimeo 

I have heard from the h5p.com team that they are looking for a solution re. the interactive video playback from Vimeo hosted videos.
Vimeo itself indicated that they do not support playback through third party players. So they will not look into  the matter...
I expect to hear back from h5p this friday and will update here accordingly if there's indeed a solution offered by them.

BV52's picture

Hi Ron,

Thank you for the update. I was about to update the thread when I saw your post ;-)

-BV

Goodmorning,
I was just checking some interactive video's and they are now correctly playing in Chrome and Edge!
Big thank you to the team at h5p for helping to fix this issue !!!
Ron Pluylaar

No luck for us yet. Is there an update we need to install? Or are you using h5p.com?

BV52's picture

Hi All,

The hotfix was released in H5P.com and I am still checking with the H5P core team on when it will be released for the plugins. Replies will take longer than usual because of the holidays in Norway.

-BV

Hi BV,

Any update / eta on this?

- Stefan

Hi BV,

Is there an update / eta on when this will be relaesed for plugins.

Kind regards,
Stefan

Hi BV

Any update / ETA on when this hotfix will be relased for the plugins?

Kind regards, Stefan

Edit: Sorry for the spam, it took me a while to figure out that the comments needed to be aproved.

BV52's picture

Hi Stefan,

Sorry no updates or ETA yet. Would you mind provding the which platform are you using and the version of the H5P plugin.

-BV

Hi Bv,

We're using the opingo platform ( on Drupal ).
With the following plugins:

  • H5P Video 1.5
  • H5P InteractiveVideo 1.20.4
  • H5p CoursePresentation 1.22

Is it possible to give some inside on how the internal team fixed it on H5P.com,  So we can fork the repo and maybe create a PR with a fix?

Kind Regards,
Stefan

BV52's picture

Hi Stefan,

I'm afraid I am not a developer so I do not have this information. However I will check with the H5P core team and I will get back to you within the week.

-BV

Hello BV,

Is there any news on this? We are having hundreds of students run into this issue this past week. We can get the videos to work in Frirefox like your collegue suggested, but we are being inundated with stupport tickets becasue of this issue. We are using vimeo links on interactive videos, and this is the only place we are having the issue. We are using Drupal and Opigno with H5P.

One thing that we noticed is that if there are multiple links set up for the video (to include multple video quality options), switching from the default quality link to any other one seems to work, however not all of our videos have multiple quality settings.

Thanks

BV52's picture

Hi xavierp,

One of the developers mentioned that they will post what was done in H5P.com's server to fix the issue. I'm sorry for the delay.

-BV

That would be great! Thanks so much

peverist's picture

Just to further clarify

The network failure messages we are getting occur on Edge and Chrome

The Mp4 video was uploaded directly to the actvity (although it was originally downloaded from Vimeo) 

Does that align with the issues identified in earlier comments?

Can I expect the fix being worked on will resolve this on my site?   (Moodle 3.10.4, php 7.2.26, H5p framework v1.24)

Thanks

BV52's picture

Hi peverist,

Thank you for the additional information. These doesn't sound like it is the same issue as this thread. The issue may be totally different.

Would you mind checking the browser console for errors.

-BV

peverist's picture

HI

The details were in the earlier post: https://h5p.org/comment/41424#comment-41424

I tested again this morning and I was able to replicate the error again - screenshot and console log attached

Thanks

peverist's picture

HI BV - I have just seen the network failure error occur when jumping around in a non-H5P video. It seems to happen more fequently with H5P Interactive videos but the underlying issue is likely a system issue not a H5P issue. Thanks.

Phil

BV52's picture

Thank you for the update Phil!

BV52's picture

Hi Everyone,

The developers mentioned that the issue specific to Vimeo is only related to H5P.com. The fix that was deployed was not with the libraries of H5P/Interactive video. Most likely, the streaming platform is struggling to keep the connection open between their server and your device. Have you tried using a different internet connection? Alternatively, we have seen similar issues with older devices that are not compatible with the newer video codecs used by providers.

-BV

This does not seem to be the case for us. I have tried on a fully updated windows 10 machine and cannot play videos hosted from Vimeo. We are also using drupal and opigno as the user above mentioned. Our developers have also asked if the fix that was used on h5p.com could be shared with us to see if we can fix our issue as well. Thanks for all the help!

Hello BV,

We are fairly desperate for a solution to this. Any word on sharing the fix from h5p.com?

 

Thanks you!

BV52's picture

Hi xavierp,

Below is what the developers did in H5P.com:

What we did on H5P.com to make Vimeo work again was setting crossorigin from Anonymous to not specified. The default is not specified for H5P, so for other sites, unless they have overridden the setting to be "anonymous" they will not be able to do this as they will already be on "not specified".

-BV

goster's picture

Its an interactive video in a Learndash course that is embedded from Vimeo. Using Firefox, It plays for 2-3 seconds then the "network failure" image pops up and video is inaccessible. Is there something I can do go my videos working again?

Thanks

Andrew

BV52's picture

Hi Andrew,

I'm not sure if it is possible to still use Vimeo. Vimeo has stopped allowing crossdomain usage of their videos.

-BV

Some of our users have reported the same Network Failure issue across interactive videos on our site. The interactive video's are uploaded to the Moodle H5P activity in .webm format. On testing the reports I didn't receive the Network Failure so it seems to be a sporadic occurance.