-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Creating API token does not work #15365
Comments
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
Per the docs, you should never have
|
Many thanks for getting back to me. To be honest - Kualo just step this up - not me. I did wonder about the public bit in the url they popped in. I'll feed this back to them and have a go at what it says in that doc. |
I don't know who or what Kualo is 😂 But at least they seem to have covered the security basics, i.e. your |
They are a hosting company that does one click installs. I'll talk to them and see what they say. |
Ahh, they're probably using Softaculous. That's the "packaging up open source projects and make them one-click" company, usually done via cPanel integration. Unfortunately, Softaculous doesn't share their process with us, so we don't really know what their installer thingie does (or doesn't do.) |
I have tried changing LIVEWIRE_URL_PREFIX=/public Making an API key gives the same error. Maybe there is some other issue as well. |
Think they have sorted it out. The public bit is gone and API is working grand now. Many thanks for pointed us and them in the right direction. Think its going to be great for our schools. |
@rdnixon Great, glad to hear you're sorted! |
Debug mode
Describe the bug
When we go to create an API key it comes up with 404 Not found - The resource requested could not be found on this server!
On the help it suggest running a php command - but this does not generate a valid API key - it makes a string - but a very short one. The hosting company, Kualo did take a look (fresh install using their quick install) and found this int he logs:
[22/Aug/2024:02:38:38 +0000] "POST /livewire/update HTTP/1.1" 404 708 "https://rltinventory.co.uk/public/account/api" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/2 0100101 Firefox/129.0" [22/Aug/2024:02:38:39 +0000] "POST /livewire/update HTTP/1.1" 404 708 "https://rltinventory.co.uk/public/account/api" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/2 0100101 Firefox/129.0"
Reproduction steps
...
Expected behavior
An API key is generated
Screenshots
Snipe-IT Version
7.0.11
Operating System
Kualo hosting - Linux angelo.ldn.kualo.net 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Web Server
Apache I think
PHP Version
8.1.29
Operating System
Windows
Browser
Chrome
Version
127.0.6533.120
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
Additional context
Fresh install on Kualo hosting installed via their one click install. Everything else works fine - but do need API access to work. Any ideas would be welcome. They said post here as they did not know!
The text was updated successfully, but these errors were encountered: