David Steinberger
Dabbler
- Joined
- Dec 22, 2017
- Messages
- 13
I've been using replication tasks for some time, but thus far always used the manual setup, which was/is working flawless.
It's vacation time and I decided to try out the semi-automated replication setup but can't get it to work. Upon save I always get:
In debug.log I see a stack-trace w/ pretty much the same information:
Does anyone know how I can troubleshoot this?
It's vacation time and I decided to try out the semi-automated replication setup but can't get it to work. Upon save I always get:
Failed to connect to remote host ws://<<< FREENAS IP >>>:80/websocket with following exception timed out.In debug.log I see a stack-trace w/ pretty much the same information:
Code:
Dec 26 13:48:50 nas uwsgi: [api.utils:12] Traceback (most recent call last):
Dec 26 13:48:50 nas uwsgi: [api.utils:12] File "./freenasUI/api/utils.py", line 415, in save
Dec 26 13:48:50 nas uwsgi: [api.utils:12] form.save()
Dec 26 13:48:50 nas uwsgi: [api.utils:12] File "./freenasUI/middleware/form.py", line 55, in save
Dec 26 13:48:50 nas uwsgi: [api.utils:12] result = self.__save()
Dec 26 13:48:50 nas uwsgi: [api.utils:12] File "./freenasUI/middleware/form.py", line 114, in __save
Dec 26 13:48:50 nas uwsgi: [api.utils:12] raise
Dec 26 13:48:50 nas uwsgi: [api.utils:12] File "./freenasUI/middleware/form.py", line 109, in __save
Dec 26 13:48:50 nas uwsgi: [api.utils:12] return c.call(f"{self.middleware_plugin}.{self._middleware_action}", *args, **kwargs)
Dec 26 13:48:50 nas uwsgi: [api.utils:12] File "/usr/local/lib/python3.6/site-packages/middlewared/client/client.py", line 453, in call
Dec 26 13:48:50 nas uwsgi: [api.utils:12] raise ValidationErrors(c.extra)
Dec 26 13:48:50 nas uwsgi: [api.utils:12] middlewared.client.client.ValidationErrors: [EINVAL] replication_create.remote_token: Failed to connect to remote host ws://<<< FREENAS IP >>>:80/websocket with following exception timed out
Dec 26 13:48:50 nas uwsgi: [api.utils:12]
Dec 26 13:48:50 nas uwsgi: [api.utils:12] During handling of the above exception, another exception occurred:
Dec 26 13:48:50 nas uwsgi: [api.utils:12]
Dec 26 13:48:50 nas uwsgi: [api.utils:12] Traceback (most recent call last):
Dec 26 13:48:50 nas uwsgi: [api.utils:12] File "./freenasUI/api/utils.py", line 251, in dispatch
Dec 26 13:48:50 nas uwsgi: [api.utils:12] request_type, request, *args, **kwargs
Dec 26 13:48:50 nas uwsgi: [api.utils:12] File "/usr/local/lib/python3.6/site-packages/tastypie/resources.py", line 482, in dispatch
Dec 26 13:48:50 nas uwsgi: [api.utils:12] response = method(request, **kwargs)
Dec 26 13:48:50 nas uwsgi: [api.utils:12] File "/usr/local/lib/python3.6/site-packages/tastypie/resources.py", line 1384, in post_list
Dec 26 13:48:50 nas uwsgi: [api.utils:12] updated_bundle = self.obj_create(bundle, **self.remove_api_resource_names(kwargs))
Dec 26 13:48:50 nas uwsgi: [api.utils:12] File "/usr/local/lib/python3.6/site-packages/tastypie/resources.py", line 2175, in obj_create
Dec 26 13:48:50 nas uwsgi: [api.utils:12] return self.save(bundle)
Dec 26 13:48:50 nas uwsgi: [api.utils:12] File "./freenasUI/api/utils.py", line 421, in save
Dec 26 13:48:50 nas uwsgi: [api.utils:12] response_class=http.HttpConflict,
Dec 26 13:48:50 nas uwsgi: [api.utils:12] tastypie.exceptions.ImmediateHttpResponse
Dec 26 13:49:00 nas /autosnap.py: [ws4py:360] Closing message received (1000) 'b'''
Dec 26 13:49:01 nas /autorepl.py: [ws4py:360] Closing message received (1000) 'b'''
Dec 26 13:49:01 nas /autorepl.py: [tools.autorepl:221] Autosnap replication started
Dec 26 13:49:01 nas /autorepl.py: [tools.autorepl:222] temp log file: /tmp/repl-44754
Dec 26 13:49:01 nas /autorepl.py: [tools.autorepl:291] Checking dataset tank/storage/nextcloud
Dec 26 13:49:02 nas /autorepl.py: [tools.autorepl:625] Autosnap replication finishedDoes anyone know how I can troubleshoot this?