cosmos-auth无法连接到fiware-idm

时间:2019-03-26 06:27:21

标签: fiware-cosmos

我已经在fiware-idm中注册了我的cosmos-auth应用程序,并且在我发送请求时:

curl -k -X POST“ https://x.x.x.x:13000/cosmos-auth/v1/token” -H“内容类型:application / x-www-form-urlencoded” -d“ grant_type=password&username=admin@test.com&password=1234”

它引发错误:{“ statusCode”:500,“ error”:“内部服务器错误”,“消息”:“发生内部服务器错误”}

cosmos-auth生成的日志:

信息:[用户-> cosmos-auth]请求:POST / cosmos-auth / v1 / token 信息:[用户-> cosmos-auth] {“用户代理”:“ curl / 7.29.0”,“主机”:“ xxxx:13000”,“接受”:“ / ” ,“内容类型”:“应用程序/ x-www-form-urlencoded”,“内容长度”:“ 57”} 信息:[用户-> cosmos身份验证] grant_type=password&username=admin@test.com&password=1234 信息:[cosmos-auth-> IdM]请求:POST https://x.x.x.x:3004/oauth2/token 信息:[cosmos-auth-> IdM] {“授权”:“基本OGQ3NTI5MTYtZTJiOC00ZDJiLWI1YzEtMTA5OWNkYTQyMzk5OjZlNjhhMTI5LTc3NjQtNDk0MC04NzVmLTU1Mz“->” 信息:[cosmos-auth-> IdM] grant_type=password&username=admin@test.com&password=1234 (节点:3250)[DEP0005] DeprecationWarning:由于安全性和可用性问题,不建议使用Buffer()。请改用Buffer.alloc(),Buffer.allocUnsafe()或Buffer.from()方法。 错误:无法连接到IdM

请提供一些帮助?

0 个答案:

没有答案