Skip to content

خطا و ریست شدن سرور #1559

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
arshiadevops opened this issue Mar 7, 2025 · 4 comments
Open

خطا و ریست شدن سرور #1559

arshiadevops opened this issue Mar 7, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@arshiadevops
Copy link

arshiadevops commented Mar 7, 2025

panic: runtime error: slice bounds out of range [:2222] with capacity 2048 goroutine 38 [running]: github.com/xtls/xray-core/common/protocol/quic.SniffQUIC({0xc00026c000, 0x9c4, 0x2000}) github.com/xtls/xray-core/common/protocol/quic/sniff.go:220 +0x1c9a github.com/xtls/xray-core/app/dispatcher.NewSniffer.func4({0xc001126d40?, 0x10?}, {0xc00026c000?, 0x163e501?, 0x1338de0?}) github.com/xtls/xray-core/app/dispatcher/sniffer.go:41 +0x25 github.com/xtls/xray-core/app/dispatcher.(*Sniffer).Sniff(0xc001114f48, {0x1560bb0, 0xc000331d40}, {0xc00026c000, 0x9c4, 0x2000}, 0x3) github.com/xtls/xray-core/app/dispatcher/sniffer.go:65 +0xcc github.com/xtls/xray-core/app/dispatcher.sniffer.func1({0x1560bb0, 0xc000331d40}, 0xc000331dd0, 0xc000331e00, 0xc001114f48, 0x3) github.com/xtls/xray-core/app/dispatcher/default.go:367 +0x125 github.com/xtls/xray-core/app/dispatcher.sniffer({0x1560bb0, 0xc000331d40}, 0xc000331dd0, 0x0, 0x3) github.com/xtls/xray-core/app/dispatcher/default.go:377 +0x11f github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).Dispatch.func1() github.com/xtls/xray-core/app/dispatcher/default.go:259 +0x10f created by github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).Dispatch in goroutine 37 github.com/xtls/xray-core/app/dispatcher/default.go:254 +0x47f

2025/03/07 14:12:31 ERROR - X-UI: Failure in running xray-core: exit status 2
2025/03/07 14:12:31 DEBUG - XRAY: github.com/xtls/xray-core/app/dispatcher/default.go:254 +0x47f
2025/03/07 14:12:31 DEBUG - XRAY: created by github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).Dispatch in goroutine 964
2025/03/07 14:12:31 DEBUG - XRAY: github.com/xtls/xray-core/app/dispatcher/default.go:259 +0x10f
2025/03/07 14:12:31 DEBUG - XRAY: github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).Dispatch.func1()
2025/03/07 14:12:31 DEBUG - XRAY: github.com/xtls/xray-core/app/dispatcher/default.go:377 +0x11f
2025/03/07 14:12:31 DEBUG - XRAY: github.com/xtls/xray-core/app/dispatcher.sniffer({0x1560bb0, 0xc0003eeab0}, 0xc0003eeb40, 0x0, 0x3)
2025/03/07 14:12:31 DEBUG - XRAY: github.com/xtls/xray-core/app/dispatcher/default.go:367 +0x125
2025/03/07 14:12:31 DEBUG - XRAY: github.com/xtls/xray-core/app/dispatcher.sniffer.func1({0x1560bb0, 0xc0003eeab0}, 0xc0003eeb40, 0xc0003eeb70, 0xc0003f04f8, 0x3)
2025/03/07 14:12:31 DEBUG - XRAY: github.com/xtls/xray-core/app/dispatcher/sniffer.go:65 +0xcc
2025/03/07 14:12:31 DEBUG - XRAY: github.com/xtls/xray-core/app/dispatcher.(*Sniffer).Sniff(0xc0003f04f8, {0x1560bb0, 0xc0003eeab0}, {0xc000400000, 0x9c4, 0x2000}, 0x3)
2025/03/07 14:12:31 DEBUG - XRAY: github.com/xtls/xray-core/app/dispatcher/sniffer.go:41 +0x25
2025/03/07 14:12:31 DEBUG - XRAY: github.com/xtls/xray-core/app/dispatcher.NewSniffer.func4({0xc0003f6310?, 0x10?}, {0xc000400000?, 0x163e501?, 0x1338de0?})
2025/03/07 14:12:31 DEBUG - XRAY: github.com/xtls/xray-core/common/protocol/quic/sniff.go:220 +0x1c9a
2025/03/07 14:12:31 DEBUG - XRAY: github.com/xtls/xray-core/common/protocol/quic.SniffQUIC({0xc000400000, 0x9c4, 0x2000})
2025/03/07 14:12:31 DEBUG - XRAY: goroutine 965 [running]:
2025/03/07 14:12:31 DEBUG - XRAY: runtime error: slice bounds out of range [:2226] with capacity 2048
2025/03/07 14:12:31 DEBUG - X-UI: Core crash detected: panic:
2025/03/07 14:12:31 DEBUG - XRAY: 2025/03/07 14:12:31 2.179.8.108:36636 accepted tcp:go.microsoft.com:443 email:
2025/03/07 14:12:31 DEBUG - XRAY: 2025/03/07 14:12:31 2.179.8.108:36632 accepted tcp:8.8.8.8:53 email:
2025/03/07 14:12:29 DEBUG - XRAY: 2025/03/07 14:12:29 2.179.8.108:36472 accepted email:
//////

این خطا ها رو میده وهمش
xray Restart
میشه

اینباد هم به شکل زیر هست

vless://:443?type=tcp&path=%2F&host=rubika.ir%2Cigap.net%2Csplus.ir%2Cskyroom.online&headerType=http&security=none#vpn-

و این اتفاق کی می افته موقعی که با نرم افزار هیدفای نکست نسخه 0.14.20 به کانفیگ وصل میشه باعث خطا و همش ریستارت شدن میشه

وصل شده با نرم افزار هیدیفای نکست باعث این خطا ها میشه

تنظیمات هیدفای هم زیاد تغیر ندادم وفقط حالت سروریس رو وی پی ان گذاشتم

@arshiadevops arshiadevops added the bug Something isn't working label Mar 7, 2025
@arshiadevops
Copy link
Author

Sniffing رو خاموش کردم فعلا اوکی شد

@MK0ltra
Copy link

MK0ltra commented Mar 7, 2025

Update Xray to latest version on both client and server.

@arshiadevops
Copy link
Author

Update Xray to latest version on both client and server.
داداش اینباند هامو رو با نسخه پایین ساختم با نسخه اخر
xray
سازگاری نداره این ارر رو میده
Failed to start: main: failed to load config files: [bin/config.json] > infra/conf: Failed to build HTTPUpgrade config. > infra/conf: "headers" can't contain "host"

@arshiadevops
Copy link
Author

Duplicate of #1556
داداش Sniffing رو خاموش کن احتمالا حل بشه

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants