Skip to content
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

غیرفعال شدن هسته سینگ باکس #102

Closed
m3hdiclub opened this issue Apr 14, 2024 · 3 comments
Closed

غیرفعال شدن هسته سینگ باکس #102

m3hdiclub opened this issue Apr 14, 2024 · 3 comments
Labels
question Further information is requested

Comments

@m3hdiclub
Copy link

درود استاد
هر چند روز یکبار و یا حتی یک روز در میون هسته سینگ باکس غیرفعال میشه و باید از طریق ssh سینگ باکس رو ریستارت کنم تا اوکی بشه، حتی حالت اجرای خودکار سینگ باکس رو هم فعال دارم ولی بازم خودش فعال نمیشه..
ارور های توی لاگ

Apr 14 13:30:53 incandescent-berry1.aeza.network /usr/local/s-ui/sui[24939]: WARNING - Get stats failed: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 127.0.0.1:1080: connect: connection refused"

Apr 14 13:28:02 incandescent-berry1.aeza.network runSingbox.sh[30714]: /home/runner/go/pkg/mod/github.com/sagernet/[email protected]/common/task/task.go:91 +0x107
Apr 14 13:28:02 incandescent-berry1.aeza.network runSingbox.sh[30714]: created by github.com/sagernet/sing/common/task.(*Group).RunContextList in goroutine 5288515
Apr 14 13:28:02 incandescent-berry1.aeza.network runSingbox.sh[30714]: /home/runner/go/pkg/mod/github.com/sagernet/[email protected]/common/task/task.go:75 +0x198

@m3hdiclub m3hdiclub added the bug Something isn't working label Apr 14, 2024
@alireza0
Copy link
Owner

درود بر شما
این مشکل مربوط به هسته است و باید برای اون مخزن گزارش کنید.
لاگهای ارسالی مربوط به سرویس s-ui هست و نمیتونه مشکل رو نشون بده.
برای گرفتن لاگهای sing-box باید از دستور زیر استفاده کنید:

journalctl -u sing-box

@alireza0 alireza0 added question Further information is requested and removed bug Something isn't working labels Apr 15, 2024
@m3hdiclub
Copy link
Author

درود بر شما این مشکل مربوط به هسته است و باید برای اون مخزن گزارش کنید. لاگهای ارسالی مربوط به سرویس s-ui هست و نمیتونه مشکل رو نشون بده. برای گرفتن لاگهای sing-box باید از دستور زیر استفاده کنید:

journalctl -u sing-box

gbox.sh[30714]: INFO[2162888] [2224493178 0ms] inbound/tuic[tuic]: [Alipour] inbound connection to 31.13.72.52>gbox.sh[30714]: INFO[2162888] [2224493178 0ms] outbound/direct[direct]: outbound connection to 31.13.72.52:443
gbox.sh[30714]: panic: runtime error: invalid memory address or nil pointer dereference
gbox.sh[30714]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x818b05]
gbox.sh[30714]: goroutine 5288517 [running]:
gbox.sh[30714]: github.com/sagernet/sing/common/buf.(*Buffer).Len(...)
gbox.sh[30714]: /home/runner/go/pkg/mod/github.com/sagernet/[email protected]/common/buf/buffer.go:327
gbox.sh[30714]: github.com/sagernet/sing/common/bufio.copyPacketWaitWithPool({0x7fde901947e8, 0xc000c87590}, {>gbox.sh[30714]: /home/runner/go/pkg/mod/github.com/sagernet/[email protected]/common/bufio/copy_direct.go:72>gbox.sh[30714]: github.com/sagernet/sing/common/bufio.CopyPacket({0x7fde901947c8?, 0xc0011730c0?}, {0x7fde9019>gbox.sh[30714]: /home/runner/go/pkg/mod/github.com/sagernet/[email protected]/common/bufio/copy.go:240 +0x448gbox.sh[30714]: github.com/sagernet/sing/common/bufio.CopyPacketConnContextList.func2({0x140e348?, 0xc00505b09>gbox.sh[30714]: /home/runner/go/pkg/mod/github.com/sagernet/[email protected]/common/bufio/copy.go:331 +0x68
gbox.sh[30714]: github.com/sagernet/sing/common/task.(*Group).RunContextList.func1()
gbox.sh[30714]: /home/runner/go/pkg/mod/github.com/sagernet/[email protected]/common/task/task.go:91 +0x107
gbox.sh[30714]: created by github.com/sagernet/sing/common/task.(*Group).RunContextList in goroutine 5288515
gbox.sh[30714]: /home/runner/go/pkg/mod/github.com/sagernet/[email protected]/common/task/task.go:75 +0x198

این ارور رو میده استاد

@alireza0
Copy link
Owner

باگ هسته است و میتونید براشون گزارش کنید.
البته ممکنه از نسخه بعد از اینی که داریم استفاده میکنیم حل شده باشه.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants