Add and configure the Remote stream wrapper module. https://www.drupal.org/project/remote_stream_wrapper/issues/2875444#comment-12881516