This morning many people, including Laravel News, are experiencing that their sites are erroring when communicating with third party systems. The hostnames couldn’t be resolved and causing all those to fail.
The apparent fix is to restart either PHP-FPM, Apache, or Nginx. If you are using Forge you can SSH in and run:
sudo service php7.0-fpm restart
Replacing “7.0” with your installed PHP version, or restart the Nginx service from the Forge admin.
I haven’t been able to pinpoint the actual cause but on social media, some are saying it’s related to an Ubuntu nightly security update.
In my tests it was just web requests, anything ran through the CLI would still work fine, but that meant that my Bugsnag errors couldn’t be logged, and all the API calls failed.
Update Mar 22, 2017: In today’s Ubuntu Security Notice USN-3239-2 they have reverted the change that caused issues yesterday. That means that long-running services that were restarted to compensate for USN-3239-1 update will need to be restarted again.
Filed in: News
Join the weekly newsletter and never miss out on new tips, tutorials, and more.
- Laravel / Vue.JS Developer - Join an amazing team!
- Mid / Sen. Software Engineer
- Remote PHP / Laravel Developer
- Senior PHP/Laravel Developer: Your Dream Work Environment
iPhone Photography School
- Senior Laravel Developer
- PHP Developer
- Senior Laravel Developer (Canada and India)
London, Ontario, Canada
Factory Bucket Inc.
Using Variables in Your .env File
Laravel’s .env file is included to use, so it’s easy to have a different configuration based on the environment your…
F-Bar – Manage your Laravel Forge Servers from your Mac’s Menubar
F-Bar is a brand new Mac App made by EASTWEST, that allows you to manage your Laravel Forge servers from your Menubar…