[ixpmanager] Error with Looking Glass

Ebtsam M Osaman soma.m.osman at gmail.com
Tue Jan 30 10:33:55 GMT 2018


Hi all ,


I’m facing problem enabling Looking glass in the IXP manager

"file_get_contents(http://10.0.0.220/api/protocols/bgp?use_cache=0): failed
to open stream: HTTP request failed! HTTP/1.0 404 Not Found\r\n"


After Running *wget -O- http://10.0.0.220/api/status
<http://10.0.0.220/api/status>* in the IXP manager vm I got:

Connecting to 10.0.0.220:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-01-30 12:17:36 ERROR 404: Not Found.


1- Rs is configured correctly
2-Birdseye in installed and configured correctly  tested as below :

*ls -la /var/run/bird*
total 0
drwxrwxr-x  2 bird bird  60 Jan 30 11:39 .
drwxr-xr-x 25 root root 900 Jan 30 11:52 ..
srw-rw----  1 root root   0 Jan 30 11:39 bird.ctl

*/usr/sbin/birdc -s /var/run/bird/bird.ctl show status*

BIRD 1.5.0 ready.
BIRD 1.5.0
Router ID is 10.0.0.220
Current server time is 2018-01-30 11:59:36
Last reboot on 2018-01-30 11:39:02
Last reconfiguration on 2018-01-30 11:51:01
Daemon is up and running
* /srv/birdseye-v1.1.0/bin/birdc -4 – s /var/run/bird/bird.ctl show status*

    BIRD 1.5.0 ready.
Access restricted
BIRD 1.5.0
Router ID is 10.0.0.220
Current server time is 2018-01-30 11:59:49
Last reboot on 2018-01-30 11:39:02
Last reconfiguration on 2018-01-30 11:51:01
Daemon is up and running

*cat /srv/birdseye-v1.1.0/.env | egrep -v '^#'*
BIRDC="/usr/bin/sudo /srv/birdseye-v1.1.0/bin/birdc -4 -s
/var/run/bird/bird.ctl"
CACHE_DRIVER=file

LOOKING_GLASS_ENABLED=false


The only thing that I'm not sure about is the API endpoint , It should be


*route_server address/api ?*
Thanks in advance

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20180130/405ae446/attachment-0001.html>


More information about the ixpmanager mailing list