You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tested it deploying an OpenFaas with an old version:
senna@dl:~$ das-cli faas start --version v1.11.0
Redis is running on port 20123
MongoDB is running on port 20124
Starting OpenFaaS...
You are running the version 'v1.11.0' of the function.
OpenFaaS running on port 8080
And making a query with the recent lib version:
[ninjato] ~/Downloads > check_libs.sh
hyperon-das-atomdb
INSTALLED: 0.6.1
LATEST: 0.6.1
hyperon-das
INSTALLED: 0.7.2
LATEST: 0.7.2
[ninjato] ~/Downloads > python3 test_fb_das.py
Traceback (most recent call last):
File "/home/senna/Downloads/test_fb_das.py", line 7, in <module>
das = DistributedAtomSpace(query_engine='remote', host=host, port=port)
File "/home/senna/.local/lib/python3.10/site-packages/hyperon_das/das.py", line 45, in __init__
self.query_engine = RemoteQueryEngine(self.backend, self.system_parameters, kwargs)
File "/home/senna/.local/lib/python3.10/site-packages/hyperon_das/query_engines.py", line 401, in __init__
self.remote_das = FunctionsClient(self.host, self.port)
File "/home/senna/.local/lib/python3.10/site-packages/hyperon_das/client.py", line 18, in __init__
self.url = connect_to_server(host, port)
File "/home/senna/.local/lib/python3.10/site-packages/hyperon_das/decorators.py", line 45, in wrapper
raise ConnectionError(message)
hyperon_das.exceptions.ConnectionError: ('Failed to connect to remote Das 100.67.47.42:8080 - attempts:5 - time_attempted: 4.911945104598999', '')
Here's the beginning of the test python file used above:
[ninjato] ~/Downloads > cat test_fb_das.py
from hyperon_das import DistributedAtomSpace
import sys
host = '100.67.47.42'
port = '8080'
das = DistributedAtomSpace(query_engine='remote', host=host, port=port)
The text was updated successfully, but these errors were encountered:
I tested it deploying an OpenFaas with an old version:
And making a query with the recent lib version:
Here's the beginning of the test python file used above:
The text was updated successfully, but these errors were encountered: