Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Issues reaching api.teletype.atom.io behind a proxy #236

@as-cii

Description

@as-cii

Originally reported by @jrschumacher on Nov 15th 2017

Prerequisites

  • Put an X between the brackets on this line if you have done all of the following:

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

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

screen shot 2017-11-16 at 1 05 39 am
screen shot 2017-11-16 at 1 05 27 am

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions