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

DataTables warning: table id=webhook-list - Ajax error #24

Open
iampavan opened this issue Jun 5, 2019 · 3 comments
Open

DataTables warning: table id=webhook-list - Ajax error #24

iampavan opened this issue Jun 5, 2019 · 3 comments

Comments

@iampavan
Copy link

iampavan commented Jun 5, 2019

So I setup the Patch Server. I am able to successfully upload/delete the software definitions via web browser.
Then, I generate an API token. Using this API token I am able to successfully upload/delete the software definitions via CLI. Works great!

But now when I visit PatchServer URL via web browser, I get a warning : DataTables warning: table id=webhook-list - Ajax error. For more information about this error, please see http://datatables.net/tn/7 (This happens everytime I refresh the webpage).

This is what i see : /usr/local/bin/patchserver/error_log

[Wed Jun 05 22:24:01.248713 2019] [wsgi:error] [pid 46344] [remote 10.10.12.13:54872] --------------------------------------------------------------------------------
[Wed Jun 05 22:24:01.263624 2019] [wsgi:error] [pid 46344] [remote 10.10.12.13:54872] ERROR in error_handlers [/Library/PatchServer/patchserver/routes/error_handlers.py:25]:
[Wed Jun 05 22:24:01.263801 2019] [wsgi:error] [pid 46344] [remote 10.10.12.13:54872] Authentication required.
[Wed Jun 05 22:24:01.263896 2019] [wsgi:error] [pid 46344] [remote 10.10.12.13:54872] --------------------------------------------------------------------------------

Screenshot 1

Screenshot 2019-06-05 at 9 26 11 PM

Screenshot 2

Screenshot 2019-06-05 at 9 26 45 PM

Screenshot 3

Screenshot 2019-06-05 at 9 27 53 PM

@brysontyrrell
Copy link
Owner

@iampavan are you trying to add/modify titles from the UI after generating the API token?

@iampavan
Copy link
Author

I tried to do it at first. Then I got “Unauthorized: Authentication required” message.
You've mentioned on your blog that UI does not yet support API authentication. So this message is expected.

@iampavan
Copy link
Author

@brysontyrrell I've tried blowing up the DB and restarting the service. Then regenerating the API token. I end up with the same DataTables warning everytime I refresh the page though.

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

No branches or pull requests

2 participants