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

Doesn't work behind HTTP proxy #265

Closed
svbisch opened this issue Mar 30, 2016 · 21 comments
Closed

Doesn't work behind HTTP proxy #265

svbisch opened this issue Mar 30, 2016 · 21 comments
Labels
bug Something isn't working
Milestone

Comments

@svbisch
Copy link

svbisch commented Mar 30, 2016

I'm behind a HTTP proxy at work here (am using the Linux version btw.). When I start the app the window stays white and eventually times out with this error: »connect ETIMEDOUT 72.14.246.169:443«.

I tried launching via command line:

https_proxy="http://«my company proxy»:8080/" /usr/share/simplenote/simplenote

Same behaviour.

@hindsholm
Copy link

I use the Windows version at work behind a proxy and it works just fine.

@lemmoner
Copy link

lemmoner commented Apr 3, 2016

It doesn't work for me under Windows 7. When I start simplenote, I see in wireshark a SYN message towards 72.14.246.169:443 which is never responded, hence retransmissions happen.
Is Simplenote Win App re-using Internet Explorer settings? If yes, the communication should work. However, why does simplenote try to access that IP? It belongs to Google (My username is a gmail account), but I don't see why the application should rely on google (ghs-svc-https-c423.ghs-ssl.googlehosted.com) for authentication proccess.

@jizusun
Copy link

jizusun commented Apr 7, 2016

Hope it can support system proxy or manual proxy in Ubuntu.

Also, 72.14.246.169 seems to be a Google IP, we have to use proxy to access it in China.

@vieiraj
Copy link
Contributor

vieiraj commented Apr 14, 2016

I'm using the Linux (Debian Jessie) version and I also have this issue.

@irstevenson
Copy link

Same problem here with version 1.0.2 on Linux Mint behind a corporate Microsoft NTLM proxy with username and password credentials required. (Have both http_proxy and https_proxy env variables set.)

@aalbertson
Copy link

+1 Simplenote Mac 1.1.6, proxy settings enabled everywhere, but no way to even configure simplenote to read it and it is not picking it up automatically.

@aalbertson
Copy link

I should clarify, my system (browser, terminal, sudoers, etc...) proxy settings are enabled, however simplenote does not seem to pick this up, and I have yet to find a location to configure them for simplenote itself.

@ghost
Copy link

ghost commented Oct 9, 2016

@aalbertson I second this, I would like a way to configure a proxy for simplenote, or have it use systemwide proxy.

@xopxe
Copy link

xopxe commented May 5, 2017

1.0.8 here, ubuntu 16.04 behind a plain proxy. No error messages nor any sync. Just stays blank. Created notes on android and webpage, and they work. Nothing goes to/from desktop.

@isebmo
Copy link

isebmo commented May 10, 2017

Same problem on Windows 7

@ghost
Copy link

ghost commented Mar 27, 2018

Google chrome in Windows 7 behind proxy is not working. I can login, but cannot see any note. But I found the same is working in IE11.

@roundhill
Copy link
Contributor

You might want to check with your system administrator for access to https://api.simperium.com, maybe it's not allowed through your proxy?

@PhiLhoSoft
Copy link

PhiLhoSoft commented Dec 13, 2018

Can we have a detail of what Simplenote does on the network?
In my case, I could log in, I see my notes, but if I do an update at work, the changes don't propagate to the server. I don't see them on my phone, for example. On the other hand, if I make a change on my phone, it is correctly merged with my changes at work, but still in download mode, not in upload direction.

[EDIT jan/2019] Maybe after an update, now my updates at work are synchronized. Thank you.
Also found some info at https://www.hybrid-analysis.com/sample/7e32c7eef8be12f686eca419633eef8e02a88abe89a6f6260ec792633ac0687a?environmentId=100 but they might be obsolete.

@Ros-Rain
Copy link

Ros-Rain commented Mar 1, 2019

Hi!

Linux users can set a proxy config via command line, when starting the App: simplenote --proxy-server=127.0.0.1:1234

It works.

@mriverodorta
Copy link

I'm using Deepin OS, it has an option to configure a system-wide proxy, it works with that option. I also tested the @Ros-Rain way and it worked too.

@bummytime bummytime added the bug Something isn't working label May 21, 2019
@bummytime bummytime added this to the Future milestone May 21, 2019
@codebykat
Copy link
Member

There are a variety of reports here from different OSes and browsers, and many of them are quite old. I'm going to close for now with a request: Can anyone who is still experiencing syncing problems after verifying that api.simperium.com is not blocked please comment with details about your setup (OS, browser, how proxy is configured) and the exact issues caused (not loading, not syncing, etc) so we can get to the bottom of it? Thanks!

@mattcincotta
Copy link

Hi @codebykat

I've tried the Simplenote App on MacOS Mojave and Catalina (currently 10.15.5).
It was my favourite app to use between Windows and Android but I now have a MacBook and at the schools I work at, use a proxy.

Simplenote fails to use any proxy settings on MacOS - this is the ONLY app I've got installed that doesn't work behind a proxy on MacOS. All other apps read the proxy settings with no issues.
Web version works fine.

  • Confirmed that api.simperium.com, *.simperium.com, *.simplenote.com is whitelisted on the proxy.
  • I've tried with Web Proxy (HTTP), Secure Web Proxy (HTTPS) and Automatic proxy configuration (.pac file). All leading to the point below (continuous loading).
  • Sign in works, but after that you get a continuous loading icon on the right side of the new note icon (sync failing to work).
  • Ros-Rain's solution is for Linux. The only way I've got Simplenote to sync behind a proxy on MacOS is with another app called Proxifier (tested on the trial version).

Keen to work with you to get this working behind a proxy on MacOS.
Thanks

@codebykat
Copy link
Member

This is so strange because Electron's docs about the --proxy-server option say:

Use a specified proxy server, which overrides the system setting.

Which sure seems to imply that it should be respecting the system setting by default.

@mattcincotta are you using a system-wide proxy configured via the OSX Proxy settings, or a separate proxy app?

Logging in successfully but then failing to sync data definitely points to an issue connecting to the simperium server (but a successful connection to simplenote.com). That does make me wonder if the proxy configuration is not right somehow.

I kind of wonder if this will be incidentally fixed with an upgrade to the latest Electron (just merged in #2102)

@codebykat codebykat reopened this Jun 22, 2020
@mattcincotta
Copy link

Hi @codebykat - using a system-wide proxy configured specifically via MacOS System Prefs > Network > Advanced > Proxies > Web Proxy (HTTP) AND/OR Secure Web Proxy (HTTPS) OR Automatic proxy.
Currently using the Automatic proxy (.pac file) as that's what we tend to use at the schools.

When will we see a beta release of the recent changes so I can test?

TIA

@mattcincotta
Copy link

@codebykat just an update - tried the 1.19.0beta1 - this version works with the system proxy settings.
Might need to get that app store version updated :)

Thanks

@codebykat
Copy link
Member

Oh that's beautiful - thank you for testing, @mattcincotta. We were quite a bit behind in our Electron version so I'm honestly not surprised if that was a bug that was fixed somewhere along the line. 1.19 will be released in a few days (June 29th I believe) but no reason you can't continue to use the beta until then!

@codebykat codebykat modified the milestones: Future, 1.19 Dec 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests