Skip to content
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

Internal Server Error #37

Open
DavidingPlus opened this issue Feb 6, 2025 · 5 comments
Open

Internal Server Error #37

DavidingPlus opened this issue Feb 6, 2025 · 5 comments
Labels
bug Something isn't working

Comments

@DavidingPlus
Copy link

#22 过来的。

今天部署在 deno,同样遇到了一样的问题,具体见 https://meting-api.davidingplus.cn

使用作者你的可以,不知道为什么,目前仅作临时方案。

两个链接可以对比:

@xizeyoupan
Copy link
Owner

可以看看deno日志

@DavidingPlus
Copy link
Author

刚请求了一次,日志是这样:

Error: ASN.1 error: PEM error: PEM Base64 error: invalid Base64 encoding
at Object.publicEncrypt (ext:deno_node/internal/crypto/cipher.ts:221:10)
at rsaEncrypt (file:///src/deno.js:2178:17)
at Object.weapi (file:///src/deno.js:2195:16)
at request (file:///src/deno.js:2310:27)
at get_playlist2 (file:///src/deno.js:2413:15)
at eventLoopTick (ext:core/01_core.js:214:9)
at async Object.handle2 [as handle] (file:///src/deno.js:2530:16)
at async api_default (file:///src/deno.js:2625:14)
at async dispatch (file:///src/deno.js:2987:17)
at async logger2 (file:///src/deno.js:4232:5)

@xizeyoupan xizeyoupan added the bug Something isn't working label Feb 6, 2025
@DavidingPlus
Copy link
Author

Docker 部署出来的那个能用,我在我自己服务器上试了。

昨天在跑 CI 的时候发现原来的 actions/upload-artifact@v3 and actions/download-artifact@v3 废弃了,所以我手动改成了 v4 才能跑成功。不可能是因为这个原因吧?其他完全按照 README 来的,只改了 deno 那个 project name。有点奇怪。

@xizeyoupan
Copy link
Owner

denoland/deploy_feedback#310
deno 1.30 版本测试正常,升级最新的deno后不兼容。由于deploy上改不了版本,建议采用其他部署方式。

@DavidingPlus
Copy link
Author

看了下日志,猜测大概是加密的代码(src/providers/netease/crypto.js)与 Deno 2 不兼容,但我不会改。我先用 Docker 部署吧,后续有空再和作者一起思考下这个问题。

附相关链接:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants