I want to build own dicover server, but I got above err message

Failed to load X509 key pair: open cert.pem: The system cannot find the file specified

my OS is Windows 2003 x64

anyone know what happend ??

For the new discovery server, you need a key pair. One can be created with syncthing -generate or you can use any “real” HTTPS certificate.

you mean I use syncthing to generate and copy to discover server directory ??

Each time I use syncthing -generate to create certificate are unique ?

I’ve create key.pem and cert.pen successefully, but another question raised the discosrv.exe show me message above… Is that right ?? (I mean error with invalid expression count(*))

Stats: 0.00 announces/s, 0.00 queries/s, 0.00 answers/s, 0.00 errors/s
stats query: 1:17 invalid expression COUNT(*)
Stats: 0.00 announces/s, 0.00 queries/s, 0.00 answers/s, 0.00 errors/s
stats query: 1:17 invalid expression COUNT(*)
Stats: NaN announces/s, NaN queries/s, NaN answers/s, NaN errors/s
stats query: 1:17 invalid expression COUNT(*)
Stats: NaN announces/s, NaN queries/s, NaN answers/s, NaN errors/s
stats query: 1:17 invalid expression COUNT(*)
Stats: NaN announces/s, NaN queries/s, NaN answers/s, NaN errors/s
stats query: 1:17 invalid expression COUNT(*)
Stats: NaN announces/s, NaN queries/s, NaN answers/s, NaN errors/s
stats query: 1:17 invalid expression COUNT(*)
Stats: NaN announces/s, NaN queries/s, NaN answers/s, NaN errors/s
stats query: 1:17 invalid expression COUNT(*)
Stats: 0.00 announces/s, 0.00 queries/s, 0.00 answers/s, 0.00 errors/s
stats query: 1:17 invalid expression COUNT(*)
Stats: 0.00 announces/s, 0.00 queries/s, 0.00 answers/s, 0.00 errors/s

and another question is when I setting the discosrv.exe I found the parameter is differ than parameters in document… !!!

see above picture… so what is correct parameters

If you are using the master branch, it uses the v0.12 protocol which hasn’t been released yet. Download one of the older releases from github.

So if I wannt more than 1 discover server , I should generate differ key for all of these server ???

The documents currently cover the v0.11 version of the discovery server. If you are using v0.11 clients, that’s what you should use.

The master / v0.12 version of the discovery server isn’t documented yet, as v0.12 hasn’t been released.

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