Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Support HTTPS_PROXY env var for outbound proxy config #4198

@Gribou

Description

@Gribou

Description

When using homeserver behind a corporate proxy, synapse python don't use proxy global variable.
So when put request to matrix.org are send there's a timeout connection.


INFO - httppush.process-16 - Error sending request to POST https://matrix.org/_matrix/push/v1/notify: TimeoutError
2018-11-18 09:26:55,016 - synapse.push.httppusher - 339 - WARNING - httppush.process-16 - Failed to push event $15424483970iGDrt:synapse.mycompagny.fr to @john.doe:synapse.mycompagny.fr/im.vector.app.ios.voip.prod/aQ/0cQk1HFOF2GkU/8Z9k66ZgImmNU4gVFU431tYsLc=
Traceback (most recent call last):
File "/root/.synapse/lib/python2.7/site-packages/synapse/push/httppusher.py", line 335, in dispatch_push
resp = yield self.http_client.post_json_get_json(self.url, notification_dict)
TimeoutError: User timeout caused connection failure.

.


Metadata

Metadata

Assignees

Labels

z-p2(Deprecated Label)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions