cesnet / exafs Goto Github PK
View Code? Open in Web Editor NEWExaFS is a tool for creation, validation, and execution of ExaBGP messages.
License: MIT License
ExaFS is a tool for creation, validation, and execution of ExaBGP messages.
License: MIT License
Hi,
after installing the exafs, my apache server gives me error 500 and in the flowspec log file, there is the message:
[pid: 55079|app: 0|req: 6/6] 10.0.131.28 (p*******1) {122 vars in 2110 bytes} [Wed Mar 27 14:15:46 2019] GET / => generated 0 bytes in 7 msecs (HTTP/1.1 500) 0 headers in 0 bytes (0 switches on core 0)
Traceback (most recent call last):
File "/home/deploy/www/venv/lib/python2.7/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/home/deploy/www/venv/lib/python2.7/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/home/deploy/www/venv/lib/python2.7/site-packages/flask/app.py", line 1741, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/deploy/www/venv/lib/python2.7/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/deploy/www/venv/lib/python2.7/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/deploy/www/venv/lib/python2.7/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/deploy/www/venv/lib/python2.7/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/deploy/www/venv/lib/python2.7/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "./flowapp/auth.py", line 16, in decorated
if not check_auth(get_user()):
File "./flowapp/auth.py", line 85, in check_auth
session['app_version'] = __version__
File "/home/deploy/www/venv/lib/python2.7/site-packages/werkzeug/local.py", line 351, in __setitem__
self._get_current_object()[key] = value
File "/home/deploy/www/venv/lib/python2.7/site-packages/flask/sessions.py", line 101, in _fail
raise RuntimeError('The session is unavailable because no secret '
RuntimeError: The session is unavailable because no secret key was set. Set the secret_key on the application to something unique and secret.
I am running LDAP authentication instead of ShibbolethSP though. Is the secret key generated somewhere or is it just missing from some config file?
Thanks
Good morning,
we are trying to deploy ExaFS with SSO through Shibboleth, however, we have encountered a few problems.
Problem no.1 is the absence of functional Shibboleth configuration example. We are using KeyCloak as IDP and there is not much resources online on how to configure both SP and IDP to make it work with apache as reverse proxy.
Would it be possible to add an example of Shibboleth configuration file into the docs, which we can use to crosscheck our configuration?
Problem no.2 is ExaFS itself, or rather flask-sso. We are getting flask_sso.SSOAttributeError
, same as described in this issue. Not sure if it's because of Shibboleth misconfiguration or just because the library wasn't updated since 2015, but it may be a subject for another issue.
Note: The attribute mapping may differ for each IDP, e.g. keycloak doesn't provide 'eppn' out-of-the-box, but we can adjust the attribute map afterwards.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.