Skip to content
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

Auth2.0 setup failure: curl: (6) Could not resolve host: www.googleapis.com #6

Open
denven opened this issue Nov 30, 2020 · 0 comments

Comments

@denven
Copy link
Collaborator

denven commented Nov 30, 2020

sh /tmp/sd/yi-hack/gdrive/GDriveConf

Phenomenon
My google drive api requests all failed on my device today, no response at all;
I didn't figure out the reason; so I tried to use this script to setup google drive credentials for another time.

When I come to the auth2.0 setup:

Put this link into your browser:
https://accounts.google.com/o/oauth2/v2/auth?scope=https://www.googleapis.com/auth/drive&state=state&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=code&client_id=295424722600-8jssdfsfsdfsdooiwoewlljk.apps.googleusercontent.com&access_type=offline

Copy and paste your code here:
4/1AY0e-g58RXEY6cH4Df1QWJMiCNKYvVeKdPW9ijbGZ17SkFEA6X0mFnX39xH0
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: www.googleapis.com

Analysis:
ping 8.8.8.8 is reachable, but ping any valid domain is not working, returns bad address.

The reboot cannot fix this.

Some people said that the problem is with busybox

Memo:
Just put a record here, I may need to reset the network of my device, if anyone or I find a fix, please reply it here.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant