Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

内网穿透访问貌似会被拒绝 #34

Closed
jijunzeng opened this issue Mar 16, 2018 · 1 comment
Closed

内网穿透访问貌似会被拒绝 #34

jijunzeng opened this issue Mar 16, 2018 · 1 comment

Comments

@jijunzeng
Copy link

使用ngrok内网穿透,域名访问
看着快速增加的conn,一会儿就报下面的错了。
127.0.0.1:6001正常

egg deprecated please use app.config.proxy instead node_modules/koa/lib/request.js:357:26
2018-03-16 15:04:39,581 ERROR 16516 nodejs.ECONNRESETError: socket hang up (uncaughtException throw 1 times on pid:16516)
at createHangUpError (_http_client.js:330:15)
at Socket.socketOnEnd (_http_client.js:423:23)
at Socket.emit (events.js:164:20)
at endReadableNT (_stream_readable.js:1054:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
code: 'ECONNRESET'
name: 'ECONNRESETError'
pid: 16516
hostname: DISIRE

[Fri Mar 16 2018 15:04:39 GMT+0800 (CST)] [graceful:worker:16516:uncaughtException] throw error 1 times
{ ECONNRESETError: socket hang up (uncaughtException throw 1 times on pid:16516)
at createHangUpError (_http_client.js:330:15)
at Socket.socketOnEnd (_http_client.js:423:23)
at Socket.emit (events.js:164:20)
at endReadableNT (_stream_readable.js:1054:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9) code: 'ECONNRESET', name: 'ECONNRESETError' }
ECONNRESETError: socket hang up (uncaughtException throw 1 times on pid:16516)
at createHangUpError (_http_client.js:330:15)
at Socket.socketOnEnd (_http_client.js:423:23)
at Socket.emit (events.js:164:20)
at endReadableNT (_stream_readable.js:1054:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
[Fri Mar 16 2018 15:04:39 GMT+0800 (CST)] [graceful:worker:16516] will exit after 30000ms
[Fri Mar 16 2018 15:04:39 GMT+0800 (CST)] [graceful:worker:16516] close server#0, _connections: 336
[Fri Mar 16 2018 15:04:39 GMT+0800 (CST)] [graceful:worker:16516] close 1 servers!
[Fri Mar 16 2018 15:04:39 GMT+0800 (CST)] [graceful:worker:16516] worker disconnect!
[2018-03-16 15:04:39.583] [cfork:master:16514] worker:16516 disconnect (exitedAfterDisconnect: true, state: disconnected, isDead: false, worker.disableRefork: false)
[2018-03-16 15:04:39.583] [cfork:master:16514] don't fork new work (refork: false)
2018-03-16 15:04:39,584 INFO 16514 [master] app_worker#1:16516 disconnect, suicide: true, state: disconnected, current workers: ["1"]
^C2018-03-16 15:04:44,565 INFO 16514 [master] receive signal SIGINT, closing

[2018-03-16 15:04:44.584] [cfork:master:16514] worker:16516 exit (code: null, exitedAfterDisconnect: true, state: dead, isDead: true, isExpected: true, worker.disableRefork: true)

@jijunzeng
Copy link
Author

EGG_SERVER_ENV=prod npm start

njugray added a commit that referenced this issue Jan 15, 2019
* docs: add issue and pr templates

* fix(webpack): url parse error under proxy #34

* chore(release): publish v1.0.0-beta.2

* fix(beidou-webpack): remove hash name while not using module in css loader, add client alias

* feat(babel-preset-beidou-client): support custom babel browserslist

* fix(cli): init boilerpalte usage info config;
doc: update router, view react, babel-client

* fix(cli): ut(dev and debug) process not killed

* fix(webpack): dump config error
fix: ci broken

* chore(release): publish v1.0.0-beta.3

* fix(webpack): ignore error while not found root file entry

* docs: add 1.0.0 changelog

* docs: README

* chore(release): publish v1.0.0

* chore(eslint): upgrade eslint version

* test: `getInitialProps view middleware`

* fix: initialprops

* add example with-react-loadable (#51)

Example request: #46

* chore(release): publish v1.0.3

* examples: add hot reload patch, fix #45 (#56)

* feat: framework config when running beidou build (#57)

* feat: framework config when running beidou build

* chore(release): publish v1.0.4

* fix: wrong bin file excuted in windows #63 (#65)

* fix: wrong bin file excuted in windows #63

* fix(cli): build file path

* chore(release): publish v1.0.5

* examples: typescript

* chore: script bootstrap

* exmaples: fix config of ts e.g.

* docs: update

* fix: build error when env is not `local` (#70)

* chore(release): publish v1.0.6

* chore: travis env alt 9 -> 10

* fix(webpack): reload `loader.dirs`

* chore(release): publish v1.0.7

* test: skip cli init test case for timeout

* chore: update yarn lock files

* test: skip cli test cases temporarily

* chore: deps for unittest

* fixed typo error (#73)

* fix(webpack): isomorphic webpack set __webpack_public_path__ default value, fix #76 (#78)

* chore(release): publish v1.0.8

* examples: add example react-redux-router-typescript (#89)

* add example react-redux-router-typescript

* chore: npm scripts & license

* fix: public path & router

* 缩进调整

* 调整配置

* Fix error code examples

* fix: rax ut failed as enabled `beautify` option

* chore: docs & lock files

* chore: travis config

* chore: skip rax test for weird `super` problem in travis CI

* fix:缓存逻辑在win下面的bug修复 (#101)

 fix #71

* chore(release): publish v1.0.9

* chore: fix test

* chore: upgrade lerna

* feat: upgrade to babal 7 webpack 4

this is a BREAKING CHANGE

* fix: unittest

* fix: babel config combination

* feat: enable babelrc files by default

* chore: put common deps into root for dev usage

* example: ugrade with-typescript example

* fix(webpack): build option --dev

* chore(webpack): unittest

* chore(react): unittest

* chore: code format

* chore: code prettier

* feat: set node-sass as optional dependency

* feat: completely babel runtime for node (#123)

fix: #122

* feat: support render to stream  (#126)

* feat: support render to stream #124

* examples: stream render

* docs(view-react): add stream render doc

* chore: fix codecov

* feat: upgrade rax view plugin

* fix: loader & rule test

* unittest: fix fixture

* feat: add new package `beidou` reference to `beidou-core`

* chore(release): publish v2.0.0-alpha.0

* fix: A bug exsit in uglifyjs-webpack-plugin after v2.0.1 for  webpack4,use terser-webpack-plugin instead

* feat(webpack): entry loader depth support

fix #48

* fix: remove static config in prod

This config file forced users must provide config.{prod}.js to overwrite default config in framework.

* unittest: webpack entry depth test

* feat(cli): boilerplate tag config

* example:fix pkg.json

* chore(release): publish v2.0.0-alpha.1

* feat(cli): add `--skipInstall` option

* chore: fix ci

* chore: fix build cmd test

* test: ci

* test: dump ci test log

* fix(router): path resolve

* feat: zero config ts support

* example: use less in default

* chore: remove comments & unittest

* fix(cli): fetch tarball with tag

* chore: unittest

* chore: fix CI empty cwd

* feat: auto detect view extension

* unittest: improve test coverage

* example: update

* example: update

* chore(release): publish v2.0.0-beta.0

* chore: upgrade lerna

* chore: version bump

* feat: (unrelease) add beidou plugin for egg framework

* feat: (unrelease)add the README

* Revert "chore: version bump"

This reverts commit 33e0fe2.

* feat: export setGlobal function in beidou-isomorphic

* Revert "Revert "chore: version bump""

This reverts commit 5704709.

Revert "feat: (unrelease)add the README"

This reverts commit d415b8c.

Revert "feat: (unrelease) add beidou plugin for egg framework"

This reverts commit cc54167.

* fix(core): d.ts

* fix(router): config

* fix(cli): framework name reference

* fix(webpack): default resolve exts

* fix(webpack): optimize config of SplitChunksPlugin

* fix(webpack): optimize config of SplitChunksPlugin

* fix(webpack): cache groups enforce option

* fix(router): config for exts

* docs: README
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant