Code Monkey home page Code Monkey logo

Comments (8)

cokemine avatar cokemine commented on June 16, 2024

1.如果你本地没有IPv6的话肯定是没法访问的,你可以通过使用Cloudflare等CDN使在不支持IPv6的网络环境下也可以访问前端
2.如果不是pustil版本的话,是通过直接计算/proc/stat实现的,和其他监控不同可能是有延迟的问题。
3.这个版本仅是Toyo版本的一个分支,如果要添加多个节点建议手动编辑文件去添加。

from serverstatus-hotaru.

fscarmen avatar fscarmen commented on June 16, 2024

1.但同样是v4网络+v6的VPS,dns设置aaaa解析一样。那些v2ray+nginx里那些伪网页能访问主页的。而用于探针域名的解析无论我在cf里打开小彩云和关闭都不行
2.我也不知道是不是pustil版本,就是直接fork你的这个:ServerStatus-Hotaru,到现在为止,CPU一直为0没有动过
3.手动是编辑哪个文件呢?跟着已经添加的写也行

from serverstatus-hotaru.

cokemine avatar cokemine commented on June 16, 2024

1.客户端在填写服务端地址的时候 ,如果启动了CDN,不能填域名,直接填IP
2.模拟一下CPU占用的命令,看看有没有变化?
比如
cat /dev/urandom | gzip -9 > /dev/null
3.改一下这个文件 /usr/local/ServerStatus/server/config.json

from serverstatus-hotaru.

fscarmen avatar fscarmen commented on June 16, 2024

1.通过对比其他可以在ipv4下访问项目,lsof -i:80,可以看到nginx是有v4和v6同时监听的,所以都能访问。
而本项目在v6的vps下建,caddy只有一行监听v6。
问题定点了,但我在谷歌上找不到添加v4的方法,走投无路只能再硬着头皮问可乐老大了。

from serverstatus-hotaru.

cokemine avatar cokemine commented on June 16, 2024

本来服务器就没有IPv4地址,也没有NAT,没有v4网络怎么可能能监听v4?加钱找服务商要吧。

from serverstatus-hotaru.

fscarmen avatar fscarmen commented on June 16, 2024

建在ipv6 only上,通过cf的cdn能访问web了。

而CPU还是一直是0,无论是EUserv还是甲骨文的。按你所说的,cat /dev/urandom | gzip -9 > /dev/null,无论在客户端还是服务端运行均不见有变化。请问还有什么办法吗?

from serverstatus-hotaru.

cokemine avatar cokemine commented on June 16, 2024

应该是在Python3的一个Bug。尝试脚本停止客户端,然后更新一下?

from serverstatus-hotaru.

fscarmen avatar fscarmen commented on June 16, 2024

按你的方法更新后可以了,谢谢你啊

from serverstatus-hotaru.

Related Issues (20)

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.