使用事务 API 时收到错误的请求 [MarkLogic]

Getting Bad request While using Transaction API [MarkLogic]

提问人:abhishek prabhakar 提问时间:11/17/2023 最后编辑:Mads Hansenabhishek prabhakar 更新时间:11/17/2023 访问量:29

问:

我在使用 C# 代码和 Postman 访问事务 API 时遇到了“错误请求”错误。经过调查,我观察到,当通过负载均衡器访问 API 时,请求 URI 会附加一个额外的 ID。但是,直接服务器请求可以正常运行,并提供预期的事务 ID。 通过域请求时Error Response through load balancer

通过 Server Direct 请求时Response from direct connection

有趣的是,使用 cURL 命令时请求成功。

curl --anyauth --user user:pass -X POST -d "" -i -H "Content-type: text/plain" http://DNS:8000/v1/transactions

enter image description here

事务 marklogic aws-application-load-balancer marklogic-10

评论

0赞 Mads Hansen 11/17/2023
stackoverflow.com/a/68350470/14419

答: 暂无答案