The RemoteJSONConnection example does not seem to work. I have tried both the version from pip and using the latest version (updated yesterday). Trying this:
import hydra_client as hc
hb_conn = hc.RemoteJSONConnection(url='http://localhost:8080/json')
hb_conn.login(username='root', password='')
gives me this:
Traceback (most recent call last):
File "base.py", line 19, in
hb_conn.login(username='root', password='')
File "C:\Users\honeywillrs\AppData\Local\Continuum\anaconda3\lib\site-packages\hydra_client\connection\remote_json_connection.py", line 112, in login
resp = self.call('login', login_params)
File "C:\Users\honeywillrs\AppData\Local\Continuum\anaconda3\lib\site-packages\hydra_client\connection\remote_json_connection.py", line 93, in call
raise RequestError(err)
hydra_client.exception.RequestError: {'message': "Client.AuthenticationError:Invalid authentication request for HydraError({'message': b'root', 'code': '0000'})", 'code': '200'}>
This was using Windows 10 and installed hydraserver via pip.
The RemoteJSONConnection example does not seem to work. I have tried both the version from pip and using the latest version (updated yesterday). Trying this:
gives me this:
This was using Windows 10 and installed hydraserver via pip.