【发布时间】:2019-10-03 07:46:07
【问题描述】:
我正在尝试使用 PyOTRS 库与 OTRS 社区版 API 一起使用,但在 session_create 步骤中出现错误:
client = Client(baseurl="host_ip", username="username", password="passwd",)
client.session_create()
错误是:
http 通信出错:('连接中止。', RemoteDisconnected('远程结束关闭连接无响应',)
【问题讨论】:
-
你的baseurl是什么?可能是它不接受连接。
-
BaseUrl 是简单的 ip 地址,放置 OTRS 6.0,除此之外,还有
webservice_path参数,调试时默认值为“/otrs/nph-genericinterface.pl/Webservice/GenericTicketConnectorREST/Session”。