BSpendlove / bgpls-ted

BGP-LS Traffic Engineering Database (TED)
10 stars 0 forks source link

Proxy issue ? #1

Open Olichous opened 1 year ago

Olichous commented 1 year ago

Hi,

When i make an HTTP Request to the front web page, i have this in the log. My VM is behind a proxy with the right environnement variable. Any help on this ?

(bgpls) root@myvm:/home/BGP-LS-TED/bgpls-ted# uvicorn app.main:app --reload --host 0.0.0.0 --port 7070 INFO: Will watch for changes in these directories: ['/home/BGP-LS-TED/bgpls-ted'] INFO: Uvicorn running on http://0.0.0.0:7070 (Press CTRL+C to quit) INFO: Started reloader process [1021936] using StatReload INFO: Started server process [1021960] INFO: Waiting for application startup. INFO: Application startup complete. INFO: 192.168.9.1:51080 - "GET / HTTP/1.1" 200 OK INFO: 192.168.9.1:51080 - "GET /css/vis-network.min.css HTTP/1.1" 304 Not Modified INFO: 192.168.9.1:51081 - "GET /css/halfmoon-variables.min.css HTTP/1.1" 304 Not Modified INFO: 192.168.9.1:51082 - "GET /js/halfmoon.min.js HTTP/1.1" 304 Not Modified INFO: 192.168.9.1:51083 - "GET /js/vis.min.js HTTP/1.1" 304 Not Modified INFO: 192.168.9.1:51084 - "GET /js/vis-network.min.js HTTP/1.1" 304 Not Modified INFO: 192.168.9.1:51085 - "GET /js/topology.js HTTP/1.1" 304 Not Modified INFO: 192.168.9.1:51080 - "GET /css/img/network/editIcon.png HTTP/1.1" 404 Not Found

BSpendlove commented 1 year ago

Hi apologies I am away from my development environment until Thursday, I will try this out with a simple nginx proxy config and see what the issue is which should hopefully help you getting the frontend up and running

Olichous commented 1 year ago

Hi ! No worries. Thank you for your help. In my linux i have the export http and export https configure wget works well. But it seem's that the GET from the python do not use this setting...

Thanks.