Ubuntu - cannot connect to H5P
Submitted by thomclae3 on Fri, 10/06/2017 - 12:55
Forums:
Hey
Does anyone know how to fix the error below?
ubuntu@ubuntu-xenial:/vagrant/web/sites/default/files/h5p/development$ sudo h5p get h5p-interactive-video
Looking up dependencies... ERROR: Cannot connect to server: connect ETIMEDOUT 139.59.212.216:443
Kind regards
Thomas
tomaj
Mon, 10/09/2017 - 10:24
Permalink
Ubuntu and H5P Cli
Hi Thomas,
I'm on the H5P core team, and I'm using Ubuntu. :)
Regarding using H5P Cli in production
The h5p Cli is intended as a development tool, and not to get your "production ready" content types. I will get the master branch from Github, when what you probably would want for production is the stable branch, or a tagged version.
An alternative to get the content types to use in production, can be the following:
Of course this will not get the dependencies like the H5P Cli does, but it will be deterministically reproducable. :) But you will have to do the same for all the dependencies you want to use. Also note that not all of them has npm build scripts yet.
Good luck!
- Tom