joaomgcd / JoinDesktop

A desktop app for Join built in Electron
238 stars 19 forks source link

Does the Join Desktop App follow the system proxy settings? #30

Closed mmqmzk closed 3 years ago

mmqmzk commented 3 years ago

OS: Windows 10 21H1, browser: Chrome 91, Join Desktop App 1.0.0 windows version.

I live in China, so I'm using a http proxy to access Google.

When I opened Join Desktop App, it opened a web page https://joinjoaomgcd.appspot.com/?settings, the page said the companion app was ok, then open http://127.0.0.1:9876/?code=xxxxxxxxx to authorize, after a few seconds, the new page revealed the following message:

{"message":"request to https://oauth2.googleapis.com/token failed, reason: connect ETIMEDOUT 172.217.24.10:443","type":"system","errno":"ETIMEDOUT","code":"ETIMEDOUT"}

And there's a message on the Chrome Dev Tools console:

Failed to load resource: the server responded with a status of 500 (Internal Server Error)

I can use Join Chrome extension and Join new webapp behind the proxy without any problem.

Usually, I get connection reset or timeout when accessing Google's web page or API directly.

As the title, I guess the desktop app doesn't follow system proxy setting.

joaomgcd commented 3 years ago

Hi. Where exactly are you setting up that proxy? Thanks!

mmqmzk commented 3 years ago

Settings -> Network & Internet -> Proxy

joaomgcd commented 3 years ago

Ok, I tried something. Could you please check if this version works? https://drive.google.com/open?id=1wWAi8fxnMsFObo6HZUuvDsteeth1c9qh

mmqmzk commented 3 years ago

Nice, it works. 👍

joaomgcd commented 3 years ago

Nice! :D Glad it works!