Logging issues with IPv6?
Posted: 26 Jul 2022, 21:08
Hi
Apologies if this was asked before, I browsed most of the recent topics and have not found an answer yet.
Using Phoca Download, Logging is enabled for both Down- and Upload.
Works fine for most users but with a few users we have an issue.
On download they receive the following error message:
Data too long for column 'ip' at row 1
The column ip in the database has a maximum length of 21, that does not fit with IPv6.
I could also reproduce when switching the connection on my mobile to "IPv6-only". With at least one cable internet provider here in Germany, the external IP is IPv6 only
Is this an known issue?
Any known solution?
Obvious workaround would be to switch of logging, but we what to track who downloaded what.
Any side effects, besides perhaps formatting on the Logging-Page, if I just increase the size of the column on the database?
regards
Armin
Apologies if this was asked before, I browsed most of the recent topics and have not found an answer yet.
Using Phoca Download, Logging is enabled for both Down- and Upload.
Works fine for most users but with a few users we have an issue.
On download they receive the following error message:
Data too long for column 'ip' at row 1
The column ip in the database has a maximum length of 21, that does not fit with IPv6.
I could also reproduce when switching the connection on my mobile to "IPv6-only". With at least one cable internet provider here in Germany, the external IP is IPv6 only
Is this an known issue?
Any known solution?
Obvious workaround would be to switch of logging, but we what to track who downloaded what.
Any side effects, besides perhaps formatting on the Logging-Page, if I just increase the size of the column on the database?
regards
Armin
