[ixpmanager] IXPM 2 problems

Diarmuid O Briain diarmuid at obriain.com
Mon Feb 12 16:49:13 GMT 2018


Barry,

2018-02-12T16:47:58+00:00 DEBUG (7) [192.168.89.2]: Logger instantiated
2018-02-12T16:47:58+00:00 INFO (6) [192.168.89.2]: ada logged in
[2018-02-12 16:48:04] production.ERROR: file_get_contents(
http://rs1-lan1-ipv4.netlabsug.tst/api//protocols/bgp?use_cache=0): failed
to open stream: HTTP request failed! HTTP/1.0 404 Not Found
 {"exception":"[object] (ErrorException(code: 0): file_get_contents(
http://rs1-lan1-ipv4.netlabsug.tst/api//protocols/bgp?use_cache=0): failed
to open stream: HTTP request failed! HTTP/1.0 404 Not Found
 at /srv/ixpmanager/app/Services/LookingGlass/BirdsEye.php:104)
[stacktrace]
#0 [internal function]:
Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2,
'file_get_conten...', '/srv/ixpmanager...', 104, Array)
#1 /srv/ixpmanager/app/Services/LookingGlass/BirdsEye.php(104):
file_get_contents('http://rs1-lan1...')
#2 /srv/ixpmanager/app/Services/LookingGlass/BirdsEye.php(113):
IXP\\Services\\LookingGlass\\BirdsEye->apiCall('protocols/bgp')
#3 /srv/ixpmanager/app/Http/Controllers/Services/LookingGlass.php(164):
IXP\\Services\\LookingGlass\\BirdsEye->bgpSummary()
#4 [internal function]:
IXP\\Http\\Controllers\\Services\\LookingGlass->bgpSummary('rs1-lan1-ipv4')
#5
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54):
call_user_func_array(Array, Array)
#6
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45):
Illuminate\\Routing\\Controller->callAction('bgpSummary', Array)
#7
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Route.php(212):
Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route),
Object(IXP\\Http\\Controllers\\Services\\LookingGlass), 'bgpSummary')
#8
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Route.php(169):
Illuminate\\Routing\\Route->runController()
#9
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(658):
Illuminate\\Routing\\Route->run()
#10
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(30):
Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#11 /srv/ixpmanager/app/Http/Middleware/Services/LookingGlass.php(88):
Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#12
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149):
IXP\\Http\\Middleware\\Services\\LookingGlass->handle(Object(Illuminate\\Http\\Request),
Object(Closure))
#13
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#14 /srv/ixpmanager/app/Http/Middleware/ControllerEnabled.php(94):
Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#15
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149):
IXP\\Http\\Middleware\\ControllerEnabled->handle(Object(Illuminate\\Http\\Request),
Object(Closure))
#16
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#17
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(102):
Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#18
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(660):
Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(635):
Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route),
Object(Illuminate\\Http\\Request))
#20
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(601):
Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request),
Object(Illuminate\\Routing\\Route))
#21
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(590):
Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#22
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(176):
Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#23
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(30):
Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#24 /srv/ixpmanager/vendor/fideloper/proxy/src/TrustProxies.php(56):
Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#25
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149):
Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request),
Object(Closure))
#26
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#27
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(30):
Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#28
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149):
Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request),
Object(Closure))
#29
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(30):
Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#31
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149):
Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request),
Object(Closure))
#32
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#33
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27):
Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#34
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149):
Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request),
Object(Closure))
#35
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(46):
Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#37
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149):
Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request),
Object(Closure))
#38
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#39
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(102):
Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#40
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(151):
Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#41
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116):
Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#42 /srv/ixpmanager/public/index.php(85):
Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#43 {main}
"}
[2018-02-12 16:48:11] production.ERROR: file_get_contents(
http://rs1-lan1-ipv6.netlabsug.tst/api//protocols/bgp?use_cache=0): failed
to open stream: HTTP request failed! HTTP/1.0 404 Not Found
 {"exception":"[object] (ErrorException(code: 0): file_get_contents(
http://rs1-lan1-ipv6.netlabsug.tst/api//protocols/bgp?use_cache=0): failed
to open stream: HTTP request failed! HTTP/1.0 404 Not Found
 at /srv/ixpmanager/app/Services/LookingGlass/BirdsEye.php:104)
[stacktrace]
#0 [internal function]:
Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2,
'file_get_conten...', '/srv/ixpmanager...', 104, Array)
#1 /srv/ixpmanager/app/Services/LookingGlass/BirdsEye.php(104):
file_get_contents('http://rs1-lan1...')
#2 /srv/ixpmanager/app/Services/LookingGlass/BirdsEye.php(113):
IXP\\Services\\LookingGlass\\BirdsEye->apiCall('protocols/bgp')
#3 /srv/ixpmanager/app/Http/Controllers/Services/LookingGlass.php(164):
IXP\\Services\\LookingGlass\\BirdsEye->bgpSummary()
#4 [internal function]:
IXP\\Http\\Controllers\\Services\\LookingGlass->bgpSummary('rs1-lan1-ipv6')
#5
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54):
call_user_func_array(Array, Array)
#6
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45):
Illuminate\\Routing\\Controller->callAction('bgpSummary', Array)
#7
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Route.php(212):
Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route),
Object(IXP\\Http\\Controllers\\Services\\LookingGlass), 'bgpSummary')
#8
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Route.php(169):
Illuminate\\Routing\\Route->runController()
#9
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(658):
Illuminate\\Routing\\Route->run()
#10
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(30):
Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#11 /srv/ixpmanager/app/Http/Middleware/Services/LookingGlass.php(88):
Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#12
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149):
IXP\\Http\\Middleware\\Services\\LookingGlass->handle(Object(Illuminate\\Http\\Request),
Object(Closure))
#13
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#14 /srv/ixpmanager/app/Http/Middleware/ControllerEnabled.php(94):
Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#15
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149):
IXP\\Http\\Middleware\\ControllerEnabled->handle(Object(Illuminate\\Http\\Request),
Object(Closure))
#16
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#17
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(102):
Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#18
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(660):
Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(635):
Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route),
Object(Illuminate\\Http\\Request))
#20
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(601):
Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request),
Object(Illuminate\\Routing\\Route))
#21
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(590):
Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#22
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(176):
Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#23
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(30):
Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#24 /srv/ixpmanager/vendor/fideloper/proxy/src/TrustProxies.php(56):
Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#25
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149):
Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request),
Object(Closure))
#26
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#27
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(30):
Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#28
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149):
Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request),
Object(Closure))
#29
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(30):
Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#31
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149):
Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request),
Object(Closure))
#32
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#33
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27):
Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#34
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149):
Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request),
Object(Closure))
#35
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(46):
Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#37
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149):
Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request),
Object(Closure))
#38
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#39
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(102):
Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#40
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(151):
Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#41
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116):
Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#42 /srv/ixpmanager/public/index.php(85):
Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#43 {main}
"}


