Error in online preview

I get Internal Server Error when open seafile-tutorial.doc online preview.
Version 8.0.4 PRO, Docker installation
In seahub.log:

2021-07-12 12:14:50,834 [ERROR] root:1190 prepare_converted_html failed to add_office_convert_task: Invalid URL '/add-task': No schema supplied. Perhaps you meant http:///add-task?

Traceback (most recent call last):
File “/opt/seafile/seafile-pro-server-8.0.4/seahub/seahub/utils/”, line 1187, in prepare_converted_html
add_office_convert_task(obj_id, doctype, raw_path)
File “/opt/seafile/seafile-pro-server-8.0.4/seahub/seahub/utils/”, line 1133, in add_office_convert_task
requests.get(url, params, headers=headers)
File “/opt/seafile/seafile-pro-server-8.0.4/seahub/thirdpart/requests/”, line 76, in get
return request(‘get’, url, params=params, **kwargs)
File “/opt/seafile/seafile-pro-server-8.0.4/seahub/thirdpart/requests/”, line 61, in request
return session.request(method=method, url=url, **kwargs)
File “/opt/seafile/seafile-pro-server-8.0.4/seahub/thirdpart/requests/”, line 528, in request
prep = self.prepare_request(req)
File “/opt/seafile/seafile-pro-server-8.0.4/seahub/thirdpart/requests/”, line 466, in prepare_request
hooks=merge_hooks(request.hooks, self.hooks),
File “/opt/seafile/seafile-pro-server-8.0.4/seahub/thirdpart/requests/”, line 316, in prepare
self.prepare_url(url, params)
File “/opt/seafile/seafile-pro-server-8.0.4/seahub/thirdpart/requests/”, line 390, in prepare_url
raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL ‘/add-task’: No schema supplied. Perhaps you meant http:///add-task?

Check your conf files and ensure that online preview is enabled.

Yes, online preview is enabled:
port = 6000
host =
enabled = true
workers = 1

Do you have



No, I add this directive and online preview start working.
Thank you :slight_smile: