Code Monkey home page Code Monkey logo

Comments (6)

doubanius avatar doubanius commented on August 19, 2024

mastodon-streaming的log无异常,可否对API问题进行详细说明?谢谢~

from doubanius-tertius.

mason1900 avatar mason1900 commented on August 19, 2024

那么请参考第二个链接,如果是nginx配置不正确,那么mastodon-streaming的log应该并不会留下异常。。。
复现bug的方法:使用Chrome或者Firefox打开里瓣任何页面,然后按F12 =>Console ,可以看到无法建立链接。如果是在主页上,时间越久出现的个数越多。结果是网页版不会收到通知。
等有空我试着搭一个实例然后反馈给您。

from doubanius-tertius.

doubanius avatar doubanius commented on August 19, 2024

终于看到问题了!设法解决。

from doubanius-tertius.

doubanius avatar doubanius commented on August 19, 2024

又试了一下里面的两个办法,还是没搞定……

from doubanius-tertius.

mason1900 avatar mason1900 commented on August 19, 2024

正常来讲https://donotban.com/api/v1/streaming/?stream=user 如果用浏览器直接访问应该返回一个JSON.
比如你可以试一下https://bgme.me/api/v1/streaming/?stream=user.
应该就是配置的问题。等有空我试一下看看能不能在自己的服务器上复现这个bug

from doubanius-tertius.

doubanius avatar doubanius commented on August 19, 2024

发现问题了!mastodon服务器安装失误,streaming service一直没有开启!居然存活到了现在……

from doubanius-tertius.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.