Panic on use of closed or nonexistent connection

Hey guys,

Haven’t been here in a while; that’s how stable and nice Syncthing has been for me. Since the 0.14 upgrade, however, one of my Syncthing servers keeps crashing, and I wondered if maybe this is a bug. It’s persisted through 0.14.0 to 0.14.3. Here is the relevant portion of the logs:

Jul 29 06:27:02 ds9 syncthing[8856]: [N5SUI] INFO: Device QUWJGTA-3YVKJZD-PCH24FD-ZLFDZZR-NZTNKFZ-YY7RV5F-RCAKEOY-UJLEKA7 folder "afc-share" is delta index compatible (mlv=290098)
Jul 29 06:27:02 ds9 syncthing[8856]: [N5SUI] INFO: Connection to QUWJGTA-3YVKJZD-PCH24FD-ZLFDZZR-NZTNKFZ-YY7RV5F-RCAKEOY-UJLEKA7 closed: switching connections
Jul 29 06:27:02 ds9 syncthing[8856]: [N5SUI] INFO: Established secure connection to QUWJGTA-3YVKJZD-PCH24FD-ZLFDZZR-NZTNKFZ-YY7RV5F-RCAKEOY-UJLEKA7 at 192.168.45.2:22000-75.108.221.93:62122 (TCP (Server))
Jul 29 06:27:02 ds9 syncthing[8856]: [N5SUI] INFO: Device QUWJGTA-3YVKJZD-PCH24FD-ZLFDZZR-NZTNKFZ-YY7RV5F-RCAKEOY-UJLEKA7 client is "syncthing v0.14.3" named "some-machine-redacted"
Jul 29 06:27:02 ds9 syncthing[8856]: [N5SUI] INFO: Connection to QUWJGTA-3YVKJZD-PCH24FD-ZLFDZZR-NZTNKFZ-YY7RV5F-RCAKEOY-UJLEKA7 closed: reading length: read tcp 192.168.45.2:33848->199.15.254.138:443: use of closed network connection
Jul 29 06:27:02 ds9 syncthing[8856]: panic: bug: ClusterConfig called on closed or nonexistent connection
Jul 29 06:27:02 ds9 syncthing[8856]: goroutine 233939 [running]:
Jul 29 06:27:02 ds9 syncthing[8856]: panic(0xa842c0, 0xc826a65e20)
Jul 29 06:27:02 ds9 syncthing[8856]: /usr/local/go/src/runtime/panic.go:481 +0x3e6

Anybody have any idea what could be causing this?

What does the other side say for the same time?

Boy, that’s going to be tough: it’s an extremely non-technical user on a Mac across the country (US) from me. I’ll try to get this info and get back to you. But it’s very likely this user that’s causing the problem on my system. I woke up this morning to Syncthing crashed on my server again, with the same log messages from the same user.

1 Like

Well, it’s a bug so it’s neither of your fault. I’m just looking for more info to narrow down and solve it as I’m currently not really sure how it happens.

Actually I have an idea so we don’t need those other side logs I think. :thumbsup:

Great! It would have required a lot of coaching in different time zones so there would have been lots of delay in getting them, if we were successful at all. :-p

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.