On 7/23/2021 12:00 AM, Kamil Kawka wrote:
Hello, i am trying to connect xwiki to remote solr on the same machine using containers. I have realized that containers are aware of each other in the docker network however they are unable to connect with java to create Xwiki’s cores i suppose. On the other hand i can log into these ports (80 and 8983) through the telnet. I have been searching on google, xwiki docs, solr docs and xwiki forum however nobody met similar problem. I work with the latest version of Solr and Xwiki. Here are some logs:
We don't know anything about xwiki. We also don't know anything about your Solr setup.
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.
Thanks, Shawn
