Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in job.py #3317

Closed
omardimarzio opened this issue Nov 24, 2022 · 6 comments
Closed

error in job.py #3317

omardimarzio opened this issue Nov 24, 2022 · 6 comments

Comments

@omardimarzio
Copy link

Good morning.
For a few days now, the system that deals with timed operations has been sending out alerts almost daily.


twisted.web._newclient.ResponseNeverReceived
A L{ResponseFailed} that knows no response bytes at all have been received.

Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/globaleaks/jobs/job.py", line 49, in run
yield self.operation()

twisted.web._newclient.ResponseNeverReceived: [<twisted.python.failure.Failure twisted.internet.error.ConnectionLost: Connection to the other side was lost in a non-clean fashion: Connection lost.>]


what is "Connection to the other side"?
Is it a bug? What can I do about it?

@evilaliv3
Copy link
Member

Hello @omardimarzio

I think that those exception were related to a downtime on our repository when your system tried to check for an update.

you can safely ignore this exception.

@agrr
Copy link

agrr commented Jan 20, 2023

I have a problem similar to this:
when starting Globaleaks (v 4.10.14) I get spammed with a lot of emails with the following error message:

twisted.web._newclient.ResponseNeverReceived
    A L{ResponseFailed} that knows no response bytes at all have been received.

Traceback (most recent call last):

  File "/usr/lib/python3/dist-packages/globaleaks/jobs/job.py", line 49, in run
    yield self.operation()

twisted.web._newclient.ResponseNeverReceived: [<twisted.python.failure.Failure twisted.internet.error.ConnectionLost: Connection to the other side was lost in a non-clean fashion: Connection lost.>]

I disabled the e-mails by setting the smtp_server to localhost but this obviously breaks the useful e-mails that the platform may need to send to my recipients...

Is it the update check that's failing on startup?

@evilaliv3
Copy link
Member

Thank you for your feedback @agrr

Which is the period of the email that you are receiving?
If it is hourly probably this is related to the hourlty checks to verify if a new globaleaks release is available.
Maybe you firewall is blocking connections to deb.globaleaks.org?

@agrr
Copy link

agrr commented Jan 23, 2023

I was receiving a lot of e-mails within minutes of starting up GlobalLeaks. It doesn't seem consistent with an hourly check.
And no, I don't have firewall rules to block outgoing connections.

@evilaliv3
Copy link
Member

Are you still encountering this issue @agrr ?

@agrr
Copy link

agrr commented Feb 3, 2023

After upgrading Globaleaks to v 4.10.17 this issue is fixed and I was able to re-enable e-mail sending.

Thank you @evilaliv3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants