-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Can't connect to the reddit #75
Comments
Hello @GwynbleiddI, Thank you for reporting this issue. After reviewing the logs, it's seems that the requests to Reddit are being denied, resulting in a
To assist us in resolving this issue, could you please confirm if you can access the following URL from your regular browser: https://www.reddit.com/user/ASFinfo.json?sort=new I will keep this issue open to collect more information and determine if this is affecting other users as well. Best regards, |
Really the problem was address blocking. My AFS is located on remote servers in the Netherlands. Connecting to a VPN solved the problem. |
First of all, thank you very much for the excellent work on this plugin. I'd like to suggest a new feature that I think could benefit many users: the option to use a proxy for Reddit requests. Currently, some of us are looking at ASF on VPS whose IP is blocked by Reddit, preventing the plugin from working properly. Adding an option to configure a proxy will allow you to bypass these restrictions and improve the accessibility of the plugin from different hosting environments. I appreciate your attention and consideration for this request. |
Hello, I am the developer of the bot you are parsing https://github.com/C4illin/ASFinfo Maybe you could use https://gist.github.com/C4illin/77a4bcb9a9a7a95e5f291badc93ec6cd instead, it's the same data as posted on reddit. |
Hey guys, Thanks for your comments! @kaiserdj - You're welcome. @C4illin - Thanks for reaching out and offering your work! I trully appreciate you maintaining the ASFinfo bot. Additional Ideas
In summary:
I'll keep this issue updated as I make progress. |
This commit introduces proxy support for Reddit requests within the ASFFreeGames plugin, addressing issues #75 #76. Users can now configure proxies for both general and Reddit-specific connections through the Proxy and RedditProxy settings in ASFFreeGamesOptions.cs. Key changes: - ASFFreeGamesOptions.cs: Added properties Proxy and RedditProxy to support proxy configuration for general and Reddit connections respectively. - ASFFreeGamesOptionsLoader.cs: Updated to load proxy settings from configuration and environment variables. - FreeGamesCommand.cs: Modified GetGames to utilize SimpleHttpClientFactory and its CreateForReddit method, enabling the use of the configured Reddit proxy. - RedditHelper.cs: Replaced WebBrowser usage with SimpleHttpClient for Reddit communication, allowing proxy support. These improvements enhance the plugin's flexibility by allowing users to leverage proxy servers for Reddit interactions.
2024-05-23 20:41:40|ArchiSteamFarm-22808|DEBUG|ASF|InternalRequest() Forbidden <- GET https://www.reddit.com/user/ASFinfo.json?sort=new
2024-05-23 20:41:40|ArchiSteamFarm-22808|WARN|ASF|UrlGetToStream() Запрос окончился неудачей после 1 попыток!
2024-05-23 20:41:40|ArchiSteamFarm-22808|DEBUG|ASF|UrlGetToStream() Запрос не удался: https://www.reddit.com/user/ASFinfo.json?sort=new
2024-05-23 20:41:41|ArchiSteamFarm-22808|DEBUG|ASF|InternalRequest() Forbidden <- GET https://www.reddit.com/user/ASFinfo.json?sort=new
2024-05-23 20:41:41|ArchiSteamFarm-22808|WARN|ASF|UrlGetToStream() Запрос окончился неудачей после 1 попыток!
2024-05-23 20:41:41|ArchiSteamFarm-22808|DEBUG|ASF|UrlGetToStream() Запрос не удался: https://www.reddit.com/user/ASFinfo.json?sort=new
2024-05-23 20:41:42|ArchiSteamFarm-22808|DEBUG|ASF|InternalRequest() Forbidden <- GET https://www.reddit.com/user/ASFinfo.json?sort=new
2024-05-23 20:41:42|ArchiSteamFarm-22808|WARN|ASF|UrlGetToStream() Запрос окончился неудачей после 1 попыток!
2024-05-23 20:41:42|ArchiSteamFarm-22808|DEBUG|ASF|UrlGetToStream() Запрос не удался: https://www.reddit.com/user/ASFinfo.json?sort=new
2024-05-23 20:41:44|ArchiSteamFarm-22808|DEBUG|ASF|InternalRequest() Forbidden <- GET https://www.reddit.com/user/ASFinfo.json?sort=new
2024-05-23 20:41:44|ArchiSteamFarm-22808|WARN|ASF|UrlGetToStream() Запрос окончился неудачей после 1 попыток!
2024-05-23 20:41:44|ArchiSteamFarm-22808|DEBUG|ASF|UrlGetToStream() Запрос не удался: https://www.reddit.com/user/ASFinfo.json?sort=new
2024-05-23 20:41:47|ArchiSteamFarm-22808|DEBUG|ASF|InternalRequest() Forbidden <- GET https://www.reddit.com/user/ASFinfo.json?sort=new
2024-05-23 20:41:47|ArchiSteamFarm-22808|WARN|ASF|UrlGetToStream() Запрос окончился неудачей после 1 попыток!
2024-05-23 20:41:47|ArchiSteamFarm-22808|DEBUG|ASF|UrlGetToStream() Запрос не удался: https://www.reddit.com/user/ASFinfo.json?sort=new
2024-05-23 20:41:47|ArchiSteamFarm-22808|ERROR|ASF|CollectGames() Unable to load json from reddit RedditServerException: content is null
ASF:
ASF: v6.0.2.6
Plugin: v1.5.3
The text was updated successfully, but these errors were encountered: