gov2panel's People
Forkers
gh6324 cnmars coldice8 wisdomskip fy138 liushao1542 daibva code-cj game5554 download8866 monster-release chunyu-zhou ximliu ronadolong admin-qiang-fyi amyouran dalvincook ficoto luckysdream stmtc233 hinego herrkong yeyu12 tmporggit jmvoidgov2panel's Issues
修改密码功能有bug
你好,开发者
使用默认的管理员账号密码adminx/123456789登录后,在面板里面修改新密码后不能登录,提示密码错误...
有如何对接xray的教程吗?
还在学习代码,不知道如何对接xray
用户注册或添加用户Bug
添加用户或用户注册提示
"message": "INSERT INTO `v2_user`(`id`,`invite_user_id`,`telegram_id`,`user_name`,`password`,`password_algo`,`password_salt`,`balance`,`discount`,`commission_type`,`commission_rate`,`commission_balance`,`commission_code`,`t`,`u`,`d`,`transfer_enable`,`banned`,`is_admin`,`is_staff`,`last_login_at`,`last_login_ip`,`uuid`,`group_id`,`token`,`remarks`,`expired_at`,`created_at`,`updated_at`) VALUES(0,0,0,'test123','514971cb3f0c6cdbb89ec4f85a29f1a8','MD5','74c577d4',0,0,3,0,0,'7711cb86',0,0,0,0,-1,-1,-1,0,'','bac56c91-e12a-41ef-b5d1-04b0731a73ff',10,'9d6972aa0cec4306a62991307cf32592','',null,'2024-02-24 21:15:07','2024-02-24 21:15:07') : Error 1366 (22007): Incorrect integer value: '' for column `gov2panel`.`v2_user`.`last_login_ip` at row 1",
SS节点无法获取加密方式
2024/03/13 10:03:36 infra/conf: unknown cipher method:
panic: infra/conf: unknown cipher method:
{
"port": "9996",
"cypher_method": "chacha20-ietf-poly1305",
"obfs": "none",
"server_key":"",
"obfs_settings": {
"path": "",
"host": ""
}
}
试过了不行
2024/03/13 10:03:36 [Info] app/dns: DNS: created localhost client
2024/03/13 10:03:36 [Warning] core: Xray 1.8.9 started
&{map[cypher_method:chacha20-ietf-poly1305 flow_rate:1 obfs:none obfs_settings:map[host: path:] port:9996 routes:[map[action:dns action_value:8.8.8.8 id:6 match:[netflix.com]]] server_key:]}
&{Shadowsocks 7 9996 0 0 tcp false false [] [0xc0006e2ba0] false }
&{Shadowsocks 7 9996 0 0 tcp false false [] [0xc0006e2ba0] false }
希望增加一个快速复制节点功能
直接快速复制节点,然后修改几个参数即可设置出一个新节点
节点状态显示不正确
后端:xrayr
协议:vemss+tls。 Trojan
当xrayr日志中无在线活跃用户时,前端节点状态显示为异常,实际节点是同的只是没有上报用户,当你在客户端测速一次建立一个连接后,前端节点状态中即显示正常。已活跃用户判断节点状态好像不太合理
对接XrayR 0.9.1 reality节点报错
你好,我不知道这是一个bug还是我的配置有问题,所以发这个issue来询问一下。
我已在gov2panel内设置了apikey,创建了订阅组,添加了节点,并把节点加入到了对应的订阅组。
我也检查了节点ID、apikey等信息。但是启动xrayr依旧报错:
panic: Panel Start fialed: users is null
我的xrayr配置:
...
Nodes:
- PanelType: "GoV2Panel" # Panel type: SSpanel, NewV2board, PMpanel, Proxypanel, V2RaySocks, GoV2Panel
ApiConfig:
ApiHost: "https://gov2panel.example.com/"
ApiKey: "example"
NodeID: 8
NodeType: V2ray # Node type: V2ray, Shadowsocks, Trojan, Shadowsocks-Plugin
Timeout: 30 # Timeout for the api request
EnableVless: true # Enable Vless for V2ray Type
VlessFlow: "xtls-rprx-vision"
...
EnableREALITY: true
REALITYConfigs:
Show: true # Show REALITY debug
Dest: www.python.org:443 # Required, Same as fallback
ProxyProtocolVer: 0 # Send PROXY protocol version, 0 for disable
ServerNames: # Required, list of available serverNames for the client, * wildcard is not supported at the moment.
- www.python.org
PrivateKey: xxx # Required, execute './xray x25519' to generate.
MinClientVer: # Optional, minimum version of Xray client, format is x.y.z.
MaxClientVer: # Optional, maximum version of Xray client, format is x.y.z.
MaxTimeDiff: 0 # Optional, maximum allowed time difference, unit is in milliseconds.
ShortIds: # Required, list of available shortIds for the client, can be used to differentiate between different clients.
- ""
- 0123456789abcdef
gov2panel节点配置:
{
"port": "51000",
"encryption": "none",
"security": "reality",
"flow": "xtls-rprx-vision",
"sni": "www.python.org",
"alpn": "",
"fp": "chrome",
"pbk": "xxx",
"sid": "0123456789abcdef",
"type": "tcp",
"net": "tcp",
"headerType": "none",
"host": ""
}
每运行一次xrayr,gov2panel就会回显这样的日志:
2023-10-23 05:17:41.664 [DEBU] {38758069cda490172531c46f68715369} [ 1 ms] [default] [gov2panel] [rows:1 ] SELECT `id`,`agreement`,`service_json`,`name`,`plan_id`,`show`,`host`,`port`,`rate`,`order_id`,`created_at`,`updated_at`,`route_id` FROM `v2_proxy_service` WHERE `id`=8 LIMIT 1
2023-10-23 05:17:41.826 [DEBU] {fb6e2e73cda490172731c46feaa44a77} [ 0 ms] [default] [gov2panel] [rows:1 ] SELECT `id`,`agreement`,`service_json`,`name`,`plan_id`,`show`,`host`,`port`,`rate`,`order_id`,`created_at`,`updated_at`,`route_id` FROM `v2_proxy_service` WHERE `id`=8 LIMIT 1
2023-10-23 05:17:41.827 [DEBU] {0c574073cda490172831c46f4458c941} [ 0 ms] [default] [gov2panel] [rows:0 ] SELECT `id`,`invite_user_id`,`telegram_id`,`user_name`,`password`,`password_algo`,`password_salt`,`balance`,`discount`,`commission_type`,`commission_rate`,`commission_balance`,`commission_code`,`t`,`u`,`d`,`transfer_enable`,`banned`,`is_admin`,`is_staff`,`last_login_at`,`last_login_ip`,`uuid`,`group_id`,`token`,`remarks`,`expired_at`,`created_at`,`updated_at` FROM `v2_user` WHERE (`group_id` IN(10)) AND (transfer_enable > u + d) AND (`expired_at` > '2023-10-23 05:17:41') AND (`banned`=0) AND (`uuid` != '')
2023-10-23 05:17:41.828 [DEBU] {cf324a73cda490172931c46fbc2d782c} [ 0 ms] [default] [gov2panel] [rows:1 ] SELECT `id`,`transfer_enable`,`speed_limit`,`name`,`show`,`order_id`,`renew`,`content`,`expired`,`price`,`reset_traffic_method`,`capacity_limit`,`created_at`,`updated_at`,`remarks` FROM `v2_plan` WHERE `reset_traffic_method`=1 ORDER BY `order_id` DESC
当订阅标题里出现空格 订阅会被隐藏
当订阅标题里任意位置出现空格 用户更新订阅后此节点在用户客户端会被隐藏无法显示出来
Database file
Hello, where is the database file located?
邀请链接是否有设计?
表里有邀请码,邀请注册链接如何使用?另外后续有什么更新计划?
钱包无法充值成功
易支付接口
点充值。扣款成功后正常回调后 用户中心余额未增加 且充值消费记录里没有充值的订单信息
订阅选叠加后无法购买
1.当订阅 套的类型为叠加 前台用户无法直接购买此订阅
2.后台修改用户订阅权限下拉列表里也看不到类型为叠加的订阅
订阅类型 改覆盖后1 问题解决,且可以直接续费,2问题依旧
添加节点时出现问题,Panel Start fialed: server port must > 0
xraryr报错
Oct 25 19:05:42 racknerd-7043e5 XrayR[68378]: XrayR 0.9.1 (A Xray backend that supports many panels)
Oct 25 19:05:42 racknerd-7043e5 XrayR[68378]: 2023/10/25 19:05:42 Start the panel..
Oct 25 19:05:42 racknerd-7043e5 XrayR[68378]: 2023/10/25 19:05:42 Xray Core Version: 1.8.4
Oct 25 19:05:42 racknerd-7043e5 XrayR[68378]: 2023/10/25 19:05:42 [Warning] core: Xray 1.8.4 started
Oct 25 19:05:42 racknerd-7043e5 XrayR[68378]: 2023/10/25 19:05:42 Panel Start fialed: server port must > 0
Oct 25 19:05:42 racknerd-7043e5 XrayR[68378]: panic: Panel Start fialed: server port must > 0
Oct 25 19:05:42 racknerd-7043e5 XrayR[68378]: goroutine 1 [running]:
Oct 25 19:05:42 racknerd-7043e5 XrayR[68378]: log.Panicf({0x358c09d?, 0x39d0520?}, {0xc0006e9e20?, 0xc0006ff3b0?, 0x2dd6ea0?})
Oct 25 19:05:42 racknerd-7043e5 XrayR[68378]: log/log.go:439 +0x65
Oct 25 19:05:42 racknerd-7043e5 XrayR[68378]: github.com/XrayR-project/XrayR/panel.(*Panel).Start(0xc00017f4c0)
Oct 25 19:05:42 racknerd-7043e5 XrayR[68378]: github.com/XrayR-project/XrayR/panel/panel.go:210 +0x5db
Oct 25 19:05:42 racknerd-7043e5 XrayR[68378]: main.main()
Oct 25 19:05:42 racknerd-7043e5 XrayR[68378]: github.com/XrayR-project/XrayR/main/main.go:97 +0x233
Oct 25 19:05:42 racknerd-7043e5 systemd[1]: XrayR.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Oct 25 19:05:42 racknerd-7043e5 systemd[1]: XrayR.service: Failed with result 'exit-code'.
^C
优惠券 指定订阅无效
优惠券 指定订阅 下拉选择订阅套餐保存后 再次进来编辑依旧显示空
好像并未提交到数据库
节点名称插入emoj 图标会报错
节点标题如果含国旗emo图标无法提交会报数据库错误,编码问题?
节点名称带个图标比较直观一点,可以的话建议修复一下
openwrt的订阅链接怎么弄?
openwrt上passwall的订阅链接怎么弄?
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.