Can you help me decipher this rather esoteric error? Everything\'s fine when I fire up the application, but crashes the moment I try to login
.
Your program is trying to add a row to some logging table with empty remote IP. I suppose that when you use reverse proxy the program doesn't know the remote IP, as it's shadowed by proxy's IP.
As it's empty I suppose the program is trying to ignore proxy's IP, but it does not find any better. It should use X-Forwarded-For
header.
If there's no reasonable IP to log, the program should simply log "NULL" as the IP.