-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RSS Feed] Error 403 on accessible public feeds #8736
Comments
Same issue here. |
Maybe a problem of user agent? @romain-filigran @nino-filigran maybe critical? |
@SamuelHassine: Not only a user-agent issue from my investigation, more complicated depending on the RSS source. Need to test which one is working with an external RSS tool to identify the problem. |
it seems this issue appeared on my instance 3 days ago after adding the RSS darkreading feed. |
Any news @romain-filigran @nino-filigran ? |
None @SamuelHassine we've increased priority to ensure it's looked over by devs. So far it seems sepcific to some RSS feeds & therefore the solution not straightforward, but we need to investigate. |
Update: RSS feed works fine when removing the AxiosAgent from request. I think the best is to have an option to use agent or not, but we will have to rebuild the proxy option when AxiosAgent is not use, something like (from https://axios-http.com/docs/req_config ):
As side note changes in this PR could help in the "no agent" use case #6451 |
I found an interesting issue on an other project related to the same problem we have: FreshRSS/FreshRSS#6533. It looks like the 403 errors come from a Cloudflare misconfiguration on the RSS server side rather than it being a problem on our client side. |
Just for the record -> Another issue that could be related: #8968 |
We will be closing both issues, as there is no proper way on our side to fix accessing a feed protected by Cloudflare. |
Are we sure we cannot do anything on our side? |
We could try making the user agent configurable in UI as advance configuration or in JSON/env configuration, in order to have different user agent per instance if several opencti in the same network. |
I was wondering if RSS feeds are not called too frequently also, but this would require to rework ingestion manager because all feed have the same frequency of http request call. For example we could have a parameter min time between calls (like 10 min) and skip the feed until this min time is not reached. |
Reading cloudflare documentation it's possible to know that it's a cloudflare challenge, so we can also have a dedicated error checking presence of header cf-mitigated |
For the record, https://cybersecurity.att.com/site/blog-all-rss is now moved to https://levelblue.com/site/blog-all-rss |
…S Feed contents (#8736) Co-authored-by: Jeremy Cloarec <[email protected]>
Description
Some RSS feeds return errors 403 even though the links are public and accessible.
Examples:
Environment
OCTI 6.3.6
Reproducible Steps
Steps to create the smallest reproducible scenario:
Expected Output
Ingestion of the RSS feed
Actual Output
Error 403
Screenshots
The text was updated successfully, but these errors were encountered: