Hi, all
i have a vps with almalinux distro (centos derivatives).
On this server i have
moodle.domain1.xxx
and eagle.domain2.xxx.
Now i want to use jobe server in my moodle.
I lanch via ssh in jobe folder script testsubmit.py.
i receive error
Supported languages:
Traceback (most recent call last):
File "testsubmit.py", line 1025, in <module>
sys.exit(main())
File "testsubmit.py", line 997, in main
do_get_languages()
File "testsubmit.py", line 958, in do_get_languages
ok, lang_versions = do_http('GET', resource)
File "testsubmit.py", line 888, in do_http
connect = http_request(method, resource, data, headers)
File "testsubmit.py", line 771, in http_request
connect.request(method, resource, data, headers)
File "/usr/lib64/python3.6/http/client.py", line 1269, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib64/python3.6/http/client.py", line 1315, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib64/python3.6/http/client.py", line 1264, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib64/python3.6/http/client.py", line 1040, in _send_output
self.send(msg)
File "/usr/lib64/python3.6/http/client.py", line 978, in send
self.connect()
File "/usr/lib64/python3.6/http/client.py", line 950, in connect
(self.host,self.port), self.timeout, self.source_address)
File "/usr/lib64/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/lib64/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
i think that i miss some question of installation.
when i launch in browser https://jobe.domain1.xxx/jobe/index.php/restapi/languages
i see json file in browser.
How do i resolve ?
Thank yout