-
-
Notifications
You must be signed in to change notification settings - Fork 311
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
API enable,status404 Not Found #3523
Comments
Hi, I cannot replicate this issue, nor have I seen anyone experience this before. Firstly, does the file |
https://www.scavengertown.top/index.php?route=/api/v2 Domain normal access |
Is the |
That's right have a question |
I tried to reinstall the new database using dist 2.1.2 version I suspect it's my system! |
我怀疑我的系统有问题但又不知道问题出在哪里! |
Does your nginx config have the location blocks from the example? https://github.com/NamelessMC/Nameless/blob/develop/nginx.example |
重启nginx 重启服务器 |
192.168.0.199 - - [13/Jul/2024:19:34:54 +0800] "GET /index.php?route=/api/v2 HTTP/1.1" 404 548 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" |
2024/07/16 08:42:32 [error] 50103#0: *11 open() "/home/www/wwwroot/mt102ifb/404.html" failed (2: No such file or directory), client: 192.168.0.199, server: scavengertown.abc6.net, request: "GET /index.php?route=/api/v2 HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi-81.sock", host: "192.168.0.198" |
This appears to be your configuration for phpMyAdmin and not Nameless. Do you have other nginx website configs? |
网站配置 Web configuration
|
`192.168.0.199 - - [18/Jul/2024:05:04:58 +0800] "GET /panel/core/api/ HTTP/1.1" 200 7420 "http://192.168.0.198/panel/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" 192.168.0.198 - - [18/Jul/2024:05:05:05 +0800] "GET /index.php?route=/api/v2 HTTP/2.0" 404 548 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" 192.168.0.198 - - [18/Jul/2024:05:05:12 +0800] "GET /favicon.ico HTTP/2.0" 404 548 "https://www.scavengertown.top/index.php?route=/api/v2" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" 192.168.0.198 - - [18/Jul/2024:05:07:13 +0800] "GET /index.php?route=/api/v2 HTTP/2.0" 404 548 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" 192.168.0.198 - - [18/Jul/2024:05:08:26 +0800] "GET /index.php?route=/api/v2 HTTP/2.0" 404 548 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"` |
192.168.0.198 cento9 |
Sorry for the delay. Your nginx configuration is very complex, could you try renaming this configuration file to something else in order to temporarily disable it, and try the default Nameless nginx configuration as per https://github.com/NamelessMC/Nameless/blob/develop/nginx.example This should help us to understand where the problem is, it might lie with some of the custom rules that have been added in. |
全部系统重新重置默认已正常 |
Describe the issue
API link http://192.168.0.198/index.php?route=/api/v2
404 Not Found
Database brand new
nameless-deps-dev 2.1.2
CentOS Stream 9 x86_64(Py3.7.16) minimum
Access registration normal
PHP GD 8.1.28 √
PHP mbstring 8.1.28√
PHP PDO 8.1.28√
PHP cURL 8.1.28√
PHP XML 8.1.28√
PHP EXIF 8.1.28√
PHP PDO 8.1.28√
PHP PDO MySQL 8.1.28√
MySQL Server 8.0.36√
NamelessMC Version
< 2.1.0
To Reproduce
1.Clean Install
2.Enter the background and directly enable the api
3.404
Expected Behaviour
No response
Screenshots
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: