Giter Club home page Giter Club logo

Comments (19)

qingwave avatar qingwave commented on July 28, 2024 1

这里改成'0.0.0.0'

address: "127.0.0.1"

from weave.

kelevis avatar kelevis commented on July 28, 2024

1706610090546
根据你的说明,curl 出现401

from weave.

kelevis avatar kelevis commented on July 28, 2024

image

from weave.

kelevis avatar kelevis commented on July 28, 2024

这两条curl 都返回401;
大佬有接口文档么

from weave.

kelevis avatar kelevis commented on July 28, 2024

image
这块测试刚开始要填什么auth

from weave.

kelevis avatar kelevis commented on July 28, 2024

所有接口功能

from weave.

kelevis avatar kelevis commented on July 28, 2024

正常不应该谁都可以注册吗,为什么注册都出现401 error ??

from weave.

qingwave avatar qingwave commented on July 28, 2024

我看一下,能提供下你是怎么安装的吗,页面登录正常不,看起来是数据库没有初始成功,admin user都不存在

from weave.

qingwave avatar qingwave commented on July 28, 2024

Hi @kevinleee1128 , 刚验证了下安装Readme步骤去启动没有问题的,你可以重新再试下,如果还有报错检查下Log是否正常

from weave.

kelevis avatar kelevis commented on July 28, 2024

Hi @kevinleee1128 , 刚验证了下安装Readme步骤去启动没有问题的,你可以重新再试下,如果还有报错检查下Log是否正常

image
这是在linux下的,后端没有问题;
但是我在windows环境下会报错401,你的admin是怎么初始化的?在win下如何初始化postgresql呢?

from weave.

kelevis avatar kelevis commented on July 28, 2024

我看一下,能提供下你是怎么安装的吗,页面登录正常不,看起来是数据库没有初始成功,admin user都不存在

我是在win下本地编译运行的,本地安装的postgresql

from weave.

qingwave avatar qingwave commented on July 28, 2024

可以参考下数据初始化脚本 https://github.com/qingwave/weave/blob/master/Makefile#L57

# 运行db.sql脚本
cat scripts/db.sql | docker exec -i mypostgres psql -U postgres

from weave.

kelevis avatar kelevis commented on July 28, 2024

可以参考下数据初始化脚本 https://github.com/qingwave/weave/blob/master/Makefile#L57

# 运行db.sql脚本
cat scripts/db.sql | docker exec -i mypostgres psql -U postgres

我本地win10环境没有用docker起postgresql;
用的安装包启动的postgresql,配置了账号,可以正常调用接口,就是一直报error401

from weave.

qingwave avatar qingwave commented on July 28, 2024

可以参考下数据初始化脚本 https://github.com/qingwave/weave/blob/master/Makefile#L57

# 运行db.sql脚本
cat scripts/db.sql | docker exec -i mypostgres psql -U postgres

我本地win10环境没有用docker起postgresql; 用的安装包启动的postgresql,配置了账号,可以正常调用接口,就是一直报error401

直接在你的数据库运行sql脚本就可以 https://raw.githubusercontent.com/qingwave/weave/master/scripts/db.sql

from weave.

kelevis avatar kelevis commented on July 28, 2024

可以参考下数据初始化脚本 https://github.com/qingwave/weave/blob/master/Makefile#L57

# 运行db.sql脚本
cat scripts/db.sql | docker exec -i mypostgres psql -U postgres

我本地win10环境没有用docker起postgresql; 用的安装包启动的postgresql,配置了账号,可以正常调用接口,就是一直报error401

直接在你的数据库运行sql脚本就可以 https://raw.githubusercontent.com/qingwave/weave/master/scripts/db.sql

好的,感谢大佬!

from weave.

kelevis avatar kelevis commented on July 28, 2024

可以参考下数据初始化脚本 https://github.com/qingwave/weave/blob/master/Makefile#L57

# 运行db.sql脚本
cat scripts/db.sql | docker exec -i mypostgres psql -U postgres

我本地win10环境没有用docker起postgresql; 用的安装包启动的postgresql,配置了账号,可以正常调用接口,就是一直报error401

直接在你的数据库运行sql脚本就可以 https://raw.githubusercontent.com/qingwave/weave/master/scripts/db.sql

另外麻烦问下,后端接口服务只能本地测试吗,我用远程测试接口,显示连接不上

from weave.

kelevis avatar kelevis commented on July 28, 2024

这里改成'0.0.0.0'

address: "127.0.0.1"

(๑•̀ㅂ•́)و✧

from weave.

kelevis avatar kelevis commented on July 28, 2024

image
github oauth error;是密钥填错了吗

from weave.

qingwave avatar qingwave commented on July 28, 2024

其他问题请检查日志和配置说明,大部分情况里面都涉及有

from weave.

Related Issues (14)

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.