Yii2 Error: cookieValidationKey Must be Configured With a Secret Key

After I ran composer update to get new Yii2 framework version, I got this error yii\web\Request::cookieValidationKey must be configured with a secret key To overcome this error, I added this code below in config/main.php ‘components’ => [ ‘request’ => [ ‘enableCookieValidation’ => true, ‘cookieValidationKey’ => ‘your-validation-key’, ], …… Hope it helps.

Node.js Elastic Beanstalk TIMEDOUT Error

I got an error when deploying my Node.js app into AWS Elastic Beanstalk (EB). The error said Error: connect ETIMEDOUT at errnoException (net.js:901:11) at Object.afterConnect [as oncomplete] (net.js:892:19) ——————– at Protocol._enqueue (/var/app/current/node_modules/mysql/lib/protocol/Protocol.js:110:26) at Protocol.handshake (/var/app/current/node_modules/mysql/lib/protocol/Protocol.js:42:41) My Node.js app using node-mysql module to access database. You can see “mysql” in the error statement. Seeing from errors,