Can not connect due to aiohttp error: Got more than 8190 bytes when reading Header value is too long
Closed this issue · 2 comments
hguanyao commented
Hello
Not sure if this is something solvable. I try to run hangups from company network and got that error.
2019-02-28 22:32:57,004 - hangups.http_utils - INFO - Request attempt 0 failed: Request connection error: 400, message='Got more than 8190 bytes (9978) when reading Header value is too long.'
2019-02-28 22:32:57,415 - hangups.http_utils - INFO - Request attempt 1 failed: Request connection error: 400, message='Got more than 8190 bytes (9980) when reading Header value is too long.'
2019-02-28 22:32:57,823 - hangups.http_utils - INFO - Request attempt 2 failed: Request connection error: 400, message='Got more than 8190 bytes (9984) when reading Header value is too long.'
or
2019-02-28 22:52:32,677 - hangups.channel - WARNING - Long-polling request failed: Request connection error: 400, message='Got more than 8190 bytes (9980) when reading Header value is too long.'
Maybe our company did something. From rckclmbr/pyportify#117 this seems unsolvable. Let me know otherwise.
Thanks a lot.
tdryer commented
Assuming your network is inserting a large HTTP header into the response, I don't see a way to work around that.
EionRobb commented
We had this same issue in purple-hangouts and we had to bump the max-header-size to resolve it
https://bitbucket.org/EionRobb/purple-hangouts/issues/181 https://bitbucket.org/EionRobb/purple-hangouts/commits/2afe123503a1 - something to do with large cookies in the response headers