To create wiktionaries, I am scraping and using couchdb. Ran an update of the system recentlz ( a month ago or so) and I guess since then I do not have access to couchdb anymore.
The older version was 3.1 or 3.2 now it seems to be 3.3.3 according to
~$ ps -ef | grep couchdb
couchdb 42920 1 45 15:21 ? 00:00:00 /opt/couchdb/bin/../erts-12.3.2.15/bin/beam.smp -SDio 16 -Bd -- -root /opt/couchdb/bin/.. -progname couchdb -- -home /opt/couchdb -- -boot /opt/couchdb/bin/../releases/3.3.3/couchdb -name cou...@127.0.0.1 -setcookie cookie -kernel inet_dist_use_interface {127,0,0,1} -kernel error_logger silent -sasl sasl_error_logger false -kernel prevent_overlapping_partitions false -noshell -noinput -ssl session_lifetime 300 -- -config /opt/couchdb/bin/../releases/3.3.3/sys.config --
couchdb 42931 1 0 15:21 ? 00:00:00 /opt/couchdb/bin/../erts-12.3.2.15/bin/epmd -daemon
couchdb 42935 42920 0 15:21 ? 00:00:00 erl_child_setup 65536
markus 42963 38308 0 15:21 pts/1 00:00:00 grep couchdb
Trying to connect to fouton is not possible
are throwing the error
This site can’t be reached xxx refused to connect.
Just for completeness
admin with password is installed and was working
mwscrape access is returning
Connecting http://192.168.178.69:5984 as user admin
Traceback (most recent call last):
File "/home/markus/env-mwscrape/bin/mwscrape", line 11, in <module>
load_entry_point('mwscrape==1.0', 'console_scripts', 'mwscrape')()
File "/home/markus/env-mwscrape/lib/python3.9/site-packages/mwscrape/scrape.py", line 318, in main
sessions_db = couch_server.create(sessions_db_name)
File "/home/markus/env-mwscrape/lib/python3.9/site-packages/couchdb/client.py", line 221, in create
self.resource.put_json(name)
File "/home/markus/env-mwscrape/lib/python3.9/site-packages/couchdb/http.py", line 577, in put_json
return self._request_json('PUT', path, body=body, headers=headers,
File "/home/markus/env-mwscrape/lib/python3.9/site-packages/couchdb/http.py", line 595, in _request_json
status, headers, data = self._request(method, path, body=body,
File "/home/markus/env-mwscrape/lib/python3.9/site-packages/couchdb/http.py", line 590, in _request
return self.session.request(method, url, body=body,
File "/home/markus/env-mwscrape/lib/python3.9/site-packages/couchdb/http.py", line 295, in request
conn = self.connection_pool.get(url)
File "/home/markus/env-mwscrape/lib/python3.9/site-packages/couchdb/http.py", line 515, in get
conn.connect()
File "/usr/lib/python3.9/http/client.py", line 921, in connect
self.sock = self._create_connection(
File "/usr/lib/python3.9/socket.py", line 843, in create_connection
raise err
File "/usr/lib/python3.9/socket.py", line 831, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused same effect with
connection refused
I ran out of ideas. Any hints?
Markus