You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered problems running import_logs.py as the script's requests were rejected with a 403 Forbidden error. Of course this was a configuration issue on my part: specifically, Cloudflare was blocking requests with missing User-Agent headers. It might also have been Apache, Nginx, or some other software. I would suggest that since there are so many pieces of software that may block requests, and since well-behaved software should provide a User-Agent, that import_logs.py should provide the headers. I'm attaching a trivial patch.
Keywords: import_logs, 403, forbidden
The text was updated successfully, but these errors were encountered:
I encountered problems running import_logs.py as the script's requests were rejected with a 403 Forbidden error. Of course this was a configuration issue on my part: specifically, Cloudflare was blocking requests with missing User-Agent headers. It might also have been Apache, Nginx, or some other software. I would suggest that since there are so many pieces of software that may block requests, and since well-behaved software should provide a User-Agent, that import_logs.py should provide the headers. I'm attaching a trivial patch.
Keywords: import_logs, 403, forbidden
The text was updated successfully, but these errors were encountered: