GreaterWMS / GreaterWMS

This Inventory management system is the currently Ford Asia Pacific after-sales logistics warehousing supply chain process . After I leave Ford , I start this project . You can share your vacant warehouse space, use it for those in need, and generate income
https://www.56yhz.com/
Apache License 2.0
3.68k stars 942 forks source link

[BUG] Server Error(500) #352

Closed killlowkey closed 4 months ago

killlowkey commented 4 months ago

When using an ipv6 address to access the wms system, a Server Error 500 error will occur. Looking at the cause of the system error, the troubleshooting is that the ip field in the throttle table is too short, resulting in records that cannot be inserted. The length of the ip field needs to be increased.

https://github.com/GreaterWMS/GreaterWMS/blob/d0dc20ecf587f5575a86341f2cc81c4517b785af/throttle/models.py#L3-L15

image

After manually adjusting the IP field length to 255, the system runs normally. image

Singosgu commented 4 months ago

ok , tks , we will fix it