Hello all. I wanted to post here before logging a bug. I am trying to run stdiscosrv on a Raspberry Pi 4 revB. I have the latest image (as of this writing) of raspbian installed. I followed all the directions at https://apt.syncthing.net/ and all commands executed without issue. I have done apt update and upgrade on my system and all seems well. When I try to run stdiscosrv I get the below code that just repeats forever… what am I missing/doing wrong here? I have tried simply rebooting to see if it frees up the port (referencing the "address already in use within the error code), if the port being in use is indeed the real issue here…
pi@raspberrypi:/ $ sudo stdiscosrv stdiscosrv v1.8.0 “Fermium Flea” (go1.13.8 linux-arm) deb@build.syncthing.net 2020-08-07 06:09:12 UTC [noupgrade] Server device ID is [DEVICE ID OMITTED BY AUTHOR ON PURPOSE] Listen: listen tcp :8443: bind: address already in use Replication listen: listen tcp :19200: bind: address already in use Supervisor main: main: Failed service ‘&main.apiSrv{addr:“:8443”, cert:tls.Certificate{Certificate:uint8{uint8{0x30, 0x82, 0x1, 0x9c, 0x30, 0x82, 0x1, 0x22, 0xa0, 0x3, 0x2, 0x1, 0x2, 0x2, 0x8, 0x79, 0x60, 0xb6, 0xeb, 0xf3, 0xe8, 0xbe, 0x5, 0x30, 0xa, 0x6, 0x8, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x4, 0x3, 0x2, 0x30, 0x15, 0x31, 0x13, 0x30, 0x11, 0x6, 0x3, 0x55, 0x4, 0x3, 0x13, 0xa, 0x73, 0x74, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x73, 0x72, 0x76, 0x30, 0x1e, 0x17, 0xd, 0x32, 0x31, 0x30, 0x37, 0x31, 0x32, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x5a, 0x17, 0xd, 0x34, 0x31, 0x30, 0x37, 0x30, 0x37, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x5a, 0x30, 0x15, 0x31, 0x13, 0x30, 0x11, 0x6, 0x3, 0x55, 0x4, 0x3, 0x13, 0xa, 0x73, 0x74, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x73, 0x72, 0x76, 0x30,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xce, 0x3d, 0x4, 0x3, 0x2, 0x3, 0x68, 0x0, 0x30, 0x65, 0x2, 0x30, 0x60, 0x1, 0xe, 0x9, 0x8, 0xd3, 0x25, 0xad, 0xe7, 0xfd, 0x10, 0x92, 0x4, 0x81, 0x9c, 0x1e, 0x66, 0xb3, 0x66, 0x3c, 0x4, 0x1c, 0x7f, 0xbf, 0xb9, 0x99, 0x5d, 0x5c, 0xcd, 0x35, 0xfd, 0x38, 0x3c, 0x7f, 0x98, 0xec, 0x31, 0xd1, 0x47, 0x37, 0x71, 0xc9, 0xfa, 0xd1, 0xd9, 0xbe, 0xf9, 0x37, 0x2, 0x31, 0x0, 0xca, 0x31, 0xf2, 0x1d, 0x3, 0xaf, 0xbb, 0x4e, 0xe2, 0x1c, 0xa1, 0x24, 0x36, 0x97, 0x7a, 0x3d, 0x56, 0x27, 0x8e, 0x82, 0xff, 0xe1, 0x1d, 0x7a, 0xa0, 0x67, 0xbf, 0xa6, 0x60, 0x21, 0x87, 0xe2, 0x84, 0x38, 0xf2, 0x99, 0xf8, 0xa0, 0x8a, 0x54, 0xe2, 0xf9, 0x27, 0x71, 0x1e, 0xea, 0x9e, 0xe8}}, PrivateKey:(*ecdsa.PrivateKey)(0x2d04de0), OCSPStaple:uint8(nil), SignedCertificateTimestamps:uint8(nil), Leaf:(*x509.Certificate)(nil)}, db:(*main.levelDBStore)(0x2d66460), listener:net.Listener(nil), repl:main.replicationMultiplexer(nil), useHTTP:false, mapsMut:sync.Mutex{state:0, sema:0x0}, misses:map[string]int32{}}’ (1.000000 failures of 5.000000), restarting: true, error: “{%!s(*main.apiSrv=&{:8443 {[[48 130 1 156 48 130 1 34 160 3 2 1 2 2 8 121 96 182 235 243 232 190 5 48 10 6 8 42 134 72 206 61 4 3 2 48 21 49 19 48 17 6 3 85 4 3 19 10 115 116 100 105 115 99 111 115 114 118 48 30 23 13 50 49 48 55 49 50 48 48 48 48 48 48 90 23 13 52 49 48 55 48 55 48 48 48 48 48 48 90 48 21 49 19 48 17 6 3 85 4 3 19 10 115 116 100 105 115 99 111 115 114 118 48 118 48 16 6 7 42 134 72 206 61 2 1 6 5 43 129 4 0 34 3 98 0 4 215 159 242 162 220 219 116 249 88 66 197 199 105 220 57 89 1 212 63 109 214 38 96 187 175 87 253 35 72 58 119 115 45 106 92 59 238 62 129 109 187 133 19 252 29 27 169 123 70 22 102 157 68 218 179 180 245 170 254 43 98 116 218 72 209 53 13 90 115 211 112 25 81 175 153 223 23 92 36 159 244 140 60 15 61 252 112 170 233 81 163 9 55 93 101 11 163 63 48 61 48 14 6 3 85 29 15 1 1 255 4 4 3 2 5 160 48 29 6 3 85 29 37 4 22 48 20 6 8 43 6 1 5 5 7 3 1 6 8 43 6 1 5 5 7 3 2 48 12 6 3 85 29 19 1 1 255 4 2 48 0 48 10 6 8 42 134 72 206 61 4 3 2 3 104 0 48 101 2 48 96 1 14 9 8 211 37 173 231 253 16 146 4 129 156 30 102 179 102 60 4 28 127 191 185 153 93 92 205 53 253 56 60 127 152 236 49 209 71 55 113 201 250 209 217 190 249 55 2 49 0 202 49 242 29 3 175 187 78 226 28 161 36 54 151 122 61 86 39 142 130 255 225 29 122 160 103 191 166 96 33 135 226 132 56 242 153 248 160 138 84 226 249 39 113 30 234 158 232]] 0x2d04de0 } 0x2d66460 false {0 0} map}) &main.apiSrv{addr:":8443", cert:tls.Certificate{Certificate:uint8{uint8{0x30, 0x82, 0x1, 0x9c, 0x30, 0x82, 0x1, 0x22, 0xa0, 0x3, 0x2, 0x1, 0x2, 0x2, 0x8, 0x79, 0x60, 0xb6, 0xeb, 0xf3, 0xe8, 0xbe, 0x5, 0x30, 0xa, 0x6, 0x8, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x4, 0x3, 0x2, 0x30, 0x15, 0x31, 0x13, 0x30, 0x11, 0x6, 0x3, 0x55, 0x4, 0x3, 0x13, 0xa, 0x73, 0x74, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x73, 0x72, 0x76, 0x30, 0x1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, 0xa0, 0x30, 0x1d, 0x6, 0x3, 0x55, 0x1d, 0x25, 0x4, 0x16, 0x30, 0x14, 0x6, 0x8, 0x2b, 0x6, 0x1, 0x5, 0x5, 0x7, 0x3, 0x1, 0x6, 0x8, 0x2b, 0x6, 0x1, 0x5, 0x5, 0x7, 0x3, 0x2, 0x30, 0xc, 0x6, 0x3, 0x55, 0x1d, 0x13, 0x1, 0x1, 0xff, 0x4, 0x2, 0x30, 0x0, 0x30, 0xa, 0x6, 0x8, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x4, 0x3, 0x2, 0x3, 0x68, 0x0, 0x30, 0x65, 0x2, 0x30, 0x60, 0x1, 0xe, 0x9, 0x8, 0xd3, 0x25, 0xad, 0xe7, 0xfd, 0x10, 0x92, 0x4, 0x81, 0x9c, 0x1e, 0x66, 0xb3, 0x66, 0x3c, 0x4, 0x1c, 0x7f, 0xbf, 0xb9, 0x99, 0x5d, 0x5c, 0xcd, 0x35, 0xfd, 0x38, 0x3c, 0x7f, 0x98, 0xec, 0x31, 0xd1, 0x47, 0x37, 0x71, 0xc9, 0xfa, 0xd1, 0xd9, 0xbe, 0xf9, 0x37, 0x2, 0x31, 0x0, 0xca, 0x31, 0xf2, 0x1d, 0x3, 0xaf, 0xbb, 0x4e, 0xe2, 0x1c, 0xa1, 0x24, 0x36, 0x97, 0x7a, 0x3d, 0x56, 0x27, 0x8e, 0x82, 0xff, 0xe1, 0x1d, 0x7a, 0xa0, 0x67, 0xbf, 0xa6, 0x60, 0x21, 0x87, 0xe2, 0x84, 0x38, 0xf2, 0x99, 0xf8, 0xa0, 0x8a, 0x54, 0xe2, 0xf9, 0x27, 0x71, 0x1e, 0xea, 0x9e, 0xe8}}, PrivateKey:(*ecdsa.PrivateKey)(0x2d04de0), OCSPStaple:uint8(nil), SignedCertificateTimestamps:uint8(nil), Leaf:(*x509.Certificate)(nil)}, db:(*main.levelDBStore)(0x2d66460), listener:net.Listener(nil), repl:main.replicationMultiplexer(nil), useHTTP:false, mapsMut:sync.Mutex{state:0, sema:0x0}, misses:map[string]int32{}}} returned unexpectedly”, stacktrace: [unknown stack trace] Listen: listen tcp :8443: bind: address already in use Supervisor main: main: Failed service ‘replicationListener(“:19200”)’ (1.999989 failures of 5.000000), restarting: true, error: “{replicationListener(":19200") replicationListener(":19200")} returned unexpectedly”, stacktrace: [unknown stack trace] Replication listen: listen tcp :19200: bind: address already in use Listen: listen tcp :8443: bind: address already in use
Thanks, Chip