Closed diesphink closed 3 months ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
Empty stock overview when croped html is received (no javascript is processed in this case):
Image showing the network error and cropped html:
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.
I'll look into this and see if I can reproduce the issue and resolve.
Afraid I've not been able to reproduce this, possibly as I am not using (or have access to) Synology kit.
There are warnings in the logs about non standard configurations... may be worth trying to get things as close to standard as possible and try again. Given we've had no other reports of this, I am afraid we'll need to close this off for now but if you want to work on it a bit more, Discord may be the best place to stop by.
Is there an existing issue for this?
Current Behavior
After a day or two running the server, the stock overview don't load relevant information, leaving no javascript console error, or anything.
After some investigation and the help of berrnd at r/grocy (https://www.reddit.com/r/grocy/comments/189ek5q/empty_stock_overview/), the culprit was determined to be a
NS_ERROR_NET_PARTIAL_TRANSFER
, randomly cropping the received html.I have been able to fix it by changing the
gzip_vary
parameter on nginx tooff
.Expected Behavior
No response
Steps To Reproduce
Environment
CPU architecture
x86-64
Docker creation
Container logs