bolt / project

🚀 Repo to `composer create project` a Bolt 5 project.
MIT License
39 stars 38 forks source link

Flaky external service causes problems during project setup. #34

Closed ADmad closed 3 years ago

ADmad commented 3 years ago

Running bin/console bolt:setup and choosing to yes for Add fixtures (dummy content) to the Database? (yes/no) I ended up with error

In ResponseTrait.php line 280:

  HTTP/1.1 503 Service Unavailable returned for "https://source.unsplash.com/1280x1024/?portrait,face,headshot/23227".  

The service seems down and that URL is inaccessible. I guess some better error handling or falling back to another service is required to mitigate this scenario.

avpaderno commented 3 years ago

I tried accessing https://source.unsplash.com/1280x1024/?portrait,face,headshot/23227 from the browser, and I can see the image.

ADmad commented 3 years ago

It is/was an intermittent issue and not about a specific URL.

bobdenotter commented 3 years ago

Fixed in the Bolt 5 beta's:

composer create-project bolt/project playground "^2.0" --stability=beta