osm-relatify icon indicating copy to clipboard operation
osm-relatify copied to clipboard

Can't load relation: "TypeError: Content-Length header of network response exceeds response Body."

Open MapperGaja opened this issue 10 months ago • 4 comments
trafficstars

When loading a relation I usually get the "TypeError: Content-Length header of network response exceeds response Body." error message in Firefox and only occasionally (about 1 out of 8 times) can I load it. For Chromium based browsers (Chrome, Edge, Opera) and Vivaldi the error message is always "TypeError: Failed to fetch".

MapperGaja avatar Jan 18 '25 21:01 MapperGaja

I restarted the web server, maybe that will help. Does it happen for any relation?

Zaczero avatar Jan 18 '25 21:01 Zaczero

Thank you, but the issue is same. But... I observed that this error message comes when I use many tabs (over 20 with Firefox, or 6-8 with Chrome). With few (1-2) tabs it works properly. Could this be a memory problem?

MapperGaja avatar Jan 19 '25 00:01 MapperGaja

Honestly no idea. A few possible problems out of my head:

  • Memory, probable but would likely cause many other issues with your device.
  • Antivirus/something on your network scanning and accidentally corrupting requests.
  • Browser version/extensions, unlikely since you have tested it on several browsers.

I think your best bet would be to try it on another device on the same network to see if the issue persists. If it does, then it's likely something with your network (or your internet provider). If it doesn't, then it's likely something with your original device. Or perhaps it's caused by something completely different -- probable because an issue with network/device would affect other websites too. Very odd.

Zaczero avatar Jan 21 '25 23:01 Zaczero

Thank you for information. I will test it more, maybe I can find a reason for this message.

MapperGaja avatar Jan 22 '25 08:01 MapperGaja