-
Notifications
You must be signed in to change notification settings - Fork 56
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
Error loading bot queues information: {"errors": {"Invalid Authentication": "Provided Token verification credentials were invalid"} #287
Comments
There was (or is) a similar report like this, but I currently can't find it. |
Hello @sebix, I removed the filter "is:issue is:open " to find solved ticket ;) |
I'm fairly sure it was identical to yours. After (and despite) a successful login, the the backend did not accept the token. Which is very strange of course. |
Yeah, and I'm pretty sure that it's a permission error because when it failed the first time, I tried to change, to some folder, the ownership passing through root, intelmq and www-data but with no success |
If we check the ownerships: Please show a |
I don't know which one you need, so I "ls" both :
|
Please also |
The last try was a mix between "root" and "intelmq" owner permission
|
Try |
We move forward :D I've a new error message but we are on the good way :D
|
Problem is : I don't have a password for www-data, so it's maybe not the good user to use ? |
Regarding my investigation, it's seems to be link to an askpass program and so, either a wrong user used or I need to add something in the sudoer file config but I'm not sure. |
Your sudoers configuration for intelmq does not work properly. Is there a file in |
Hello,
And the content is :
|
Is the path to |
Yes it's is :)
|
Please verify with |
Ohhh strange
|
|
And the internal script isn't same :
|
Running Anyway, the local bindir wins, if both exist. So make sure that the path in sudoers matches the active one, and optionally get rid of one. |
Yeah !! Works !! One last error message on position xD
|
Save the configuration once, that will also set the positions in place. (if you got the file permissions right). |
[Errno 13] Permission denied: '/opt/intelmq/etc/runtime.yaml'
I guess I need to change the owner from intelmq to www-data ? |
www-data should be member of the intelmq group. And the group needs write permissions for all these files and the directories. |
www-data is in the intelmq group intelmq:x:1001:www-data So it should have access to the runtime.yaml file arf and in "check" panel,
|
If you now gave the group write access to the file, yes. |
Doesn't work ^^ When I do a intelmqctl check :
|
Does May I ask why you did install with pip at all and not with the recommended deb/rpm packages? |
Arf, no it doesn't. I followed the "Installation using pip" in the intelmq-manager installation guide (https://intelmq.readthedocs.io/en/maintenance/user/intelmq-manager.html#installation-using-pip) Maybe I should used the rpm package ... |
Then there must be some mix of old and new code. ExpertBot exists since 7d4b9be6bd, which is not in 3.0.x, but in the 3.1.0 RC. That raises the question which version you installed with pip. |
I think we find the issue I'll create a new VM and use both "Native package" to intelmq and intelmq-manager. Could you confirm that the following link will install all I need ? : IntelMQ - Install Dependencies IntelMQ - Native Package IntelMQ-Manager - Repo |
You don't need the first linked section (it says If you are using native packages, you skip this section as all dependencies are installed automatically.) just follow https://intelmq.readthedocs.io/en/maintenance/user/installation.html#native-packages |
Hello,
I've installed a fresh version of IntelMQ with PyPi but I've an issue with the connection between Intelmq-manager and intelmq-api (i guess).
I can login in the intelmq-manager but when I click on "Configuration", "Management" and "Monitor", I get this :
error : Error loading bot queues information: {"errors": {"Invalid Authentication": "Provided Token verification credentials were invalid"}"
On "Check :
error getting check command output
On "Version":
error getting version
Error getting debugging information. Do you have IntelMQ >= 2.2.0?
i'm pretty sure it's a permission error but I don't see where I failed.
My intelmqsetup result :
I analyzed that :
Unable to install webserver configuration api-config.conf: Neither /usr/lib/python3/dist-packages/etc/intelmq/api-apache.conf nor /etc/apache2/conf-available/api-apache.conf exists.
I've manually changed the owner (from "root" to "www-data" and "intelmq" but it doesn't work.
Thank in advance :)
The text was updated successfully, but these errors were encountered: