Originally reported by @jrschumacher on Nov 15th 2017
Prerequisites
Description
When trying to start teletype in an environment which sits behind a firewall I get the following error:
Failed to initialize the teletype package
Establishing a teletype connection failed with error: Failed to fetch
This is a result of this query:
Request URL:https://api.teletype.atom.io/protocol-version
Request Method:GET
Status Code:407 Proxy Authentication Required (from disk cache)
Note: I am running CNTLM which interfaces with the proxy. I have PROXY, HTTP_PROXY, HTTPS_PROXY, proxy, http_proxy, https_proxy configured. My local network settings are all configured to work with the proxy. Additionally apm is configured to work with my proxy settings.
Steps to Reproduce
- Enable the teletype plugin behind a proxy
Expected behavior:
I expect the plug to enable without an error message
Actual behavior:
I receive the error message described above.
Reproduces how often:
100%
Versions
Atom : 1.22.0
Electron: 1.6.15
Chrome : 56.0.2924.87
Node : 7.4.0
apm 1.18.8
npm 3.10.10
node 6.9.5 x64
python 2.7.10
git 2.14.1
macos 10.12.6 (16G29)
Additional Information
> apm config list
; cli configs
globalconfig = "/Users/rschumacher/.atom/.apm/.apmrc"
user-agent = "npm/3.10.10 node/v6.9.5 darwin x64"
userconfig = "/Users/rschumacher/.atom/.apmrc"
; environment configs
proxy = "http://localhost:3128/"
; project config /Users/rschumacher/.npmrc
https-proxy = "http://localhost:3128/"
proxy = "http://localhost:3128/"
strict-ssl = false

