How to fix xqueue ConnectionError?

(version: Juniper.master native install)
I found an error in /edx/var/log/supervisor/certs-stderr.log.
How to fix this error ?

The log show as below:

PdfReadWarning: Xref table not zero-indexed. ID numbers for objects will not be corrected. []
Traceback (most recent call last):
File “/edx/app/certs/certificates/”, line 183, in
File “/edx/app/certs/certificates/”, line 60, in main
if manager.get_length() == 0:
File “/edx/app/certs/certificates/openedx_certificates/”, line 56, in get_length
self.url), params={‘queue_name’: self.queue_name})
File “/edx/app/certs/venvs/certs/local/lib/python2.7/site-packages/requests/”, line 546, in get
return self.request(‘GET’, url, **kwargs)
File “/edx/app/certs/venvs/certs/local/lib/python2.7/site-packages/requests/”, line 533, in request
resp = self.send(prep, **send_kwargs)
File “/edx/app/certs/venvs/certs/local/lib/python2.7/site-packages/requests/”, line 646, in send
r = adapter.send(request, **kwargs)
File “/edx/app/certs/venvs/certs/local/lib/python2.7/site-packages/requests/”, line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host=‘localhost’, port=18040): Max retries exceeded with url: /xqueue/get_queuelen/?queue_name=certificates (Caused by NewConnectionError(’<urllib3.connection.HTTPConnection object at 0x7fb4b8449bd0>: Failed to establish a new connection: [Errno 111] Connection refused’,))

1 Like

I’m having the same issue, does someone have a solution for this?
HTML certs are working fine, but PDF certificates causing a real issue.