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

Better support systems running with a proxy #41

Open
johan-bjareholt opened this issue Mar 5, 2019 · 5 comments
Open

Better support systems running with a proxy #41

johan-bjareholt opened this issue Mar 5, 2019 · 5 comments

Comments

@johan-bjareholt
Copy link
Member

johan-bjareholt commented Mar 5, 2019

Should we add a config option for proxy or should we ignore the systems default proxy?

ActivityWatch/activitywatch#266

@johan-bjareholt johan-bjareholt changed the title Add config option for proxy? Better support systems running with a proxy Mar 5, 2019
@Mishco
Copy link

Mishco commented Nov 12, 2020

Hello, I agree that should be there some ignore option. I have similar issue with proxy. On personal computer works fine. On company computer (proxy and no_proxy setup in ENV variables) In logs:

  • For aw-server
* Running on http://127.0.0.1:5600/ (Press CTRL+C to quit)  (werkzeug:122)
  • For aw-watcher-afk
[WARNING]: 403 Client Error: Forbidden for url: http://127.0.0.1:5600/api/0/buckets/aw-watcher-afk_PC  (aw_client.client:28)
[WARNING]: Not connected to server, 49 requests in queue  (aw_client.client:380)
[WARNING]: 403 Client Error: Forbidden for url: http://127.0.0.1:5600/api/0/buckets/aw-watcher-afk_PC  (aw_client.client:28)
  • For aw-watcher-window
[INFO ]: aw-watcher-window started  (aw_watcher_window.main:40)
[WARNING]: 403 Client Error: Forbidden for url: http://127.0.0.1:5600/api/0/buckets/aw-watcher-window_PC  (aw_client.client:28)
[WARNING]: Not connected to server, 132 requests in queue  (aw_client.client:380)
[WARNING]: 403 Client Error: Forbidden for url: http://127.0.0.1:5600/api/0/buckets/aw-watcher-window_PC  (aw_client.client:28)
[WARNING]: Not connected to server, 134 requests in queue  (aw_client.client:380)
[WARNING]: 403 Client Error: Forbidden for url: http://127.0.0.1:5600/api/0/buckets/aw-watcher-window_PC  

@ErikBjare
Copy link
Member

@Mishco Looks like your set no_proxy doesn't have any effect, but it should. What is it set to?

@Mishco
Copy link

Mishco commented Nov 12, 2020

Hi @ErikBjare. In NO_PROXY I have: localhost, .company.com, some-othercompany.com. Should I add there 127.0.0.1 ?

@Mishco
Copy link

Mishco commented Nov 12, 2020

I try to add 127.0.0.1 into NO_PROXY and it helps. Maybe it can be added into gettings-started docs. Thanks

@ErikBjare
Copy link
Member

@Mishco Nice. I improved the notice about it in the getting started guide: ActivityWatch/docs@033321d

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

3 participants