make sure that the KV namespaces are produced for staging/production environments and are configured in wrangler.toml.
there is a common false impression that IP grabbers are illegal, Nevertheless they're really not. https://gorillasocialwork.com/story19123833/the-2-minute-rule-for-can-you-find-ip-from-discord