Code Monkey home page Code Monkey logo

Comments (6)

foamzou avatar foamzou commented on August 27, 2024

404 了,请求没有抵达服务。
请确保你的 18443 端口指向的是 melody 的服务

from melody.

CelestialCosmic avatar CelestialCosmic commented on August 27, 2024

404 了,请求没有抵达服务。 请确保你的 18443 端口指向的是 melody 的服务

页面是可以正常访问的,但是输入 melody key 的时候显示找不到存放账户的文件,因此无法通过验证
我认为手动干预 /api/account 即可,但是我不明白这里需要什么文件,因为 run app 时产生了 .profile ,而 .profile 在我尝试的时候并不能用

from melody.

foamzou avatar foamzou commented on August 27, 2024

如果有环境部署重现步骤的话,我可以尝试一下。

from melody.

CelestialCosmic avatar CelestialCosmic commented on August 27, 2024

如果有环境部署重现步骤的话,我可以尝试一下。

服务器的配置

server {
    listen      18443;
    server_name melody;
    set $base /home/admin/melody/backend/public;
    root        $base;
    }

编译(yarn run init)后使用默认帐号(melody)登入

未修改源代码

from melody.

foamzou avatar foamzou commented on August 27, 2024

1,你需要启动 melody 后端服务。推荐docker 启动,不方便用docker 的话,可以安装 pm2 : npm install pm2 -g 之后,pm2 start backend/src/index.js 将服务常驻。
2,nginx 配置用proxy_pass ,将流量转发到 5566 端口。

from melody.

foamzou avatar foamzou commented on August 27, 2024

如果你仍然用非 80 端口访问的话,为什么不直接用默认的 5566 端口呢?

from melody.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.