mirror of
https://github.com/certimate-go/certimate.git
synced 2026-04-26 05:05:56 +03:00
[GH-ISSUE #626] [Bug] 更新cdnfly指定id证书报错 #416
Labels
No labels
announcement
backlog
bug
declined
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
invalid
pull-request
question
stale
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/certimate#416
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 @pooneyy on GitHub (Apr 17, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/626
软件版本 / Release Version
0.3.8
缺陷描述 / Description
复现步骤 / Steps to reproduce
日志 / Logs
No response
其他 / Miscellaneous
No response
@fudiwei commented on GitHub (Apr 18, 2025):
你确定你的 API Key 和 API Secret 正确(是用户端的 API Key,不是平台端的 API Key),并且 Cdnfly 开启了 API 吗?
@pooneyy commented on GitHub (Apr 18, 2025):
我确定我是用户端的 API Key,不是平台端的 API Key
@fudiwei commented on GitHub (Apr 18, 2025):
反序列化确实有问题,但这个
login_required错误码不太对劲啊…… 😕有条件的话你可以用 Postman、Apifox 之类的调试一下获取站点这个接口吗?
@pooneyy commented on GitHub (Apr 18, 2025):
我有一个提议,就是打印错误日志的时候可以把api的请求头、请求体、响应头、响应内容、响应代码一起输出到错误日志里
@pooneyy commented on GitHub (Apr 18, 2025):
我测试了,测试成功了,我成功把一个自签证书推送上去了
url
/v1/certs/<证书ID>方法
put请求体
@pooneyy commented on GitHub (Apr 18, 2025):
我发现未登录的时候请求相关api是会报错:
http状态码 200
@fudiwei commented on GitHub (Apr 18, 2025):
啊?你的意思是网页端未登录、用 API Key+Secret 调用接口会返回
login_required?@pooneyy commented on GitHub (Apr 18, 2025):
我的意思是在发送请求的时候不发送
api-key就会出现上述的响应,但是我确认我的api-key和api-secret是正确的@fudiwei commented on GitHub (Apr 18, 2025):
麻烦在 Postman、Apifox 里把请求复制为 cURL 形式贴一下给我,Key 和 Secret 实际值可以用星号代替。
获取单个网站详情那个接口,不是添加单个证书接口。
@pooneyy commented on GitHub (Apr 18, 2025):
2205是网站id
@fudiwei commented on GitHub (Jun 9, 2025):
根据 #775 来看接口调用是没问题的……我也不知道为啥你这里会有 "login_required" 这么个错误 😕 难道跟 cdnfly 版本有关?
@pooneyy commented on GitHub (Jun 10, 2025):
可能跟版本有关,近期正常了