-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connectivity Matrix not working #31
Comments
Hi! First of all, I'm sorry for the inconvenience. We are currently in the progress of merging our latest updates back into the main branch (see #29 ). We mixed up some steps of the process, and now the containers on docker hub are already updated while the branch is not yet merged. This leads to the errors you observe. The issue you are facing comes from the fact that the setup scripts on the main branch do not make the stats file available to the web container. You could do the following: |
Thx for the quick reply! Using the commnet-23 branch works like a charm, the Connectivity Matrix gets displayed now! Great! |
Happy to hear that! |
Dear all,
I am using your Mini Internet Software for a lecture on Advanced Routing. It is just great, thanks for your efforts!
I currently have some troubles with the Connectivity Matrix feature. I start a Mini Internet with 24 ASes all fully configured ("Config" in C3 in "AS_config.txt"). The MATRIX container is working (unpause) and collecting data (I can see the files when connecting directly to the container). In the web frontend I get the message "Sorry, no data is available! Please check in later." when accessing the Connectivity Matrix feature (this originates from the Flask [?] template for this page). When looking at the webserver logs ("docker logs web") I get the following error all the time:
Traceback (most recent call last):
File "/server/routing_project_server/app.py", line 280, in loop
raise RuntimeError(
RuntimeError: Worker
prepare_matrix
crashed! Restarting.Traceback (most recent call last):
File "/server/routing_project_server/app.py", line 277, in loop
function(*args, **kwargs)
File "/server/routing_project_server/app.py", line 320, in prepare_matrix
config['LOCATIONS']['matrix_stats']
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'matrix_stats'
AFAIK "matrix_stats" refers to a stats.txt file, which does exist on the MATRIX container but nowhere else. Any help would be much appreciated!
The text was updated successfully, but these errors were encountered: