Fails to connect to SimpleNote server on Windows behind proxy
I've installed the nvPY on Windows 7, behind NTLM proxy.
In system variables I have:
HTTP_PROXY=localhost:3128
HTTPS_PROXY=localhost:3128
(both pointing to CNTLM)
CNTLM is working for sure and also is visible from python, because I did all the nvPY installation steps from command line successfully behind that same proxy with the same environment.
In user directory I have the nvpy.cfg with the next contents:
[nvpy]
sn_username=<my_login>
sn_password=<my_password>
When I create a new note, I see the next message in the status bar:
Could not connect to the simplenote server
In the log file I I have the next:
2013-07-17 15:53:42,904 - DEBUG - nvpy logging initialized
2013-07-17 15:53:42,904 - DEBUG - config read from ['C:\\Users\\afrishman\\nvpy.cfg']
2013-07-17 15:53:43,875 - DEBUG - Starting full sync.
2013-07-17 15:53:43,875 - DEBUG - Retrieving full note list from server, could take a while.
2013-07-17 15:56:42,091 - DEBUG - nvpy logging initialized
2013-07-17 15:56:42,091 - DEBUG - config read from ['C:\\Users\\afrishman\\nvpy.cfg']
2013-07-17 15:56:42,322 - DEBUG - Starting full sync.
2013-07-17 15:56:42,325 - DEBUG - Retrieving full note list from server, could take a while.
2013-07-17 15:58:06,941 - DEBUG - title "test" resync
2013-07-17 15:58:10,996 - DEBUG - Sending new note (local key 676a37a3b5452d673c54842c9e0a7e) to server.
2013-07-17 15:58:17,042 - DEBUG - Sending new note (local key 676a37a3b5452d673c54842c9e0a7e) to server.
2013-07-17 15:58:21,065 - DEBUG - Sending new note (local key 676a37a3b5452d673c54842c9e0a7e) to server.
... and so on many times
We have at least one confirmed use of HTTPS_PROXY with nvpy, see this closed issue: https://github.com/cpbotha/nvpy/issues/57
nvpy is using stock-standard Python functionality for connecting to the simplenote server, and should make use of your proxy settings.
Could you log out and log in again to make sure that the variables are set everywhere? If that is the case, and it still doesn't work, please try prepending https to the HTTPS_PROXY variable value.