Skip to content

Instantly share code, notes, and snippets.

@jobicoppola
Last active March 7, 2019 21:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jobicoppola/a0b4decf07bb4c2207dabf8c93b77e1c to your computer and use it in GitHub Desktop.
Save jobicoppola/a0b4decf07bb4c2207dabf8c93b77e1c to your computer and use it in GitHub Desktop.
==> /var/log/nginx/nba-portal-error.log <==
2019/03/07 18:57:26 [error] 16517#16517: *44851612 FastCGI sent in stderr: "PHP message: [2019-03-07 18:57:26] production.ERROR: cURL error 6: Could not resolve host: derp; Name or service not known (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) (View: /var/www/nba-portal/releases/3.9.0-go/resources/views/layouts/master/index.blade.php) (View: /var/www/nba-portal/releases/3.9.0-go/resources/views/layouts/master/index.blade.php) {"exception":"[object] (ErrorException(code: 0): cURL error 6: Could not resolve host: derp; Name or service not known (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) (View: /var/www/nba-portal/releases/3.9.0-go/resources/views/layouts/master/index.blade.php) (View: /var/www/nba-portal/releases/3.9.0-go/resources/views/layouts/master/index.blade.php) at /var/www/nba-portal/releases/3.9.0-go/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:186, ErrorException(code: 0): cURL error 6: Could not resolve host: derp; Name or service not known (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) (View: /var/www/nba-portal/releases/3.9.0-go...
PHP message: [2019-03-07 18:57:26] production.ERROR: cURL error 6: Could not resolve host: derp; Name or service not known (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) (View: /var/www/nba-portal/releases/3.9.0-go/resources/views/layouts/master/index.blade.php) (View: /var/www/nba-portal/releases/3.9.0-go/resources/views/layouts/master/index.blade.php) {"exception":"[object] (ErrorException(code: 0): cURL error 6: Could not resolve host: derp; Name or service not known (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) (View: /var/www/nba-portal/releases/3.9.0-go/resources/views/layouts/master/index.blade.php) (View: /var/www/nba-portal/releases/3.9.0-go/resources/views/layouts/master/index.blade.php) at /var/www/nba-portal/releases/3.9.0-go/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:186, ErrorException(code: 0): cURL error 6: Could not resolve host: derp; Name or service not known (see http://curl.haxx.se/li
2019/03/07 18:57:26 [error] 16517#16517: *44851612 FastCGI sent in stderr: "0-go...
PHP message: [2019-03-07 18:57:26] production.ERROR: cURL error 6: Could not resolve host: derp; Name or service not known (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) (View: /var/www/nba-portal/releases/3.9.0-go/resources/views/layouts/master/index.blade.php) (View: /var/www/nba-portal/releases/3.9.0-go/resources/views/layouts/master/index.blade.php) {"exception":"[object] (ErrorException(code: 0): cURL error 6: Could not resolve host: derp; Name or service not known (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) (View: /var/www/nba-portal/releases/3.9.0-go/resources/views/layouts/master/index.blade.php) (View: /var/www/nba-portal/releases/3.9.0-go/resources/views/layouts/master/index.blade.php) at /var/www/nba-portal/releases/3.9.0-go/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:186, ErrorException(code: 0): cURL error 6: Could not resolve host: derp; Name or service not known (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) (View: /var/www/nba-portal/releases/3.9.0-go...
PHP message: [2019-03-07 18:57:26] production.ERROR: cURL error 6: Could not resolve host: derp; Name or service not known (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) (View: /var/www/nba-portal/releases/3.9.0-go/resources/views/layouts/master/index.blade.php) (View: /var/www/nba-portal/releases/3.9.0-go/resources/views/layouts/master/index.blade.php) {"exception":"[object] (ErrorException(code: 0): cURL error 6: Could not resolve host: derp; Name or service not known (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) (View: /var/www/nba-portal/releases/3.9.0-go/resources/views/layouts/master/index.blade.php) (View: /var/www/nba-portal/releases/3.9.0-go/resources/views/layouts/master/index.blade.php) at /var/www/nba-portal/releases/3.9.0-go/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:186, ErrorException(code: 0): cURL error 6: Could not resolve host: derp; Name or service not known (see http://curl.ha
2019/03/07 18:57:26 [error] 16517#16517: *44851612 FastCGI sent in stderr: "ct(G...
PHP message: PHP Fatal error: Uncaught GuzzleHttp\Exception\ConnectException: cURL error 6: Could not resolve host: derp; Name or service not known (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) in /var/www/nba-portal/releases/3.9.0-go/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:186
Stack trace:
#0 /var/www/nba-portal/releases/3.9.0-go/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(150): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array)
#1 /var/www/nba-portal/releases/3.9.0-go/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(103): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))
#2 /var/www/nba-portal/releases/3.9.0-go/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php(43): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\Curl" while reading response header from upstream, client: 10.12.23.35, server: origin.nba.sportingnews.com, request: "GET /news/blah/derp HTTP/1.1", upstream: "fastcgi://127.0.0.1:9001", host: "ca.nba.com"
==> /var/log/nginx/nba-portal-access.log <==
10.12.23.35 - - [07/Mar/2019:18:57:26 +0000] "GET /news/blah/derp HTTP/1.1" 500 5 "-" "curl/7.29.0" "-" 0.132
Uncaught InvalidArgumentException: Invalid type given 'NULL', must by an object in /srv/www/nba/vendor/clean/assure/src/assure/ObjectCommand.php:16 Stack trace: #0 /srv/www/nba/vendor/clean/assure/src/assure.php(22): Assure\ObjectCommand->assure(NULL, NULL, NULL) #1 /srv/www/nba/vendor/perform/feeds-sdk/src/Repository/Article/Repository.php(457): assure(NULL, Array) #2 [internal function]: Perform\Feeds\Repository\Article\Repository->includeAuthor() #3 /srv/www/nba/vendor/clean/repository/src/CacheProxy.php(84): call_user_func_array(Array, Array) #4 [internal function]: Clean\Repository\CacheProxy->__call('includeAuthor', Array) #5 /srv/www/nba/app/Models/Perform/Repository/Article/Proxy.php(24): call_user_func_array(Array, Array) #6 /srv/www/nba/app/Models/Pages/Article/Model.php(195): App\Models\Perform\Repository\Article\Proxy->__call('includeAuthor', Array) #7 /srv/www/nba/app/Models/Pages/Article/Model.php(76): App\Models\Pages\Article\Model->setArticle() #8 /srv/www/nba/app/Http/Controllers/Pages/Articl
Symfony\Component\Debug\Exception\FatalErrorException: Uncaught InvalidArgumentException: Invalid type given 'NULL', must by an object in /srv/www/nba/vendor/clean/assure/src/assure/ObjectCommand.php:16 Stack trace: #0 /srv/www/nba/vendor/clean/assure/src/assure.php(22): Assure\ObjectCommand->assure(NULL, NULL, NULL) #1 /srv/www/nba/vendor/perform/feeds-sdk/src/Repository/Article/Repository.php(457): assure(NULL, Array) #2 [internal function]: Perform\Feeds\Repository\Article\Repository->includeAuthor() #3 /srv/www/nba/vendor/clean/repository/src/CacheProxy.php(84): call_user_func_array(Array, Array) #4 [internal function]: Clean\Repository\CacheProxy->__call('includeAuthor', Array) #5 /srv/www/nba/app/Models/Perform/Repository/Article/Proxy.php(24): call_user_func_array(Array, Array) #6 /srv/www/nba/app/Models/Pages/Article/Model.php(195): App\Models\Perform\Repository\Article\Proxy->__call('includeAuthor', Array) #7 /srv/www/nba/app/Models/Pages/Article/Model.php(76): App\Models\Pages\Article\Model->setArticle() #8 /srv/www/nba/app/Http/Controllers/Pages/Articl in /srv/www/nba/vendor/clean/assure/src/assure/ObjectCommand.php:16 Stack trace: #0 /srv/www/nba/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(137): Symfony\Component\Debug\Exception\FatalErrorException->__construct('???', '???', '???', '???', '???', '???', '???', '???', '???') #1 /srv/www/nba/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(123): Illuminate\Foundation\Bootstrap\HandleExceptions->fatalExceptionFromError('???', '???') #2 /srv/www/nba/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(0): Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown() #3 /srv/www/nba/vendor/clean/assure/src/assure.php(22): Assure\ObjectCommand->assure('???', '???', '???') #4 /srv/www/nba/vendor/perform/feeds-sdk/src/Repository/Article/Repository.php(457): assure('???', '???') #5 /srv/www/nba/vendor/clean/repository/src/CacheProxy.php(84): Perform\Feeds\Repository\Article\Repository->includeAuthor('???') #6 /srv/www/nba/vendor/clean/repository/src/CacheProxy.php(84): call_user_func_array:{/srv/www/nba/vendor/clean/repository/src/CacheProxy.php:84}('???', '???') #7 /srv/www/nba/app/Models/Perform/Repository/Article/Proxy.php(24): Perform\Feeds\Repository\Article\CacheProxy->__call('???', '???') #8 /srv/www/nba/app/Models/Perform/Repository/Article/Proxy.php(24): Perform\Feeds\Repository\Article\CacheProxy->includeAuthor() #9 /srv/www/nba/app/Models/Perform/Repository/Article/Proxy.php(24): call_user_func_array:{/srv/www/nba/app/Models/Perform/Repository/Article/Proxy.php:24}('???', '???') #10 /srv/www/nba/app/Models/Pages/Article/Model.php(195): App\Models\Perform\Repository\Article\Proxy->__call('???', '???') #11 /srv/www/nba/app/Models/Pages/Article/Model.php(195): App\Models\Perform\Repository\Article\Proxy->includeAuthor() #12 /srv/www/nba/app/Models/Pages/Article/Model.php(76): App\Models\Pages\Article\Model->setArticle() #13 /srv/www/nba/app/Http/Controllers/Pages/Article/Controller.php(17): App\Models\Pages\Article\Model->setup('???', '???') #14 /srv/www/nba/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\Http\Controllers\Pages\Article\Controller->index('???', '???', '???', '???') #15 /srv/www/nba/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): call_user_func_array:{/srv/www/nba/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54}('???', '???') #16 /srv/www/nba/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): App\Http\Controllers\Pages\Article\Controller->callAction('???', '???') #17 /srv/www/nba/vendor/laravel/framework/src/Illuminate/Routing/Route.php(212): Illuminate\Routing\ControllerDispatcher->dispatch('???', '???', '???') #18 /srv/www/nba/vendor/laravel/framework/src/Illuminate/Routing/Route.php(169): Illuminate\Routing\Route->runController() #19 /srv/www/nba/vendor/laravel/framework/src/Illuminate/Routing/Router.php(658): Illuminate\Routing\Route->run() #20 /srv/www/nba/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(30): Illuminate\Routing\Router->Illuminate\Routing\{closure}('???') #21 /srv/www/nba/vendor/perform/laravel-edgecontrol/src/Akamai/Middleware.php(19): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}('???') #22 /srv/www/nba/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Perform\LaravelEdgeControl\Akamai\Middleware->handle('???', '???', '???') #23 /srv/www/nba/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Routing\Pipeline->Illuminate\Pipeline\{closure}('???') #24 /srv/www/nba/app/Http/Middlewares/CheckEdition.php(32): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}('???') #25 /srv/www/nba/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): App\Http\Middlewares\CheckEdition->handle('???', '???') #26 /srv/www/nba/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Routing\Pipeline->Illuminate\Pipeline\{closure}('???') #27 /srv/www/nba/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(102): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}('???') #28 /srv/www/nba/vendor/laravel/framework/src/Illuminate/Routing/Router.php(660): Illuminate\Routing\Pipeline->then('???') #29 /srv/www/nba/vendor/laravel/framework/src/Illuminate/Routing/Router.php(635): Illuminate\Routing\Router->runRouteWithinStack('???', '???') #30 /srv/www/nba/vendor/laravel/framework/src/Illuminate/Routing/Router.php(601): Illuminate\Routing\Router->runRoute('???', '???') #31 /srv/www/nba/vendor/laravel/framework/src/Illuminate/Routing/Router.php(590): Illuminate\Routing\Router->dispatchToRoute('???') #32 /srv/www/nba/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(176): Illuminate\Routing\Router->dispatch('???') #33 /srv/www/nba/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(30): App\Http\Kernel->Illuminate\Foundation\Http\{closure}('???') #34 /srv/www/nba/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(46): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}('???') #35 /srv/www/nba/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle('???', '???') #36 /srv/www/nba/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Routing\Pipeline->Illuminate\Pipeline\{closure}('???') #37 /srv/www/nba/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(102): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}('???') #38 /srv/www/nba/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(151): Illuminate\Routing\Pipeline->then('???') #39 /srv/www/nba/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): App\Http\Kernel->sendRequestThroughRouter('???') #40 /srv/www/nba/public/index.php(53): App\Http\Kernel->handle('???') #41 /srv/www/nba/public/index.php(0): {main}() #42 {main}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment