Skip to content
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

ara-web console is not loading HTML #135

Closed
hritz220 opened this issue May 20, 2020 · 4 comments
Closed

ara-web console is not loading HTML #135

hritz220 opened this issue May 20, 2020 · 4 comments

Comments

@hritz220
Copy link

I’m using ARA with CI. I’m generating a new sqlite file for every deployment job.
Here is the set up. Installed ara with API server dependencies

python3 -m pip install --user ansible "ara[server]"
export ANSIBLE_CALLBACK_PLUGINS="$(python3 -m ara.setup.callback_plugins)"

Updated settings.yml
DISTRIBUTED_SQLITE: true
Started the server
ara-manage runserver
executed the playbook
ansible-playbook -vvvv test.yml
copied the ansible.sqlite from ~/.ara/server to /var/www/logs/rep1/ara-report/ansible.sqlite
when I hit the URL:

[16/May/2020 15:20:51] "GET /rep1/ara-report HTTP/1.1" 200 15783
2020-05-16 15:20:51,591 WARNING ara.server.wsgi: Ignoring request: URL does not contain delegated prefix (ara-report)
2020-05-16 15:20:51,592 WARNING ara.server.wsgi: Ignoring request: URL does not contain delegated prefix (ara-report)
[16/May/2020 15:20:51] "GET /rep1/static/css/ara.css HTTP/1.1" 404 77
[16/May/2020 15:20:51] "GET /rep1/static/css/patternfly.min.css HTTP/1.1" 404 77
2020-05-16 15:20:51,601 WARNING ara.server.wsgi: Ignoring request: URL does not contain delegated prefix (ara-report)
[16/May/2020 15:20:51] "GET /rep1/static/images/logo.svg HTTP/1.1" 404 77

Screen Shot 2020-05-16 at 3 43 55 PM

@dmsimard
Copy link
Contributor

dmsimard commented Jun 6, 2020

I'll close this issue since #136 has more information and I'll re-open the other one. Let's keep the information in the same thread.

@dmsimard dmsimard closed this as completed Jun 6, 2020
@dmsimard
Copy link
Contributor

dmsimard commented Jun 6, 2020

@hritz220 does it work if you add a trailing slash to the URL ?

@hritz220
Copy link
Author

hritz220 commented Jun 6, 2020

after adding a trailing slash, it worked!!
thanks alot.

@hritz220
Copy link
Author

hritz220 commented Jun 6, 2020

if you can tell me why trailing slash is needed, it will be helpfull.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants