paraview python script, doesn't work properly on remote server

Hello, I have the following python script that runs without problem on my local machine.

from paraview.simple import GetSources

all_sources = GetSources()

for s_string,s_id in all_sources:
    source = all_sources[s_string, s_id]
    print(s_string)
    print(source)
    print(source.SMProxy.GetClientSideObject().GetClassName())

which gives, having an OF reader in the pipeline:

simulation.foam
<paraview.servermanager.OpenFOAMReader object at 0x7ff4f78d4510>
vtkPOpenFOAMReader

Now, when I run the same script on the remote server I get

simulation.foam
<paraview.servermanager.OpenFOAMReader object at 0x7fc088033a10>
Traceback (most recent call last):
  File "<string>", line 24, in <module>
AttributeError: 'NoneType' object has no attribute 'GetClassName'

which means that source.SMProxy.GetClientSideObject() is None.
The question, do I have to modify something in particular to make it work on a remote server ?
Thank you for any help.

Edit: Paraview version is

ParaView-5.8.1-MPI-Linux-Python3.7-64bit

GetClientSideObject can only work with a built-in setup.

Thank you for your answer, is there any other way I can make it work, especially from the server side ?

Yes, stay at the proxy layer and don’t try to reach to the VTK one.