regards,

Diarmuid


--

*Irish by birth, located in Uganda but Munster by the grace of God.*



On 12 February 2018 at 19:35, Barry O'Donovan <barry.odonovan at inex.ie>
wrote:

>
>
> Diarmuid O Briain wrote:
> > Barry,
> >
> > ubuntu at ixpm1:~$ *tail -f /srv/ixpmanager/storage/logs/laravel.log*
> > ------------------------
> >
> > HTTP_HOST : 192.168.92.209
> > HTTP_USER_AGENT: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36
> > (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36
> > HTTP_COOKIE: PHPSESSID=5ejue34u5evilga7m0m115cc75;
> > XSRF-TOKEN=eyJpdiI6ImxnRzZQVHVsTERKNGNlUW82bHpxNHc9PSIsInZhbHVlIjoiRitu
> WWRESVA4VFA4ajdSSDVLSmtpakJSZmsybGVDQlh4RVpEUjJhM0JRcEVYZjRn
> Uyt4SjljN1lBQmkrOVdzSmFYQWRwQ3BmR2kyTFRuOUg4R3VFVEE9PSIsIm1h
> YyI6ImU4MDhiMDcyMDg5Y2Y2MTZhNTY1NjQ2NGI3Nzk5MmE2M2JiZjQ4N2Uy
> OGE0NzQ1OTE3OGNjNTA1MDE3NWRlMjcifQ%3D%3D;
> > laravel_session=eyJpdiI6Ik9yQ085SjY2bXFuc2F1Q3
> RhRmZRT0E9PSIsInZhbHVlIjoieWxJck02bGtId0R2VFYya2NwcENZU1BJUE
> tQWW9Wc1RoblJwS25pY1drMTB2Ym1KcGN3RE5BVEJcL1wvMVBNVDhaeWx1eV
> Zoa1YycnVZaXpGMFwvY1BNSGc9PSIsIm1hYyI6IjUzM2U1MDUyMmYzZDMwOT
> RlNzA0NjY3MGJjZjc1N2M1NjM0MDg0YmExODM1ZGI2ZjYxZTFmZDMzMWY0YWU0ODcifQ%3D%3D
> > REMOTE_PORT: 35188
> > REQUEST_METHOD: GET
> > REQUEST_URI: /favicon.ico
>
> That looks like just the last 10 lines.
>
> Can you run:
>
> tail -f /srv/ixpmanager/storage/logs/laravel.log
>
> Now, leave it running, then try to access the looking glass and then
> come back and copy and paste the new lines of log into this email thread.
>
>  - Barry
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> https://www.inex.ie/mailman/listinfo/ixpmanager
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20180212/dc4a0e5a/attachment-0001.html>


More information about the ixpmanager mailing list