title: Testing Laravel with jMeter.. Error reading config
body: <p>I´m trying to run a performance test in a simple web developed with Laravel 5.5 as backend.</p>
  
  <p>It´s a simple test, only one sample getting the home page. When the test begins, all works correctly, but earlier or later, randomly, the request gets Error 500. No matters the concurrent users, ocurrs with 2 or 10 users.</p>
  
  <p>This is the plan used: <a href="https://www.dropbox.com/s/hbltoazexfit4i9/laravel-core.jmx?dl=0" rel="nofollow noreferrer">jMeter Laravel-Core Simple Request JMX</a></p>
  
  <ul>
  <li>Download jMeter 3.13</li>
  <li>File > Open > Select jmx</li>
  <li>Configure the User Defined Variables</li>
  <li>Run test</li>
  </ul>
  
  <p>Screenshot with a fail example with 5 users.
  <a href="https://i.stack.imgur.com/tXgrb.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tXgrb.jpg" alt="Fail with 5 users"></a></p>
  
  <p>Reviewing the laravel.log, the error is:</p>
  
  <pre><code>[2017-11-21 14:38:16] production.ERROR: No application encryption key has been specified. {"exception":"[object] (RuntimeException(code: 0): No application encryption key has been specified. at /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php:42)
  [stacktrace]
  #0 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Support/helpers.php(1035): Illuminate\\Encryption\\EncryptionServiceProvider-&gt;Illuminate\\Encryption\\{closure}(NULL)
  #1 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(46): tap(NULL, Object(Closure))
  #2 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(24): Illuminate\\Encryption\\EncryptionServiceProvider-&gt;key(Array)
  #3 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Container/Container.php(749): Illuminate\\Encryption\\EncryptionServiceProvider-&gt;Illuminate\\Encryption\\{closure}(Object(Illuminate\\Foundation\\Application), Array)
  #4 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Container/Container.php(631): Illuminate\\Container\\Container-&gt;build(Object(Closure))
  #5 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Container/Container.php(586): Illuminate\\Container\\Container-&gt;resolve('encrypter', Array)
  #6 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(732): Illuminate\\Container\\Container-&gt;make('encrypter', Array)
  #7 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Container/Container.php(885): Illuminate\\Foundation\\Application-&gt;make('encrypter')
  #8 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Container/Container.php(813): Illuminate\\Container\\Container-&gt;resolveClass(Object(ReflectionParameter))
  #9 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Container/Container.php(779): Illuminate\\Container\\Container-&gt;resolveDependencies(Array)
  #10 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Container/Container.php(631): Illuminate\\Container\\Container-&gt;build('App\\\\Http\\\\Middle...')
  #11 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Container/Container.php(586): Illuminate\\Container\\Container-&gt;resolve('App\\\\Http\\\\Middle...', Array)
  #12 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(732): Illuminate\\Container\\Container-&gt;make('App\\\\Http\\\\Middle...', Array)
  #13 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(138): Illuminate\\Foundation\\Application-&gt;make('App\\\\Http\\\\Middle...')
  #14 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
  #15 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(102): Illuminate\\Routing\\Pipeline-&gt;Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
  #16 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Routing/Router.php(660): Illuminate\\Pipeline\\Pipeline-&gt;then(Object(Closure))
  #17 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Routing/Router.php(635): Illuminate\\Routing\\Router-&gt;runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
  #18 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Routing/Router.php(601): Illuminate\\Routing\\Router-&gt;runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
  #19 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Routing/Router.php(590): Illuminate\\Routing\\Router-&gt;dispatchToRoute(Object(Illuminate\\Http\\Request))
  #20 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(176): Illuminate\\Routing\\Router-&gt;dispatch(Object(Illuminate\\Http\\Request))
  #21 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(30): Illuminate\\Foundation\\Http\\Kernel-&gt;Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
  #22 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php(58): Illuminate\\Routing\\Pipeline-&gt;Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
  #23 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Barryvdh\\Debugbar\\Middleware\\InjectDebugbar-&gt;handle(Object(Illuminate\\Http\\Request), Object(Closure))
  #24 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
  #25 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/fideloper/proxy/src/TrustProxies.php(56): Illuminate\\Routing\\Pipeline-&gt;Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
  #26 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Fideloper\\Proxy\\TrustProxies-&gt;handle(Object(Illuminate\\Http\\Request), Object(Closure))
  #27 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
  #28 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(30): Illuminate\\Routing\\Pipeline-&gt;Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
  #29 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest-&gt;handle(Object(Illuminate\\Http\\Request), Object(Closure))
  #30 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
  #31 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(30): Illuminate\\Routing\\Pipeline-&gt;Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
  #32 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest-&gt;handle(Object(Illuminate\\Http\\Request), Object(Closure))
  #33 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
  #34 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Routing\\Pipeline-&gt;Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
  #35 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize-&gt;handle(Object(Illuminate\\Http\\Request), Object(Closure))
  #36 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
  #37 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(46): Illuminate\\Routing\\Pipeline-&gt;Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
  #38 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode-&gt;handle(Object(Illuminate\\Http\\Request), Object(Closure))
  #39 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
  #40 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(102): Illuminate\\Routing\\Pipeline-&gt;Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
  #41 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(151): Illuminate\\Pipeline\\Pipeline-&gt;then(Object(Closure))
  #42 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\\Foundation\\Http\\Kernel-&gt;sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
  #43 /opt/http-2.4.12_2/htdocs/laravel-web/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel-&gt;handle(Object(Illuminate\\Http\\Request))
  #44 {main}
  "}
  [2017-11-21 14:38:16] production.ERROR: No application encryption key has been specified. {"exception":"[object] (RuntimeException(code: 0): No application encryption key has been specified. at /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php:42)
  [stacktrace]
  #0 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Support/helpers.php(1035): Illuminate\\Encryption\\EncryptionServiceProvider-&gt;Illuminate\\Encryption\\{closure}(NULL)
  #1 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(46): tap(NULL, Object(Closure))
  #2 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(24): Illuminate\\Encryption\\EncryptionServiceProvider-&gt;key(Array)
  #3 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Container/Container.php(749): Illuminate\\Encryption\\EncryptionServiceProvider-&gt;Illuminate\\Encryption\\{closure}(Object(Illuminate\\Foundation\\Application), Array)
  #4 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Container/Container.php(631): Illuminate\\Container\\Container-&gt;build(Object(Closure))
  #5 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Container/Container.php(586): Illuminate\\Container\\Container-&gt;resolve('encrypter', Array)
  #6 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(732): Illuminate\\Container\\Container-&gt;make('encrypter', Array)
  #7 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Container/Container.php(885): Illuminate\\Foundation\\Application-&gt;make('encrypter')
  #8 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Container/Container.php(813): Illuminate\\Container\\Container-&gt;resolveClass(Object(ReflectionParameter))
  #9 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Container/Container.php(779): Illuminate\\Container\\Container-&gt;resolveDependencies(Array)
  #10 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Container/Container.php(631): Illuminate\\Container\\Container-&gt;build('App\\\\Http\\\\Middle...')
  #11 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Container/Container.php(586): Illuminate\\Container\\Container-&gt;resolve('App\\\\Http\\\\Middle...', Array)
  #12 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(732): Illuminate\\Container\\Container-&gt;make('App\\\\Http\\\\Middle...', Array)
  #13 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(215): Illuminate\\Foundation\\Application-&gt;make('App\\\\Http\\\\Middle...')
  #14 /opt/http-2.4.12_2/htdocs/laravel-web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(189): Illuminate\\Foundation\\Http\\Kernel-&gt;terminateMiddleware(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))
  #15 /opt/http-2.4.12_2/htdocs/laravel-web/public/index.php(60): Illuminate\\Foundation\\Http\\Kernel-&gt;terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))
  #16 {main}
  "}
  </code></pre>
  
  <p>In my <code>.env</code> file, I have <code>APP_ENV=local</code> not <code>APP_ENV=production</code> and the <code>APP_KEY</code> is set correctly (all earlier requests load correctly). I tried setting <code>APP_ENV=production</code>, but the problem persist...</p>
  
  <p>In other laravel project tested, the error is:</p>
  
  <pre><code>[2017-11-20 16:19:37] production.ERROR: PDOException: SQLSTATE[HY000] [1044] Access denied for user ''@'localhost' to database 'forge' in C:\xampp_7.0.9\htdocs\backpack-demo\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php:43
  Stack trace:
  #0 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php(43): PDO-&gt;__construct('mysql:host=loca...', 'forge', '', Array)
  #1 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php(116): Doctrine\DBAL\Driver\PDOConnection-&gt;__construct('mysql:host=loca...', 'forge', '', Array)
  #2 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php(56): Illuminate\Database\Connectors\Connector-&gt;createPdoConnection('mysql:host=loca...', 'forge', '', Array)
  #3 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Database\Connectors\MySqlConnector.php(24): Illuminate\Database\Connectors\Connector-&gt;createConnection('mysql:host=loca...', Array, Array)
  #4 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Database\Connectors\ConnectionFactory.php(61): Illuminate\Database\Connectors\MySqlConnector-&gt;connect(Array)
  #5 [internal function]: Illuminate\Database\Connectors\ConnectionFactory-&gt;Illuminate\Database\Connectors\{closure}()
  #6 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Database\Connection.php(956): call_user_func(Object(Closure))
  #7 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Database\Connection.php(824): Illuminate\Database\Connection-&gt;getPdo()
  #8 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Database\Connection.php(709): Illuminate\Database\Connection-&gt;reconnectIfMissingConnection()
  #9 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Database\Connection.php(351): Illuminate\Database\Connection-&gt;run('select column_n...', Array, Object(Closure))
  #10 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Database\Schema\MySqlBuilder.php(38): Illuminate\Database\Connection-&gt;select('select column_n...', Array)
  #11 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php(238): Illuminate\Database\Schema\MySqlBuilder-&gt;getColumnListing('settings')
  #12 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\backpack\settings\src\SettingsServiceProvider.php(29): Illuminate\Support\Facades\Facade::__callStatic('getColumnListin...', Array)
  #13 [internal function]: Backpack\Settings\SettingsServiceProvider-&gt;boot()
  #14 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Container\Container.php(507): call_user_func_array(Array, Array)
  #15 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(759): Illuminate\Container\Container-&gt;call(Array)
  #16 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(742): Illuminate\Foundation\Application-&gt;bootProvider(Object(Backpack\Settings\SettingsServiceProvider))
  #17 [internal function]: Illuminate\Foundation\Application-&gt;Illuminate\Foundation\{closure}(Object(Backpack\Settings\SettingsServiceProvider), 25)
  #18 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(743): array_walk(Array, Object(Closure))
  #19 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\BootProviders.php(17): Illuminate\Foundation\Application-&gt;boot()
  #20 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(203): Illuminate\Foundation\Bootstrap\BootProviders-&gt;bootstrap(Object(Illuminate\Foundation\Application))
  #21 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(253): Illuminate\Foundation\Application-&gt;bootstrapWith(Array)
  #22 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(144): Illuminate\Foundation\Http\Kernel-&gt;bootstrap()
  #23 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(116): Illuminate\Foundation\Http\Kernel-&gt;sendRequestThroughRouter(Object(Illuminate\Http\Request))
  #24 C:\xampp_7.0.9\htdocs\backpack-demo\public\index.php(52): Illuminate\Foundation\Http\Kernel-&gt;handle(Object(Illuminate\Http\Request))
  #25 {main}
  
  Next Doctrine\DBAL\Driver\PDOException: SQLSTATE[HY000] [1044] Access denied for user ''@'localhost' to database 'forge' in C:\xampp_7.0.9\htdocs\backpack-demo\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php:47
  Stack trace:
  #0 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php(116): Doctrine\DBAL\Driver\PDOConnection-&gt;__construct('mysql:host=loca...', 'forge', '', Array)
  #1 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php(56): Illuminate\Database\Connectors\Connector-&gt;createPdoConnection('mysql:host=loca...', 'forge', '', Array)
  #2 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Database\Connectors\MySqlConnector.php(24): Illuminate\Database\Connectors\Connector-&gt;createConnection('mysql:host=loca...', Array, Array)
  #3 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Database\Connectors\ConnectionFactory.php(61): Illuminate\Database\Connectors\MySqlConnector-&gt;connect(Array)
  #4 [internal function]: Illuminate\Database\Connectors\ConnectionFactory-&gt;Illuminate\Database\Connectors\{closure}()
  #5 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Database\Connection.php(956): call_user_func(Object(Closure))
  #6 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Database\Connection.php(824): Illuminate\Database\Connection-&gt;getPdo()
  #7 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Database\Connection.php(709): Illuminate\Database\Connection-&gt;reconnectIfMissingConnection()
  #8 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Database\Connection.php(351): Illuminate\Database\Connection-&gt;run('select column_n...', Array, Object(Closure))
  #9 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Database\Schema\MySqlBuilder.php(38): Illuminate\Database\Connection-&gt;select('select column_n...', Array)
  #10 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php(238): Illuminate\Database\Schema\MySqlBuilder-&gt;getColumnListing('settings')
  #11 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\backpack\settings\src\SettingsServiceProvider.php(29): Illuminate\Support\Facades\Facade::__callStatic('getColumnListin...', Array)
  #12 [internal function]: Backpack\Settings\SettingsServiceProvider-&gt;boot()
  #13 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Container\Container.php(507): call_user_func_array(Array, Array)
  #14 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(759): Illuminate\Container\Container-&gt;call(Array)
  #15 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(742): Illuminate\Foundation\Application-&gt;bootProvider(Object(Backpack\Settings\SettingsServiceProvider))
  #16 [internal function]: Illuminate\Foundation\Application-&gt;Illuminate\Foundation\{closure}(Object(Backpack\Settings\SettingsServiceProvider), 25)
  #17 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(743): array_walk(Array, Object(Closure))
  #18 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\BootProviders.php(17): Illuminate\Foundation\Application-&gt;boot()
  #19 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(203): Illuminate\Foundation\Bootstrap\BootProviders-&gt;bootstrap(Object(Illuminate\Foundation\Application))
  #20 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(253): Illuminate\Foundation\Application-&gt;bootstrapWith(Array)
  #21 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(144): Illuminate\Foundation\Http\Kernel-&gt;bootstrap()
  #22 C:\xampp_7.0.9\htdocs\backpack-demo\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(116): Illuminate\Foundation\Http\Kernel-&gt;sendRequestThroughRouter(Object(Illuminate\Http\Request))
  #23 C:\xampp_7.0.9\htdocs\backpack-demo\public\index.php(52): Illuminate\Foundation\Http\Kernel-&gt;handle(Object(Illuminate\Http\Request))
  #24 {main}
  </code></pre>
  
  <p>So, I think, the problem it´s that sometimes, the config read fails and get the default values especifies in the config/app.php.</p>
  
  <p>Has anyone had this problem or can test a Laravel project with the jmx provided?</p>
  
  <p>Thanks!</p>