mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 08:45:58 +03:00
[GH-ISSUE #1234] 报错Decryption failed #3775
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#3775
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lhy1010 on GitHub (Jul 15, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1234
登录报错解密失败
@0xJacky commented on GitHub (Jul 15, 2025):
您好,方便点一下 public_key 看看有返回密钥吗
@lhy1010 commented on GitHub (Jul 15, 2025):
-----BEGIN RSA PUBLIC KEY-----
MIIBCgKCAQEAwvY0T9sPMm/FyjAtWW2Z2uqD4mQt57Fkors7EqHbgmHtvkv8aisa
NK6xR4VcxIfICXqlf724ZIou5C+HjBXlkkEmAieho7s9ZLQ4Qns7TQ40mP1fg9UP
YW91CDuT8x5aiFARliuiF8v89N8xCKQFbshyA5WwXnAaoAjrh3iov7K+qBVN8X64
b0Va1FHVUyn7cPZXMd9/J5RDHAOIzzSc86qFCIGb7gKoCGQsE6ZAgFpEqOUADhky
dJFVpasoJ7n6jlsxE2T+d8bwpdx3FSAWdDCfS6J8hCkkd66vpPT66gln5/nFKxsH
S6bbzIqRaLAiwcFOuzMI+gG+Luw9ATw2EwIDAQAB
-----END RSA PUBLIC KEY-----
@0xJacky commented on GitHub (Jul 15, 2025):
麻烦使用
nginx-ui reset-password --config /usr/local/etc/nginx-ui/app.ini重置一下密码试试?我想排除一下是不是特殊密码字符导致的问题@lhy1010 commented on GitHub (Jul 15, 2025):
我觉得大概应该是代理的问题,最近我用edgeone做了一层代理,但是一开始是正常的,今晚不行了,这个重置密码是重置的默认admin账号的密码么
@0xJacky commented on GitHub (Jul 15, 2025):
对的,重置的是默认账号的密码
@0xJacky commented on GitHub (Jul 15, 2025):
不重置密码的话,您可以更新到开发版
然后登录的时候使用
jorunalctl -fu nginx-ui查看 nginx-ui 的输出,看看具体的 Error 是什么@lhy1010 commented on GitHub (Jul 15, 2025):
好的 我试下 不过如果不走代理的那一层 是可以登录的
@0xJacky commented on GitHub (Jul 15, 2025):
😂代理不会把我的密文给篡改了吧
@lhy1010 commented on GitHub (Jul 16, 2025):
@0xJacky commented on GitHub (Jul 17, 2025):
奇怪,日志里有 /public_key 的请求吗
@0xJacky commented on GitHub (Jul 17, 2025):
我看前端网络请求里有请求 /public_key,但是你这里的后端日志没有对应的请求,有一种情况就是代理把请求劫持了导致没有请求到 nginx-ui 的公钥生成接口,所以直接登录就提示 request timeout
@0xJacky commented on GitHub (Jul 19, 2025):
该不会是 edgeone 缓存了 /public_key 吧
@lhy1010 commented on GitHub (Jul 25, 2025):
清空了缓存 就没问题了 应该就是缓存了
@0xJacky commented on GitHub (Jul 25, 2025):
新版改了请求的逻辑,现在应该不会被 cdn 缓存了