<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection">
<div dir="auto">Thank you for the input, Nick. I did miss those directives and have added them but the 500 Internal Error persists on the RS1 host. RS2 now shows which sessions are up on the Live Status page but when attempting to click the link under the Handle column for more details, it still presents the 500 Internal Error.<br />
<br />
We do intend to move to bird2 this year but have 1.6.8 for now. We would like to make the Looking Glass component work with it for now if at all possible.<br />
<br />
Thank you.</div>
</div>
<div name="messageSignatureSection"><br />
<div class="matchFont">—
<div dir="auto">Jason Gintert</div>
<div dir="auto">Technical Committee | <span style="color: var(--textColor); background-color: var(--backgroundColor);">Ohio IX</span></div>
<div dir="auto">noc@ohioix.net</div>
</div>
</div>
<div name="messageReplySection">On Jan 2, 2021, 10:30 AM -0500, Nick Hilliard <nick@foobar.org>, wrote:<br />
<blockquote type="cite" style="border-left-color: grey; border-left-width: thin; border-left-style: solid; margin: 5px 5px;padding-left: 10px;">Hi Jason,<br />
<br />
the main documentation for getting this working is on the birdseye<br />
github site:<br />
<br />
https://github.com/inex/birdseye/blob/master/README.md<br />
<br />
Before you do anything else, can you make sure that you have the<br />
following directives in the bird configuration file:<br />
<br />
# Use ISO 8601 time formats:<br />
timeformat base iso long;<br />
timeformat log iso long;<br />
timeformat protocol iso long;<br />
timeformat route iso long;<br />
<br />
Also, you would be better off using bird2 and using the bird2 templates.<br />
These are now maintained more actively than the bird1 templates.<br />
<br />
Nick<br />
<br />
Jason Gintert wrote on 02/01/2021 14:24:<br />
<blockquote type="cite">Hello all,<br />
<br />
Having some issues getting the Looking Glass with IXP Manager 5.5 /<br />
Ubuntu 18.04 to talk to our Route Servers that are running Birdseye<br />
1.2.2 / BIRD 1.6.8 / CentOS 7. When clicking on the “Handle” link within<br />
the “Live Status” page to get more details, I get a "500 Internal Error”<br />
back. Our Route Collector is on Birdseye 1.2.2 / BIRD 2.0.7 / Ubuntu<br />
18.04 and no issues there. Followed the directions and reviewed the<br />
troubleshooting recommendations so wondering if the community has ideas<br />
on what might be happening and if I’ve missed a step. See below the<br />
diagnostic output recommended in the “Debugging” section of the “Looking<br />
Glass” documentation for IXP Manager.<br />
<br />
mysql> SELECT * FROM routers WHERE id = 3\G<br />
*************************** 1. row ***************************<br />
id: 3<br />
vlan_id: 1<br />
handle: rs1-lan1-ipv4<br />
protocol: 4<br />
type: 1<br />
name: Route Server #1 - IXP LAN1 - IPv4<br />
shortname: RS1 - LAN1 - IPv4<br />
router_id: 206.53.204.1<br />
peering_ip: 206.53.204.1<br />
asn: 23169<br />
software: 1<br />
mgmt_host: 172.20.20.101<br />
api: http://rs1-lan1-ipv4.ohioix.net/api<br />
api_type: 1<br />
lg_access: 3<br />
quarantine: 0<br />
bgp_lc: 1<br />
rpki: 0<br />
template: api/v4/router/server/bird/standard<br />
skip_md5: 0<br />
last_updated: NULL<br />
software_version: 1.6.8<br />
operating_system: CentOS<br />
operating_system_version: 7<br />
rfc1997_passthru: 1<br />
1 row in set (0.00 sec)<br />
<br />
root@ixpmanager:~# dig +short rs1-lan1-ipv4.ohioix.net<br />
<http://rs1-lan1-ipv4.ohioix.net><br />
172.20.20.101<br />
<br />
root@ixpmanager:~# ping rs1-lan1-ipv4.ohioix.net<br />
<http://rs1-lan1-ipv4.ohioix.net> -c 1<br />
PING rs1.ohioix.net <http://rs1.ohioix.net> (172.20.20.101) 56(84) bytes<br />
of data.<br />
64 bytes from rs1.ohioix.net <http://rs1.ohioix.net> (172.20.20.101):<br />
icmp_seq=1 ttl=64 time=0.672 ms<br />
<br />
--- rs1.ohioix.net <http://rs1.ohioix.net> ping statistics ---<br />
1 packets transmitted, 1 received, 0% packet loss, time 0ms<br />
rtt min/avg/max/mdev = 0.672/0.672/0.672/0.000 ms<br />
<br />
root@ixpmanager:~# curl -v http://rs1-lan1-ipv4.ohioix.net/api/status<br />
* Trying 172.20.20.101...<br />
* TCP_NODELAY set<br />
* Connected to rs1-lan1-ipv4.ohioix.net<br />
<http://rs1-lan1-ipv4.ohioix.net> (172.20.20.101) port 80 (#0)<br />
<blockquote type="cite">GET /api/status HTTP/1.1<br />
Host: rs1-lan1-ipv4.ohioix.net <http://rs1-lan1-ipv4.ohioix.net><br />
User-Agent: curl/7.58.0<br />
Accept: */*<br />
<br /></blockquote>
< HTTP/1.1 200 OK<br />
< X-Powered-By: PHP/7.3.25<br />
< Cache-Control: no-cache<br />
< Content-Type: application/json<br />
< Date: Sat, 02 Jan 2021 14:15:16 GMT<br />
< Content-Length: 297<br />
< Server: lighttpd/1.4.54<br />
<<br />
* Connection #0 to host rs1-lan1-ipv4.ohioix.net<br />
<http://rs1-lan1-ipv4.ohioix.net> left intact<br />
{"api":{"from_cache":true,"ttl_mins":1,"version":"1.2.2","max_routes":1000},"status":{"version":"1.6.8","router_id":"206.53.204.1","server_time":"2021-01-02T09:15:16+00:00","last_reboot":"2020-10-07T06:44:46+00:00","last_reconfig":"2020-12-18T11:42:39+00:00","message":"Daemon<br />
is up and running"}}<br />
bgp_lc: 1<br />
rpki: 0<br />
template: api/v4/router/server/bird/standard<br />
skip_md5: 0<br />
last_updated: NULL<br />
software_version: 1.6.8<br />
operating_system: CentOS<br />
operating_system_version: 7<br />
rfc1997_passthru: 1<br />
1 row in set (0.00 sec)<br />
<br />
Errors from /srv/ixpmanager/storage/log/laravel.log:<br />
<br />
[2021-01-02 02:16:57] production.ERROR: Undefined property:<br />
stdClass::$state {"userId":17,"exception":"[object]<br />
(ErrorException(code: 0): Undefined property: stdClass::$state at<br />
/srv/ixpmanager/resources/views/services/lg/bgp-summary.foil.php:50)<br />
[stacktrace]<br />
#0 /srv/ixpmanager/resources/views/services/lg/bgp-summary.foil.php(50):<br />
Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(8,<br />
'Undefined prope...', '/srv/ixpmanager...', 50, Array)<br />
#1 /srv/ixpmanager/vendor/foil/foil/src/Template/Template.php(287):<br />
require('/srv/ixpmanager...')<br />
#2 /srv/ixpmanager/vendor/foil/foil/src/Template/Template.php(231):<br />
Foil\\Template\\Template->collect('/srv/ixpmanager...')<br />
#3 /srv/ixpmanager/vendor/foil/foil/src/Engine.php(307):<br />
Foil\\Template\\Template->render(Array)<br />
#4 /srv/ixpmanager/vendor/foil/foil/src/Engine.php(231):<br />
Foil\\Engine->doRender('/srv/ixpmanager...', Array, NULL)<br />
#5 /srv/ixpmanager/vendor/foil/foil/src/Engine.php(204):<br />
Foil\\Engine->renderTemplate('/srv/ixpmanager...', Array)<br />
#6 /srv/ixpmanager/app/Services/FoilEngine.php(51):<br />
Foil\\Engine->render('/srv/ixpmanager...', Array)<br />
#7<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/View/View.php(143):<br />
IXP\\Services\\FoilEngine->get('/srv/ixpmanager...', Array)<br />
#8<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/View/View.php(126):<br />
Illuminate\\View\\View->getContents()<br />
#9<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/View/View.php(91):<br />
Illuminate\\View\\View->renderContents()<br />
#10<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Http/Response.php(42):<br />
Illuminate\\View\\View->render()<br />
#11 /srv/ixpmanager/vendor/symfony/http-foundation/Response.php(202):<br />
Illuminate\\Http\\Response->setContent(Object(Illuminate\\View\\View))<br />
#12<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(749):<br />
Symfony\\Component\\HttpFoundation\\Response->__construct(Object(Illuminate\\View\\View),<br />
200, Array)<br />
#13<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(721):<br />
Illuminate\\Routing\\Router::toResponse(Object(Illuminate\\Http\\Request),<br />
Object(Illuminate\\View\\View))<br />
#14<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(681):<br />
Illuminate\\Routing\\Router->prepareResponse(Object(Illuminate\\Http\\Request),<br />
Object(Illuminate\\View\\View))<br />
#15<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(130):<br />
Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))<br />
#16 /srv/ixpmanager/app/Http/Middleware/Services/LookingGlass.php(88):<br />
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))<br />
#17<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171):<br />
IXP\\Http\\Middleware\\Services\\LookingGlass->handle(Object(Illuminate\\Http\\Request),<br />
Object(Closure))<br />
#18 /srv/ixpmanager/app/Http/Middleware/ControllerEnabled.php(96):<br />
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))<br />
#19<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171):<br />
IXP\\Http\\Middleware\\ControllerEnabled->handle(Object(Illuminate\\Http\\Request),<br />
Object(Closure))<br />
#20<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(41):<br />
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))<br />
#21<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171):<br />
Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request),<br />
Object(Closure))<br />
#22<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(76):<br />
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))<br />
#23<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171):<br />
Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request),<br />
Object(Closure))<br />
#24<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49):<br />
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))<br />
#25<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171):<br />
Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request),<br />
Object(Closure))<br />
#26<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(56):<br />
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))<br />
#27<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171):<br />
Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request),<br />
Object(Closure))<br />
#28<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37):<br />
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))<br />
#29<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171):<br />
Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request),<br />
Object(Closure))<br />
#30<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(66):<br />
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))<br />
#31<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171):<br />
Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request),<br />
Object(Closure))<br />
#32<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(105):<br />
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))<br />
#33<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(683):<br />
Illuminate\\Pipeline\\Pipeline->then(Object(Closure))<br />
#34<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(658):<br />
Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route),<br />
Object(Illuminate\\Http\\Request))<br />
#35<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(624):<br />
Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request),<br />
Object(Illuminate\\Routing\\Route))<br />
#36<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(613):<br />
Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))<br />
#37<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(170):<br />
Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))<br />
#38<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(130):<br />
Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))<br />
#39 /srv/ixpmanager/vendor/fideloper/proxy/src/TrustProxies.php(57):<br />
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))<br />
#40<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171):<br />
Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))<br />
#41<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21):<br />
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))<br />
#42<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171):<br />
Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request),<br />
Object(Closure))<br />
#43<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21):<br />
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))<br />
#44<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171):<br />
Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request),<br />
Object(Closure))<br />
#45<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27):<br />
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))<br />
#46<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171):<br />
Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request),<br />
Object(Closure))<br />
#47<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(63):<br />
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))<br />
#48<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171):<br />
Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request),<br />
Object(Closure))<br />
#49<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(105):<br />
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))<br />
#50<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(145):<br />
Illuminate\\Pipeline\\Pipeline->then(Object(Closure))<br />
#51<br />
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110):<br />
Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))<br />
#52 /srv/ixpmanager/public/index.php(85):<br />
Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))<br />
#53 {main}<br />
"}<br />
<br />
Any pointers or guidance would be very much appreciated.<br />
<br />
Thank you and Happy New Year!<br />
<br />
—<br />
Jason Gintert<br />
Technical Committee | Ohio IX<br />
noc@ohioix.net<br />
<br />
<br />
_______________________________________________<br />
INEX IXP Manager mailing list<br />
ixpmanager@inex.ie<br />
Unsubscribe or change options here: https://www.inex.ie/mailman/listinfo/ixpmanager<br />
<br /></blockquote>
</blockquote>
</div>
</body>
</html>