Comments (6)
@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=stateAfter 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.
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.
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.
@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.
Any update @blakenan-bellese , otherwise I will close the issue assuming that it worked at the end 😅
from gphotos-uploader-cli.
@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)
- API hits 10k limit. No idea if this is legit or a problem HOT 2
- Migrate your impacted OAuth out-of-band clients to an alternative method before October 3, 2022 HOT 3
- Broken openid auth flow HOT 1
- minor documentation improvement HOT 4
- Feedback: Great program HOT 3
- Date isn't preserved? HOT 4
- How to use pre-existing credential and token ? HOT 1
- What is the best way to update to the latest version? HOT 2
- Upload Errors Occur Intermittently HOT 6
- sort conents of folder HOT 2
- Several SecretBackendTypes not working for MacOS HOT 2
- Unable to run latest version HOT 5
- Add option to specify web port for authentication HOT 1
- Photos "uploaded" but not showing up in google photos HOT 1
- Add a cli switch to specify the name of the album HOT 1
- Run headless by making it load from created credential json file HOT 8
- Uploads are showing date of upload as filename. HOT 5
- allow custom RedirectURLHostname HOT 2
- didn't find all files, please add ability to load file paths from txt. HOT 6
- Show Google Photos API error description to make easier the troubleshooting HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gphotos-uploader-cli.