Shadowsocks inbound fails to initialize timeFunc properly due to NTP server startup order #2363
Open
4 of 5 tasks
Labels
bug
Something isn't working
Operating system
Linux
System version
Debian 12.8
Installation type
Original sing-box Command Line
If you are using a graphical client, please provide the version of the client.
No response
Version
Description
The timeFunc for the Shadowsocks inbound is supposed to retrieve its value from the NTP server when it is created.
sing-box/protocol/shadowsocks/inbound.go
Line 80 in d2f5109
However, the timeFunc is always nil because the inbound creation process occurs before the NTP server is started.
sing-box/box.go
Lines 170 to 273 in d2f5109
Reproduction
Logs
No response
Supporter
Integrity requirements
The text was updated successfully, but these errors were encountered: