gpt4 book ai didi

java - Spring Cloud Dataflow应用程序http返回401未经授权

转载 作者:行者123 更新时间:2023-12-01 09:00:30 24 4
gpt4 key购买 nike

我正在使用 iris PA 示例测试 scdf,该示例部署了“http | pmml | log”示例

但是当我向服务器发出请求时,我总是得到:

401 Unauthorized

像这些:

{
"timestamp": 1484718462061,
"status": 401,
"error": "Unauthorized",
"message": "Full authentication is required to access this resource",
"path": "/"
}

当我使用此配置添加 application.properties 文件时:

security.basic.enabled=false

到与本地服务器jar文件相同的文件夹,它似乎不起作用...

我仍然看到控制台中设置了默认密码:

using default security password: ****-****....

然后我使用了基本身份验证,用户名user和密码***-***

它给出了:

{
"timestamp": 1484718712952,
"status": 401,
"error": "Unauthorized",
"message": "Bad credentials",
"path": "/"
}

信息:

plateform: docker-toolbox
OS: debian:jessie
SCDF version: 1.1.1.RELEASE

最佳答案

此问题已在 http-source 应用程序的最新 1.1.2.RELEASE 中得到解决 - 有关在何处下载最新位的更多详细信息,请参阅 #1130 .

关于java - Spring Cloud Dataflow应用程序http返回401未经授权,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41712292/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com