vanblog icon indicating copy to clipboard operation
vanblog copied to clipboard

[问题反馈]: 内部服务错误

Open bqey opened this issue 1 year ago • 3 comments

问题描述 | Describe the bug

重启nginx后,出现后台打开文章为空并报错;使用了cdn加速,且ssl证书并未使用系统提供的方式,通过nginx配置的 [Nest] 27 - 02/01/2024, 11:47:48 AM ERROR [ExceptionsHandler] Skip value must be non-negative, but received: -9223372036854775808 MongoServerError: Skip value must be non-negative, but received: -9223372036854775808 at Connection.onMessage (/app/server/node_modules/.pnpm/[email protected]/node_modules/mongodb/lib/cmap/connection.js:202:26) at MessageStream. (/app/server/node_modules/.pnpm/[email protected]/node_modules/mongodb/lib/cmap/connection.js:61:60) at MessageStream.emit (node:events:513:28) at processIncomingData (/app/server/node_modules/.pnpm/[email protected]/node_modules/mongodb/lib/cmap/message_stream.js:124:16) at MessageStream._write (/app/server/node_modules/.pnpm/[email protected]/node_modules/mongodb/lib/cmap/message_stream.js:33:9) at writeOrBuffer (node:internal/streams/writable:392:12) at _write (node:internal/streams/writable:333:10) at Writable.write (node:internal/streams/writable:337:10) at Socket.ondata (node:internal/streams/readable:766:22) at Socket.emit (node:events:513:28) image

复现网址 | Website URL

No response

版本 | Version

0.54.0

部署方式? | How do you deploy vanblog?

Docker 部署(文档默认)

bqey avatar Feb 01 '24 03:02 bqey

点击文章管理的时候报的错

bqey avatar Feb 01 '24 05:02 bqey

测试了一下,是cdn加速的原因,这个问题有办法解决吗

bqey avatar Feb 01 '24 06:02 bqey

不知道你是否使用了Cloudflare的CDN加速,我之前遇到过一个问题,虽然和你的问题不一样,但大概率可以确定也是Cloudflare的CDN加速导致的,可以尝试修改CDN策略查看是否可行。下图是Cloudflare提供的策略选择: image

dingdangdog avatar Apr 09 '24 13:04 dingdangdog