request/tunnel-agent

atom-beautify has issue with tunnel-agent

burningserenity opened this issue · 0 comments

[Enter steps to reproduce:]

  1. Enable Privoxy on system wide HTTP and HTTPS proxies
  2. Open packages in Preferences menu
  3. This is an intermittent issue - Privoxy often reports this error code when webpages fail to resolve for one reason or another.

Atom: 1.17.2 x64
Electron: 1.3.15
OS: Deepin 15.4
Thrown From: atom-beautify package 0.29.26

Stack Trace

Uncaught Error: tunneling socket could not be established, statusCode=503

At stream.js:74

Error: tunneling socket could not be established, statusCode=503
    at ClientRequest.onConnect (/packages/atom-beautify/node_modules/tunnel-agent/index.js:166:19)
    at ClientRequest.g (events.js:286:16)
    at emitThree (events.js:116:13)
    at ClientRequest.emit (events.js:194:7)
    at Socket.socketOnData (_http_client.js:393:11)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at readableAddChunk (_stream_readable.js:176:18)
    at Socket.Readable.push (_stream_readable.js:134:10)
    at TCP.onread (net.js:543:20)

Commands

     -5:32.1.0 application:add-project-folder (ul.list-inline.tab-bar.inset-panel)

Non-Core Packages

ariake-dark-syntax 0.1.3 
atom-beautify 0.29.26 
autocomplete-html-entities 0.1.0 
autocomplete-python 1.8.63 
change-case 0.6.5 
dbg 1.6.1 
dbg-gdb 1.7.3 
emmet 2.4.3 
git-plus 7.9.2 
hey-pane 1.0.0 
html-tab 1.0.2 
node-debugger 1.10.1 
nord-atom-ui 0.11.0 
open-html-in-browser 0.1.0 
output-panel 0.3.0 
platformio-ide-debugger 1.2.2 
platformio-ide-terminal 2.5.1 
python-debugger 0.2.0 
remove-whitespace 0.2.1 
split-diff 1.4.0 
vim-mode-plus 0.93.0 
vim-mode-plus-ex-mode 0.9.1 
vim-plus-autocomplete-emmet-compatibility 0.1.0 
w3c-validation 0.4.0