[clamav-users] Clamav-safebrowsing failing
James Brown
jlbrown at bordo.com.au
Fri Jul 2 09:38:35 UTC 2021
> On 2 Jul 2021, at 7:19 pm, G.W. Haywood via clamav-users <clamav-users at lists.clamav.net> wrote:
>
> Hi there,
>
> On Fri, 2 Jul 2021, James Brown via clamav-users wrote:
>
>> ...
>> Just tried it again and it worked:
>> …
I spoke too soon. Just timed out again. Last log lines were:
2021-07-02 19:30:33,539 DEBUG:UpdateClient:add b'0d5f1ddd'
2021-07-02 19:30:33,550 DEBUG:UpdateClient:add b'0d646934'
2021-07-02 19:30:33,553 DEBUG:googleapiclient.discovery:URL being requested: POST https://safebrowsing.googleapis.com/v4/fullHashes:find?key=AIzaSyTheRestOfMyKeyc&alt=json
and Terminals said:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/httplib2/__init__.py", line 1376, in _conn_request
response = conn.getresponse()
File "/usr/local/Cellar/python at 3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1345, in getresponse
response.begin()
File "/usr/local/Cellar/python at 3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 307, in begin
version, status, reason = self._read_status()
File "/usr/local/Cellar/python at 3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 276, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/me/Downloads/clamav-safebrowsing-master/clamsbsync.py", line 599, in <module>
client.Sync()
File "/Users/me/Downloads/clamav-safebrowsing-master/clamsbsync.py", line 518, in Sync
self._handle_additions(session, listobj, list_update['additions'])
File "/Users/me/Downloads/clamav-safebrowsing-master/clamsbsync.py", line 419, in _handle_additions
hashes = self._retrieve_fullhashes([listobj], prefixset)
File "/Users/me/Downloads/clamav-safebrowsing-master/clamsbsync.py", line 104, in _retrieve_fullhashes
gapi_resp = self.gapi.get_full_hashes(listobjs, prefix_set)
File "/Users/me/Downloads/clamav-safebrowsing-master/clamsb/googleapi.py", line 69, in get_full_hashes
response = self._service.fullHashes().find(body=request_body).execute()
File "/usr/local/lib/python3.9/site-packages/googleapiclient/_helpers.py", line 134, in positional_wrapper
return wrapped(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/googleapiclient/http.py", line 920, in execute
resp, content = _retry_request(
File "/usr/local/lib/python3.9/site-packages/googleapiclient/http.py", line 222, in _retry_request
raise exception
File "/usr/local/lib/python3.9/site-packages/googleapiclient/http.py", line 191, in _retry_request
resp, content = http.request(uri, method, *args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/httplib2/__init__.py", line 1708, in request
(response, content) = self._request(
File "/usr/local/lib/python3.9/site-packages/httplib2/__init__.py", line 1424, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/usr/local/lib/python3.9/site-packages/httplib2/__init__.py", line 1385, in _conn_request
conn.connect()
File "/usr/local/lib/python3.9/site-packages/httplib2/__init__.py", line 1136, in connect
sock.connect((self.host, self.port))
socket.timeout: timed out
So Google gets bored with me and hangs up?
Very hard to work out what is going on when you only see one side!
James.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20210702/cc6773da/attachment.htm>
More information about the clamav-users
mailing list