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

插件中无法发起http请求 #1142

Open
WinChua opened this issue Sep 3, 2024 · 1 comment
Open

插件中无法发起http请求 #1142

WinChua opened this issue Sep 3, 2024 · 1 comment

Comments

@WinChua
Copy link

WinChua commented Sep 3, 2024

我想要在插件的reqRead中通过http请求解码body,但是发起请求的时候总是报错

get err Error: Client network socket disconnected before secure TLS connection was established
    at TLSSocket.onConnectEnd (node:_tls_wrap:1732:19)
    at TLSSocket.emit (node:events:532:35)
    at endReadableNT (node:internal/streams/readable:1696:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  code: 'ECONNRESET',
  path: null,
  host: 'localhost',
  port: 443,
  localAddress: undefined
}
@avwo
Copy link
Owner

avwo commented Sep 4, 2024

把 localhost 换成 127.0.0.1 试试

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

2 participants