Your message dated Wed, 21 May 2025 21:44:15 +0200
with message-id <[email protected]>
and subject line Razor reports "Couldn't parse server greeting"
has caused the Debian Bug report #597293,
regarding Razor reports "Couldn't parse server greeting"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
597293: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597293
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: razor
Version: 1:2.85-1

Since a few days razor repeatedly reports "Couldn't parse server greeting",
albeit surely not on every received message. All in all, things seem pretty
similar as reported at [1] 2 years ago. I tried to reproduce this on the command
line and in one of many tries I noticed:

...
Sep 18 15:45:38.912374 check[1656]: [ 5] Connecting to 
discovery.razor.cloudmark.com ...
Sep 18 15:45:39.106779 check[1656]: [ 8] Connection established
Use of uninitialized value $greeting in length at 
/usr/share/perl5/Razor2/Client/Core.pm line 1724.
Use of uninitialized value $greeting in concatenation (.) or string at 
/usr/share/perl5/Razor2/Client/Core.pm line 1724.
Sep 18 15:45:39.107054 check[1656]: [ 4] discovery.razor.cloudmark.com >> 0 
server greeting: 
...

whereas usually I see

Sep 18 15:50:18.097498 check[1714]: [ 5] Connecting to 
discovery.razor.cloudmark.com ...
Sep 18 15:50:18.273057 check[1714]: [ 8] Connection established
Sep 18 15:50:18.273236 check[1714]: [ 4] discovery.razor.cloudmark.com >> 35 
server greeting: sn=D&srl=589&a=1&a=cg&ep4=7542-10
Sep 18 15:50:18.273377 check[1714]: [ 4] discovery.razor.cloudmark.com << 12

Most likely this is just caused by server overload, but why not make the code
retry, say, 3 times if $greeting is undefined!?

Thanks a lot,
Michael

Attachment: pgpmKsOUfA7pN.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Michael Tautschnig wrote:
Most likely this is just caused by server overload, but why not make the code
retry, say, 3 times if $greeting is undefined!?

I don't think this would be a good idea. If the servers are overloaded,
making clients to retry 3 times would make them to be even more overloaded.

Also, if the servers are overloaded right now, the probability that they
remain overloaded in the next seconds will be very high as well.

(Sorry for the late reply, I've just adopted razor today).

Thanks.

--- End Message ---

Reply via email to