Simplenote-electron: Doesn't work behind HTTP proxy

Created on 30 Mar 2016  路  21Comments  路  Source: Automattic/simplenote-electron

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.

bug

Most helpful comment

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.

All 21 comments

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

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.

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.

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

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.)

+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.

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.

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

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.

Same problem on Windows 7

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.

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

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.

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.

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.

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!

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

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 https://github.com/Automattic/simplenote-electron/pull/2102)

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

@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

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!

Was this page helpful?
0 / 5 - 0 ratings