Inside the HTML there are assets being loaded like this:
<link href="{{ asset(('/css/app.css')) }}" rel="stylesheet">
Inside Sail the asset points to an URL like this:
asset(('/css/app.css'))
> "http://myapp.test/css/app.css"
But indeed the host can be resolved. So this is not the problem. But Browsershots is stuck when I load an asset like a small image or css.
E.g. if I don't load
<div class="margined-bottom-default unbreak-element">
<img src="{{asset('images/logo.png')}}" class="h-24 w-24">
</div>
or the css asset(('/css/app.css')) the pdf can be displayed. But the image is only a few kb. And if I include the same logo using an image-hoster, it works fine...
So maybe there's a problem using concurrent connections in sail...?