1、这是第一个问题,保存文件之后再打开,有几率出现
2、无论修改多少次,版本只有这两个
经过日志发现,保存的时候,
\opt\seafile\seafile-server-10.0.1\seahub\seahub\onlyoffice\views.py 143
这行代码无法执行:
onlyoffice_resp = requests.get(url, verify=VERIFY_ONLYOFFICE_CERTIFICATE)
报错410,然后下面的key删除、文档更新操作也就无法执行,估计这就是问题的根源。
问题貌似指向了onlyoffice,我的onlyoffice是可以访问的,并且可以对office文档进行修改和保存
这是报错的信息:
Traceback (most recent call last):
File “/opt/seafile/seafile-server-10.0.1/seahub/thirdpart/django/core/handlers/exception.py”, line 47, in inner
response = get_response(request)
File “/opt/seafile/seafile-server-10.0.1/seahub/thirdpart/django/core/handlers/base.py”, line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-server-10.0.1/seahub/thirdpart/django/views/decorators/csrf.py”, line 54, in wrapped_view
return view_func(*args, **kwargs)
File “/opt/seafile/seafile-server-10.0.1/seahub/seahub/onlyoffice/views.py”, line 141, in onlyoffice_editor_callback
onlyoffice_resp = requests.get(url, verify=VERIFY_ONLYOFFICE_CERTIFICATE)
File “/opt/seafile/seafile-server-10.0.1/seahub/thirdpart/requests/api.py”, line 73, in get
return request(“get”, url, params=params, **kwargs)
File “/opt/seafile/seafile-server-10.0.1/seahub/thirdpart/requests/api.py”, line 59, in request
return session.request(method=method, url=url, **kwargs)
File “/opt/seafile/seafile-server-10.0.1/seahub/thirdpart/requests/sessions.py”, line 587, in request
resp = self.send(prep, **send_kwargs)
File “/opt/seafile/seafile-server-10.0.1/seahub/thirdpart/requests/sessions.py”, line 701, in send
r = adapter.send(request, **kwargs)
File “/opt/seafile/seafile-server-10.0.1/seahub/thirdpart/requests/adapters.py”, line 565, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host=‘xxx.xxx.com’, port=9000): Max retries exceeded with url: /cache/files/7ce5cf2b834907651929_559/output.docx/output.docx?md5=kLDYO71HP6Xli_ByX0eEEA&expires=1692072239&filename=output.docx (Caused by NewConnectionError(‘<urllib3.connection.HTTPConnection object at 0x7f122ea70640>: Failed to establish a new connection: [Errno 110] Connection timed out’))
这是seahub_settings的配置:
论坛里的大佬帮忙看看,这是哪个部分出了问题,卡主很久了,又一直被催进度