Code Monkey home page Code Monkey logo

Comments (10)

imjuzcy avatar imjuzcy commented on July 1, 2024 1

Hosting on a VPS? Reddit blacklists data centre IPs

from glance.

Iliannnn avatar Iliannnn commented on July 1, 2024

Put the page in an HTML viewer:
image

from glance.

imjuzcy avatar imjuzcy commented on July 1, 2024

This could be solved by implementing OAuth2 for the Reddit API access with user's own client_id and client_secret

from glance.

Iliannnn avatar Iliannnn commented on July 1, 2024

Hosting on a VPS? Reddit blacklists data centre IPs

Yep.

from glance.

Iliannnn avatar Iliannnn commented on July 1, 2024

This could be solved by implementing OAuth2 for the Reddit API access with user's own client_id and client_secret

Does Glance have an option for doing that?

from glance.

imjuzcy avatar imjuzcy commented on July 1, 2024

This could be solved by implementing OAuth2 for the Reddit API access with user's own client_id and client_secret

Does Glance have an option for doing that?

No, it's not implemented yet. In the meantime, if you have a commercial VPN subscription, you could use the IPs from them by tunnelling the traffic from Glance through them. IPs from commercial VPNs seem to be working.

from glance.

Iliannnn avatar Iliannnn commented on July 1, 2024

This could be solved by implementing OAuth2 for the Reddit API access with user's own client_id and client_secret

Does Glance have an option for doing that?

No, it's not implemented yet. In the meantime, if you have a commercial VPN subscription, you could use the IPs from them by tunnelling the traffic from Glance through them. IPs from commercial VPNs seem to be working.

I do, I will do that. Thanks!

from glance.

svilenmarkov avatar svilenmarkov commented on July 1, 2024

Thanks for offering some insight @imjuzcy, it would've taken me a while to figure out that it's a VPS issue.

This could be solved by implementing OAuth2 for the Reddit API access with user's own client_id and client_secret

Would this not also require having to supply your account's username and password in order to avoid having to authorize manually every time you start Glance since no data is persisted?

from glance.

imjuzcy avatar imjuzcy commented on July 1, 2024

Would this not also require having to supply your account's username and password in order to avoid having to authorize manually every time you start Glance since no data is persisted?

I'm not sure that you can do this automated at all, even if username and password is provided. To get the access token, the user will need to click through a web browser. I think the requirement of having a persistent file to record the access token is unavoidable if OAuth is to be implemented.

from glance.

svilenmarkov avatar svilenmarkov commented on July 1, 2024

I'll close this as there is now a workaround using the request-url-template property which allows you to route the requests through an HTTP proxy:

- type: reddit
  request-url-template: https://your-proxy.com/{REQUEST-URL}

from glance.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.