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

CloudBase 感觉问题很大,又出现了提交评论加载半天的情况 #57

Closed
leirock opened this issue Dec 3, 2020 · 22 comments
Closed

Comments

@leirock
Copy link
Contributor

leirock commented Dec 3, 2020

CloudBase 感觉问题很大,总是各种各样问题,本来还打算整体迁移过去的,现在看来还不如 docker 搭建 Waline 然后数据从LeanCloud 取

情况一:能提交评论,有通知,但是加载图标一直显示加载
Xnip2020-12-04_00-12-57

情况二:无法提交评论
Xnip2020-12-04_00-13-27

情况三:无法加载既有评论
image

@lizheming
Copy link
Collaborator

lizheming commented Dec 3, 2020

  1. 是发布了重复评论,这个需要 MiniValine 那边根据非 200 状态码适配一下
  2. 这个是 cloudbase 的报错,具体我之后再查一下
  3. 这个是 MiniValine 的报错,我之前有时候也能刷出来,再刷新下又好了,还挺奇怪的。

以上问题1和3请 @MHuiG 帮忙看一下,谢谢。目前如果想稳定使用的话比较建议 Vercel 配合 Leancloud 食用方案,其他的兼容环境方案上线比较匆忙,难免会有一些问题。

@leirock
Copy link
Contributor Author

leirock commented Dec 3, 2020

嗯,本来打算全面抛弃 LeanCloud,目前看来还是暂时自己服务器 Docker 部署的后端 + LeanCloud 的方案吧,等各种兼容适配了再换

@eallion
Copy link
Contributor

eallion commented Dec 3, 2020

暂时测试没有问题。

MHuiG added a commit to MHuiG/MiniValine that referenced this issue Dec 4, 2020
@MHuiG
Copy link

MHuiG commented Dec 4, 2020

https://waline.vercel.app/

这个demo不能提交评论

MHuiG added a commit to MHuiG/MiniValine that referenced this issue Dec 4, 2020
@walinejs walinejs deleted a comment from MHuiG Dec 4, 2020
lizheming added a commit that referenced this issue Dec 5, 2020
@lizheming
Copy link
Collaborator

@MHuiG demo 不能评论是因为之前有人跑到 waline 官方上发垃圾评论,我就索性设置了下 preSave() 禁止评论了。这块由于设置了太久,导致我自己都忘记了今天还查了半天,目前已恢复了 😓。

@leirock
Copy link
Contributor Author

leirock commented Dec 7, 2020

反馈一下:改用 Waline 最新支持 hexo next 主题的插件后似乎使用体验改善很多,用 CloudBase 也很顺畅了

@lizheming
Copy link
Collaborator

@lei2rock 关于反馈的问题2无法提交评论,提示的是 timeout 5 seconds 的问题,昨天帮另外一位网友排查,可能是以为邮件通知耗时比较长导致的超时。可以在后台把超时时间设置大一点再试试。

@MHuiG
Copy link

MHuiG commented Dec 8, 2020

demo 不能评论是因为之前有人跑到 waline 官方上发垃圾评论,我就索性设置了下 preSave() 禁止评论了。这块由于设置了太久,导致我自己都忘记了今天还查了半天,目前已恢复了 😓。

这边一三问题搞定了

5.0.0-alpha.17

@lizheming
Copy link
Collaborator

@MHuiG 收到,非常感谢~ @lei2rock 你要有时间的话可以用回 MiniValine 再试试,如果没时间的话我就当已解决暂时关闭这个 issue,之后如果还有问题我们可以开新 issue 再讨论。非常感谢二位~

@MHuiG
Copy link

MHuiG commented Dec 13, 2020

你的官网Demo又挂掉了https://minivaline.js.org/waline.html

似乎 waline cli 没有异常提示

有人遇到一个跨域问题
https://mcseekeri.top/comment/

@lizheming
Copy link
Collaborator

@MHuiG 官网的 DEMO 因为 Vercel 账户超额暂时使用不了。提示跨域问题一般是接口有错误,没有走到设置跨域头的逻辑里。可以让用户上 Vercel 后台看一下请求返回的错误日志。

@lizheming
Copy link
Collaborator

@MHuiG 跨域的问题你让这位用户把 serverURLs 最后的那个 / 去掉试一下 https://mccomments.now.sh 我这看好像是因为双斜线的问题,去掉了似乎正常了。

@MHuiG
Copy link

MHuiG commented Dec 13, 2020

@MHuiG 跨域的问题你让这位用户把 serverURLs 最后的那个 / 去掉试一下 https://mccomments.now.sh 我这看好像是因为双斜线的问题,去掉了似乎正常了。

@MCSeekeri

@MCSeekeri
Copy link

去掉之后正常了(
不过似乎发布评论之后刷新就没了,但访问Waline的后台是可以看到已经正常发布的...
我估计是我自己魔改旧版Volantis的问题,回头升级到4.2.0再试试

@lizheming
Copy link
Collaborator

lizheming commented Dec 13, 2020

@MCSeekeri 这个不是你的问题,前几天也有其他用户反馈,默认不设置 path 的情况下,读取评论列表时候接口传的 path 是undefined,导致读取评论不正确,不过发布评论的时候是正常的。 @MHuiG 有空的话帮忙看看这个问题吧,谢谢。

@MHuiG
Copy link

MHuiG commented Dec 13, 2020

@MCSeekeri 先升级到4.2.0

@MHuiG
Copy link

MHuiG commented Dec 13, 2020

@MCSeekeri 这个不是你的问题,前几天也有其他用户反馈,默认不设置 path 的情况下,读取评论列表时候接口传的 path 是undefined,导致读取评论不正确,不过发布评论的时候是正常的。 @MHuiG 有空的话帮忙看看这个问题吧,谢谢。

哪里的其他用户

@lizheming
Copy link
Collaborator

@MCSeekeri 这个不是你的问题,前几天也有其他用户反馈,默认不设置 path 的情况下,读取评论列表时候接口传的 path 是undefined,导致读取评论不正确,不过发布评论的时候是正常的。 @MHuiG 有空的话帮忙看看这个问题吧,谢谢。

哪里的其他用户

@QingxuMo 之前在 waline 的 tg 群里反馈的,我自己用了下确实能复现,手动指定 path 正常。

@MHuiG
Copy link

MHuiG commented Dec 14, 2020

那就先手动指定吧

@MHuiG
Copy link

MHuiG commented Dec 14, 2020

@MCSeekeri @QingxuMo 5.0.0-alpha.19 解决path问题

image

@MHuiG
Copy link

MHuiG commented Dec 14, 2020

@MCSeekeri 顺便提一句表情包格式改了

https://github.com/MiniValine/MiniValine/releases/tag/v5.0.0-alpha.2

@MCSeekeri
Copy link

MCSeekeri commented Dec 14, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants