Read /Write data form another site

We have two ErpNext instance (Sites). Can it be possible to Read/Write some data from one site to another site.
I have tried with FrappeClient but it throw an error:
hostname ‘raw.rungamatteegroup.com’ doesn’t match ‘runga.rungamatteegroup.com

Kindly help.

Error Logs:
Traceback (most recent call last):
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/app.py”, line 55, in application
response = frappe.handler.handle()
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/handler.py”, line 19, in handle
execute_cmd(cmd)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/handler.py”, line 40, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/init.py”, line 897, in call
return fn(*args, **newargs)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/desk/form/save.py”, line 19, in savedocs
doc.submit()
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py”, line 723, in submit
self._submit()
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py”, line 712, in _submit
self.save()
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py”, line 223, in save
return self._save(*args, **kwargs)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py”, line 269, in _save
self.run_post_save_methods()
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py”, line 771, in run_post_save_methods
self.run_method(“on_submit”)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py”, line 651, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py”, line 858, in composer
return composed(self, method, *args, **kwargs)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py”, line 841, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py”, line 645, in
fn = lambda self, *args, **kwargs: getattr(self, method)(args, **kwargs)
File “/home/ubuntu/frappe-bench/apps/tearp/tearp/packing_dispatch/doctype/dispatch_advice/dispatch_advice.py”, line 41, in on_submit
self.push_to_raw_site()
File “/home/ubuntu/frappe-bench/apps/tearp/tearp/packing_dispatch/doctype/dispatch_advice/dispatch_advice.py”, line 175, in push_to_raw_site
push_to_raw_site(self)
File “/home/ubuntu/frappe-bench/apps/tearp/tearp/controllers/site_bridge_controller.py”, line 15, in push_to_raw_site
if validate_login_raw(doc):
File “/home/ubuntu/frappe-bench/apps/tearp/tearp/controllers/site_bridge_controller.py”, line 11, in validate_login_raw
client = FrappeClient(“https://raw.rungamatteegroup.com/”, “pmahato@rawjute.in”, "rungamattee!@#$%^&
()")
File “/home/ubuntu/frappe-bench/apps/tearp/tearp/frappeclient/frappeclient.py”, line 21, in init
self.login(username, password)
File “/home/ubuntu/frappe-bench/apps/tearp/tearp/frappeclient/frappeclient.py”, line 34, in login
‘pwd’: password
File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/requests/sessions.py”, line 511, in post
return self.request(‘POST’, url, data=data, json=json, **kwargs)
File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/requests/sessions.py”, line 468, in request
resp = self.send(prep, **send_kwargs)
File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/requests/sessions.py”, line 576, in send
r = adapter.send(request, **kwargs)
File “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/requests/adapters.py”, line 447, in send
raise SSLError(e, request=request)
SSLError: hostname ‘raw.rungamatteegroup.com’ doesn’t match ‘runga.rungamatteegroup.com

The approach is fine.

Your SSL is not configured correctly.