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

未关闭应用的情况下注销后再登录提示“端口已被占用” #118

Open
chirsz-ever opened this issue Feb 17, 2021 · 0 comments

Comments

@chirsz-ever
Copy link

Your os

Arch Linux,之前使用 Linux Mint 20、21 时也有一样的现象。

The version of electron-ssr

v0.3.0-alpha.6

实际上在 v0.2.6 就有这个现象了。

What's the problem

未关闭应用的情况下注销后再登录提示“端口已被占用”,SOCKS5 代理端口和 HTTP 代理端口都会提示。

App log here

2021-02-17 20:13:48:413 [info] {
  constructor: 'Error',
  code: 'EADDRINUSE',
  errno: 'EADDRINUSE',
  syscall: 'listen',
  address: '127.0.0.1',
  port: 12333,
  stack: 'Error: listen EADDRINUSE: address already in use 127.0.0.1:12333\n    ' +
    'at Server.setupListenHandle [as _listen2] (net.js:1226:14)\n    at ' +
    'listenInCluster (net.js:1274:12)\n    at doListen (net.js:1413:7)\n    ' +
    'at processTicksAndRejections (internal/process/task_queues.js:84:9)'
}

原因应该是在注销时主进程结束而代理监听进程没有结束。

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