Replies: 1 comment 3 replies
-
There are already several posts here about this problem, specifically with Digital Ocean. I'm pretty confident Ring blocks requests from their IP blocks just like they do from many VPN services. Digital Ocean has a pretty poor reputation in the security world as there are many known attacks launched from their services so it makes a lot of sense that Ring would block them as there's pretty much zero reason for Ring to expect any app connections from there. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
HOME: ring-auth-cli
When I run:
npx -p ring-client-api ring-auth-cli
from my home machine everything works great!
Prompts for username, pass, sends off text message with 2FA and once it accepts the 2FA that I type in, it generates a refresh token. HUZZAH!
DIGITAL OCEAN: ring-auth-cli
But I want to run a service that can accept requests 24/7 outside the home to do things (on my account only) and have been setting up an account on Digital Ocean.
Run: npx -p ring-client-api ring-auth-cli
And get back:
HOME: CURL REQUEST
Try using normal curl request from home and it works:
curl -i -X POST https://oauth.ring.com/oauth/token \ -H "Content-Type: application/json" \ -d '{ "client_id": "ring_official_android", "grant_type": "password", "username": "<actualemailaddress@gmail.com>", "password": "<actual_password>", "scope": "client" }'
DIGITAL OCEAN: CURL REQUEST
curl -i -X POST https://oauth.ring.com/oauth/token \ -H "Content-Type: application/json" \ -d '{ "client_id": "ring_official_android", "grant_type": "password", "username": "<actualemailaddress@gmail.com>", "password": "<actual_password>", "scope": "client" }'
Response:
So I am wondering if Ring knows what my IP / city SHOULD be? I haven't gone to the lengths of using a VPN to make the requests yet but does anyone have any idea what is going on?
Originally tried getting this work on an A2 and Glitch server but they were too underpowered to actually send off the AUTH request so been banging on this issue for awhile now. Got a beefier DO instance with Node and npm matching what I have at home working and no joy.
Once I saw that regular curl request though weren't working figured it had to be location.
HOME: CURL VERSION
DIGITAL OCEAN: CURL VERSION
Any help would be great appreciated!!
Beta Was this translation helpful? Give feedback.
All reactions