Error: https:// wrapper disabled if js_pipeline is true

If I am turning js_pipeline on, it works fine on localhost but not on my hosting, there I get the following error message:

“An exception has been thrown during the rendering of a template (“file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0”) in “partials/base.html.twig” at line 63.”

Line: 63: {{ assets.js() }}

Is this a bug, or do I need any further configuration (because js_pipeline need https)?

I think here you can find some useful information on how to solve this PHP configuration issue: (allow_url_fopen disabled?)

Thanks! My question is wether js_pipline does need https?

Are you trying to load a particular JS file via https?

Oh well, right! There is one called via https (webfontloader) and the rest via theme-directory.

Ok, now I have embedded this particular js directly to the theme, now everything is fine! Good to know how js_pipeline is working. Thanks!