关于Sdoc0.X转换和导出功能报错


1、sdoc文档转换成md或docx报错报500错误

2、sdoc文档导出为docx报错

抱歉,问题已解决了
opt/seafile/logs/seahub.log中问题明显是配置问题

requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=8888): Max retries exceeded with url: /api/v1/sdoc-export-to-docx/ (Caused by NewConnectionError('<
urllib3.connection.HTTPConnection object at 0x14ffbee12380>: Failed to establish a new connection: [Errno 111] Connection refused'))

FILE_CONVERTER_SERVER_URL = ‘http://sdoc-server:8888’ # converter-server url

When SeaDoc and Seafile are deployed on the same host, FILE_CONVERTER_SERVER_URL should be LAN address ‘http://127.0.0.1:8888

When SeaDoc and Seafile docker are deployed on the same host, FILE_CONVERTER_SERVER_URL should be http://sdoc-server:8888