Giter VIP home page Giter VIP logo

mossfrpclient-java's People

Contributors

mosscg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mossfrpclient-java's Issues

將其systemd服務啟動時行為異常

若將其作為systemd服務啟動,其會持續輸出“[警告]未知指令!”,並且cpu佔用率為100%
systemd服務配置文件如下

[Unit]
Description=Mossfrp daemon

[Service]
Type=simple
User=lialh4
ExecStart=java -jar MossFrpJava.jar -MossFrp=nb
WorkingDirectory=/home/lialh4/MossFrpJava
TimeoutSec=60
StandardOutput=journal
StandardError=journal
SyslogIdentifier=mossfrp
Restart=always

[Install]
WantedBy=multi-user.target

无法启动

MossFrpJava启动时抛出异常:
Exception in thread "main" java.lang.NullPointerException
at org.mossmc.mosscg.MossFrp.Language.LanguageGet.getLanguage(LanguageGet.java:9)
at org.mossmc.mosscg.MossFrp.BasicVoid.getLanguage(BasicVoid.java:52)
at org.mossmc.mosscg.MossFrp.BasicInfo.getInfoPrefix(BasicInfo.java:55)
at org.mossmc.mosscg.MossFrp.Info.InfoSender.send(InfoSender.java:13)
at org.mossmc.mosscg.MossFrp.Info.InfoException.exception(InfoException.java:11)
at org.mossmc.mosscg.MossFrp.BasicVoid.sendException(BasicVoid.java:44)
at org.mossmc.mosscg.MossFrp.FileControl.FileCheck.check(FileCheck.java:26)
at org.mossmc.mosscg.MossFrp.StartGuide.runGuide(StartGuide.java:29)
at org.mossmc.mosscg.MossFrp.PathStandard.main(PathStandard.java:10)

[功能/建议] 自动下载(如果是下载的)frpc时检测架构

我用的是archlinux arm,在电视盒子上(
我运行MossFrpCjava时看输出发现 配置文件xxx frpc started(类似),然后又立马stopped
Frp进程<配置文件> 启动成功!,然后又立马Frp进程<配置文件> 已停止!
cd到MossFrp/Frps/<配置文件>,尝试运行./frpc-<配置文件>,发现架构不同,file命令是Intel x64(?)
从旁边(那会试了其他的frp提供商)复制过来一个arm64的frpc,替换掉,再次运行MossFrp就发现执行成功
这个架构不会有文档指定纯linux x86_64吧,有就我()()
如果是自动下载的话判一下架构
如果直接解压(?)那就下载或多内置
((要是言辞不当我就看源码提pr()()

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.