-
Notifications
You must be signed in to change notification settings - Fork 144
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
Unable to access verification v4.4 #190
Comments
Have you tried this script ? https://raw.githubusercontent.com/Akianonymus/google-drive-upload/master/release/bash/gupload If still not solved, then run with -D flag and send logs |
Doesn't work in the script you sent |
I don't see the It is creating a localhost server to grab the code from the browser. I will give you a new script with more debug options soon, for now run this python script and see if server is started successfully or not. from http.server import BaseHTTPRequestHandler, HTTPServer
class handler(BaseHTTPRequestHandler):
def do_GET(self):
self.send_response(200)
self.end_headers()
if "/?code" in self.path:
message = "Go back to command line"
self.wfile.write(bytes(message, "utf8"))
with HTTPServer(("", 8080), handler) as server:
server.handle_request() Copy this to a file, let's say a.py then, python a.py, a http server should Visit http://localhost:8080/?code=4/0AdQt8qi-y9VMjWL7SQAxdxlbvDZr9S6NN8gqE8_9LupN4R3Cvp-r5Vc0U2VE1hSy0cZoRQ&scope=https://www.googleapis.com/auth/drive and see if a page appears in browser. Also see what is the output of the python script after visiting the url. |
log a.py:
How do we continue from here? |
You were not able to open with localhost ? |
No... |
I have same problem on v4.5. I think python http server is not working. |
Same issue here! |
I figured it out:
Complete 🚀 I would have appreciated if it was specifically stated to go to the IP address of the VM instead of localhost:) Hope this helps someone who is also new to bash scripts |
Error:
This site cannot be accessed
Could not connect to localhost.
You should try:
check the connection
ERR_CONNECTION_REFUSED
The text was updated successfully, but these errors were encountered: