Hello again. Once everything is installed I am getting Error-404 for every request to the running server.
37.157.175.244 - - [26/Feb/2021 10:59:56] “GET / HTTP/1.1” 404 -
37.157.175.244 - - [26/Feb/2021 10:59:56] “GET /dist/js/common.fa5de0a6.bundle.js HTTP/1.1” 404 -
37.157.175.244 - - [26/Feb/2021 10:59:57] “GET /dist/css/common.bc55d9dc.css HTTP/1.1” 404 -
and so on…
My VM is running on 37.157.175.244 and Indico listens on port 5000 (google cloud do not likes 8000)
In my indico conf:
BASE_URL = ‘http://35.210.89.223:5000’
I am using command: indico run -h 0.0.0.0 -p 5000 -q --enable-evalex
From the source of the loaded page:
<script> window.CKEDITOR_BASEPATH = "http://0.0.0.0:5000/dist/js/ckeditor/"; </script> <script type="text/javascript" src="[http://0.0.0.0:5000/assets/i18n/en_GB.js](view-source:http://0.0.0.0:5000/assets/i18n/en_GB.js)"></script> <script type="text/javascript" src="[http://0.0.0.0:5000/assets/i18n/en_GB-react.js](view-source:http://0.0.0.0:5000/assets/i18n/en_GB-react.js)"></script> <script type="text/javascript" src="[http://0.0.0.0:5000/assets/js-vars/global.js](view-source:http://0.0.0.0:5000/assets/js-vars/global.js)"></script>
and so on.
Maybe this are two separate issues.
- Generated full links are based on the running host string ‘0.0.0.0’ and not what is set in config file
- Relative links seems to hit Error404. (cmd ./bin/maintenance/build-assets.py indico --dev --watch
is started)