Comments (17)
不是报错,这是等待mysql启动过程中在测试,mysql连通性。等一下等启动完自动创表的
from trojan.
不知道為何,端口 443沒啟動
nc -v 申請證書域名 443
nc: connectx to 申請證書域名 port 443 (tcp) failed: Connection refused
要檢查哪裡確認?還是重啟 trojan?
● trojan.service - trojan
Loaded: loaded (/etc/systemd/system/trojan.service; enabled; vendor preset: disabled)
Active: activating (auto-restart) (Result: exit-code) since Tue 2020-03-24 11:57:11 UTC; 2s ago
Docs: https://trojan-gfw.github.io/trojan/config
https://trojan-gfw.github.io/trojan/
Process: 9920 ExecStart=/usr/bin/trojan/trojan /usr/local/etc/trojan/config.json (code=exited, status=1/FAILURE)
Main PID: 9920 (code=exited, status=1/FAILURE)
Mar 24 11:57:11 trojan systemd[1]: trojan.service: main process exited, code=exited, status=1/FAILURE
Mar 24 11:57:11 trojan trojan[9920]: [2020-03-24 11:57:11] [FATAL] fatal: use_certificate_chain_file: No such file
or directory
Mar 24 11:57:11 trojan trojan[9920]: [2020-03-24 11:57:11] [FATAL] exiting. . .
Mar 24 11:57:11 trojan systemd[1]: Unit trojan.service entered failed state.
Mar 24 11:57:11 trojan systemd[1]: trojan.service failed.
from trojan.
trojan启动失败了,是自定义证书路径的吗
from trojan.
-
是的,我選自定义证书路径,會是 ACME那邊沒啟動?還是路徑錯誤?
-
请选择: 3
重启trojan成功!
欢迎使用trojan管理程序 -
[root@trojan bin]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS
PORTS NAMES
04622ea820ca jrohy/trojan "init" 2 minutes ago Up 2 minutes
trojan
cb69cc342d94 mysql/mysql-server:5.7 "/entrypoint.sh mysq…" 17 minutes ago Up 17 minutes (healthy)
33060/tcp, 0.0.0.0:62406->3306/tcp trojan-mysql
from trojan.
自定义证书,有没有指错文件呢,有指错可以去修改下trojan配置文件
from trojan.
怪,我自定義證書了,還是一樣443端口起不來,我重搞一台CentOS好了,我這台在 GCP上面搞的 CentOS7
from trojan.
看起来是trojan没认出你指定的证书,一个是cert一个key, 有没有指错或者指反了,脚本输入路径后只会做文件判断是否存在,不会检验证书有效性的。
from trojan.
我指到這
/root/域名.crt
/root/域名.key
我重新啟動vm,乾淨安裝看看
PS: 我是跟著油管步驟做的
from trojan.
再不行你直接用脚本自带的let's encrypt 来签证试试
from trojan.
一般使用证书都是推荐脚本自带的let's encrypt来签发的,最稳
from trojan.
我指到這
/root/域名.crt
/root/域名.key
我重新啟動vm,乾淨安裝看看
PS: 我是跟著油管步驟做的
他有YouTube教程么?给个链接,我去看看
from trojan.
油管後帶這段URI
watch?v=L6dq4NSLWps&t=16s
from trojan.
油管後帶這段URI
watch?v=L6dq4NSLWps&t=16s
谢谢
from trojan.
@Jrohy
GCP 是 bash profile的問題,導致 ACME腳本沒跑完整,我找時間再測試
我在小鳥測試完全沒問題,但是流量限制這個在油管貌似行不通,參閱以下截屏說明
5兆用量跑完之後,無法請求 ipip
https://i.imgur.com/7bCiGlx.png
也無法請求 ifconfig
https://i.imgur.com/k98qIOI.png
但,油管繼續播放....
https://i.imgur.com/u1gB3pH.png
即便新增一個 tab 重新播放油管,還是可以播放 ...
https://i.imgur.com/5PYWO6G.png
連自己的小馬UI也被屏住
https://i.imgur.com/QoPooul.png
但,事實上總流量已經爆 120兆了
https://i.imgur.com/K8kiHTc.png
流量限制,我是限定5兆而已 ....
https://i.imgur.com/Plwn4IR.png
此外,mode 選全局 global,curl ifconfig.io 貌似還是會走本地端口 IP,不會走小馬的隧道
以上
from trojan.
@vlpeng 这应该是bug, 向官方仓库反馈下,我测了超流量后twitter和fb都不行,单单就油管可以
from trojan.
@Jrohy 這標題我改下,GCP可以,是我 su的時候出錯導致,這腳本沒問題,大推
from trojan.
nice repository !!!!
from trojan.
Related Issues (20)
- 能否让日志显示完整的URL呢 HOT 1
- 后台管理界面报错:dial tcp :0: connect: connection refused
- 端口占用,启动trojan失败的原因
- 程序的完整卸载是个问题。
- 如何备份和恢复docker mysql 数据库 里的用户 HOT 1
- 443端口,有其它web服务在用,请问如何改为其它端口? HOT 2
- 求问ipv6监听 HOT 1
- SSL证书自动续签问题 HOT 5
- 怎样查询到用户的浏览记录和用户流量
- 申请证书时报错 HOT 1
- 请问能否在Trojan Web 的管理面里再创建多一下admin用户
- 域名解析有误?
- 修改web端口,还需要修改trojan 本身的config
- source无效
- 请问clash X有没有ubuntu Linux版的
- 使用docker部署trojan报错启动trojan失败! HOT 7
- 申请支持Sing-Box
- 这个还稳定么,有用过的说下么 HOT 4
- 数据库password字段是怎么加密的,想自己二次开发有代理商功能的面板 HOT 2
- 我修改了端口,为什么还会有个80端口占用呢?
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 trojan.