On 2021-07-23 9:53 AM, Shawn Heisey wrote:
...
But the following line from your log does look like it's probably the
whole root of the issue:
Caused by: org.apache.solr.client.solrj.SolrServerException: Server
refused connection at: http://localhost:8983/solr/xwiki_events
Looks like you've got some kind of network connectivity problem in your
containers, where the container with xwiki cannot talk to the container
with solr. I don't know anything about docker, so I don't know where
you need to begin looking.
Off the top of my head it looks like the container-to-host connection
problem: they don't work because 127.0.0.1 maps to the container itself.
(Once you know what the problem is, google will find you plenty of
references, but if you don't know -- good luck with your searches.)
OP: try defining a network, give your containers hostnames, and use
those instead of mapping 8983 in one container and trying to talk to
localhost in the other.
Dima