foamzou / melody

我的音乐精灵
Apache License 2.0
2.77k stars 224 forks source link

127.0.0.1:5566 could not be reached #32

Closed funny1dog closed 2 years ago

funny1dog commented 2 years ago

After running: npm run init && npm run app The following errors appear:

foamzou-melody@0.1.1 init node scripts/setup.js

开始执行... 检查 media-get 开始下载核心程序 media-get node:events:505 throw er; // Unhandled 'error' event ^

Error: write EPROTO 4731999744:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:

at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16)

Emitted 'error' event on ClientRequest instance at: at TLSSocket.socketErrorListener (node:_http_client:454:9) at TLSSocket.emit (node:events:527:28) at emitErrorNT (node:internal/streams/destroy:157:8) at emitErrorCloseNT (node:internal/streams/destroy:122:3) at processTicksAndRejections (node:internal/process/task_queues:83:21) { errno: -100, code: 'EPROTO', syscall: 'write' }

And enter http://127.0.0.1:5566/ into the browser, and it says: 127.0.0.1 refused to connect.

foamzou commented 2 years ago

SSL 证书问题。可能是你用了有点问题的代理?建议用 docker 部署

vraypkhm commented 2 years ago

SSL 证书问题。可能是你用了有点问题的代理?建议用 docker 部署

我用群晖的docker部署,也是提示could not be reached

foamzou commented 2 years ago

大概是你的 docker 容器内的 5566 端口没有 expose 到物理机来?你在docker 界面找找设置? @vraypkhm