Git Product home page Git Product logo

Comments (6)

blakenan-bellese avatar blakenan-bellese commented on May 30, 2024 1

@pacoorozco Thanks for the reply. I ran the command with the debug flag, see below for my terminal contents. Note: I replaced some potentially sensitive info with a bunch of Xs.

bill@bills-mbp ~ % gphotos-uploader-cli push --debug [04/1/22| 9:15AM]
[info] Reading configuration from '/Users/bill/.gphotos-uploader-cli/config.hjson'
[debug] Current configuration: {"APIAppCredentials":{"ClientID":"XXXXXXXXX.apps.googleusercontent.com","ClientSecret":"REMOVED"},"Account":"[email protected]","SecretsBackendType":"auto","Jobs":[{"SourceFolder":"/Users/bill/Pictures/auto-upload","CreateAlbums":"folderName","DeleteAfterUpload":false,"IncludePatterns":[],"ExcludePatterns":[]}]}
[info] Getting OAuth token for '[email protected]'
[debug] Unable to retrieve token from token manager: token was not found
[debug] Getting OAuth2 token from prompt...

Visit the following URL in your browser:
https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=XXXXXXXXXXX.apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&response_type=code&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fphotoslibrary&state=state

After completing the authorization flow, enter the authorization code here: XXXXXXXXXXXXXXXXXXX
[fatal] unable to get token: Post "https://oauth2.googleapis.com/token": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

from gphotos-uploader-cli.

pacoorozco avatar pacoorozco commented on May 30, 2024

Hi @blakenan-bellese

Unfortunately I don't have a Mac system to test it, **would you mind to run gphotos-uploader-cli --debug push?

from gphotos-uploader-cli.

pacoorozco avatar pacoorozco commented on May 30, 2024

It's very strange but it's not the first time that I've seen this kind of failures in Mac.

It seem that your terminal cannot reach the Google endpoint 😪 are you using a VPN or outbound firewall?

How have you installed the CLI? Homebrew or tar file?

from gphotos-uploader-cli.

blakenan-bellese avatar blakenan-bellese commented on May 30, 2024

@pacoorozco I'm not using a VPN or outbound firewall. I used homebrew to install. When I get a few minutes I'll try to connect manually to that Google endpoint using Postman. Maybe I can determine the cause. Appreciate the feedback/

from gphotos-uploader-cli.

pacoorozco avatar pacoorozco commented on May 30, 2024

Any update @blakenan-bellese , otherwise I will close the issue assuming that it worked at the end 😅

from gphotos-uploader-cli.

blakenan-bellese avatar blakenan-bellese commented on May 30, 2024

@pacoorozco I haven't looked at this in a while. I'll try to reproduce the error in the next week. If you don't hear from me, feel free to close the issue. Thanks for the follow-up.

from gphotos-uploader-cli.

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.