Comments (7)
安装已经成功了。 那个 warning 无视即可。
from hysteria.
安装已经成功了。 那个警告无视即可。
你好!但是etc文件夹中没有Hysteria2
from hysteria.
但是etc文件夹中没有Hysteria2
Hysteria 2 的配置文件在 /etc/hysteria/config.yaml
, 也就是 etc
「文件夹」里的 hysteria
文件夹里的 config.yaml
。
from hysteria.
Hysteria 2 的配置文件在
/etc/hysteria/config.yaml
,也就是etc
“文件夹”里的hysteria
文件夹里config.yaml
。
etc里没有hysteria`这个文件夹
from hysteria.
root@C20240609102115:# systemctl restart hysteria-server.service# systemctl status hysteria-server.service
root@C20240609102115:
● hysteria-server.service - Hysteria Server Service (config.yaml)
Loaded: loaded (/etc/systemd/system/hysteria-server.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2024-06-10 15:05:47 UTC; 8s ago
Process: 2666 ExecStart=/usr/local/bin/hysteria server --config /etc/hysteria/config.yaml (code=exited, status=1/FAILURE)
Main PID: 2666 (code=exited, status=1/FAILURE)
CPU: 19ms
Jun 10 15:05:47 C20240609102115 systemd[1]: Started Hysteria Server Service (config.yaml).
Jun 10 15:05:47 C20240609102115 hysteria[2666]: 2024-06-10T15:05:47Z INFO server mode
Jun 10 15:05:47 C20240609102115 hysteria[2666]: 2024-06-10T15:05:47Z FATAL failed to load server config {"error": "invalid config: listen: lookup udp/443#监听端口: unknown port"}
Jun 10 15:05:47 C20240609102115 systemd[1]: hysteria-server.service: Main process exited, code=exited, status=1/FAILURE
Jun 10 15:05:47 C20240609102115 systemd[1]: hysteria-server.service: Failed with result 'exit-code'.
root@C20240609102115:~#
这个问题怎么解决?求帮助
from hysteria.
Jun 10 15:05:47 C20240609102115 hysteria[2666]: 2024-06-10T15:05:47Z FATAL failed to load server config {"error": "invalid config: listen: lookup udp/443#监听端口: unknown port"}
你的配置文件里面有这样一行
listen: :443#监听端口
你删掉了 #监听端口
前面的空格, 导致了这个问题, 请在 #监听端口
这个注释前添加空格, 或者干脆删掉这个注释
listen: :443#监听端口 # 报错
listen: :443 #监听端口 # OK
listen: :443 # OK
from hysteria.
@haruue 我说怎么一开始的时候可以呢,闹了一个大笑话!非常感谢!爱了爱了!请收下我的膝盖!
from hysteria.
Related Issues (20)
- hy2客户端的 socks5, udp不通 HOT 1
- acme非标端口申请证书 HOT 11
- 仅指定IP走代理 HOT 1
- Does hysteria support reverse proxy? HOT 1
- 使用DNS服务解锁奈飞的疑惑 HOT 6
- hysteriav2经过转发速度变慢 HOT 1
- 树莓派布置hysteria2
- 希望增加客户端ACL
- tun模式白名单模式 HOT 1
- 最新v2.5.0版本的windows 32位软件,谷歌浏览器始终无法下载,报病毒 HOT 3
- 更新到 2.5.0后,启用嗅探,部分面板如x-ui无法连接。关闭嗅探后,x-ui面板又能连接了。 HOT 2
- parse client config failed decoding:\n\n* 'obfs' expected a map HOT 5
- Wireguard Outbound HOT 2
- Linux 版2.5.0伪装功能异常 HOT 14
- 是否考虑支持listen多个port ? HOT 1
- Add ECH to TLS Parameters
- [Feature Request] New Obfuscations
- 如果服务器禁用udp是不是就无法使用了? HOT 1
- hy2今日被墙
- 做了几次测速,之后用不了了:"accepting stream failed: timeout: no recent network activity" HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hysteria.