htaccess file unable to open stream DrupalPublicStreamWrapper

Error message:

Warning: file_put_contents(public:///.htaccess): failed to open stream: “DrupalPublicStreamWrapper::stream_open” call failed in file_create_htaccess() (line 496 of /var/www/html/collab/docroot/includes/file.inc).

My drupal installtion went well but i cant access my sites/default/files/field/image resources. And maybe some other files.

Drupal version: 


Source: https://www.drupal.org/taxonomy/term/1/feed