Share ERR_CONNECTION_REFUSED

cancel
Showing results for 
Search instead for 
Did you mean: 
agustinlare
Member II

Share ERR_CONNECTION_REFUSED

Jump to solution

Hi,

First I wanna thank everyone, I'm a beginner at alfresco and kubernetes technology so sorry if I'm asking something dumb...

Short version:

I cant make the share pods post anything but ERR_CONNECTION_REFUSED and theres no error in the logs. In fact all the logs are normal as far as i can tell.

Long version:

I'm deploying alfresco in a local kubernetes cluster (so is not a aws), at first I tried to work with the helm since i've already install another aplication with it but, had a million problems that didn't know how to solve them so I stick with the simple of all the posibilities in github Contributing guide, the docker-compose. 

I did make it work in my local machine, actually didnt have any trouble at all, and went head to make a new image with a couple of things, like ldap integration configuration and the postgres external database. 

But at my job they told me i shouldn't translate the docker-compose like it's shown here... and told me to make the yamls required to deploy the images that i've created, and so I did.

Deploy:

  • activemq
  • alfresco
  • share
  • solr

Ingress

  • Modification of one we already have which I'll attached

PV and PVC

  • alfresco-search-solr
  • alfresco-volume

Alfresco, works fine, even with the dns.

Solr, works only if I curl with the ip and port.

Share, err_connection_refused

I been working and trying with this for almost 2 weeks now, and I feel I'm close of the end but can actually find the reason why isnt working properly.

Thank you in advance.

Kind regards,

Agustín

1 Solution

Accepted Solutions
fedorow
Senior Member II

Re: Share ERR_CONNECTION_REFUSED

Jump to solution

You telling my story. I tryed to make kubernetes deployment, have had a lots of problems, and steped back to docker-compose. So I'm not a kubernetes specialist, my suggestions could be dubm, but I wander and want to go this way to.

Let's clear some things:

  • You have docker-compose deployment.
  • You have customised images: registry.gyf.com/alfresco-gyf; registry.gyf.com/share-gyf...
  • It works fine on docker-compose.

Now you want to migrate from docker-compose to kubernetes.

  • Do you try deploy clear images from Alfresco docker hub without yours customisation?
  • What about network? Do your Share node expose 8081 port? Clear alfresco share image expose 8080 port. I don't find any settings to redirect 8080 image port to 8081 node port. Did you do it in Dockerfile of registry.gyf.com/share-gyf? Check configuration files to determine the exposed ports - refer to the host:nodes port definitions. Make sure that exposed ports are open on your host.

View solution in original post

2 Replies
fedorow
Senior Member II

Re: Share ERR_CONNECTION_REFUSED

Jump to solution

You telling my story. I tryed to make kubernetes deployment, have had a lots of problems, and steped back to docker-compose. So I'm not a kubernetes specialist, my suggestions could be dubm, but I wander and want to go this way to.

Let's clear some things:

  • You have docker-compose deployment.
  • You have customised images: registry.gyf.com/alfresco-gyf; registry.gyf.com/share-gyf...
  • It works fine on docker-compose.

Now you want to migrate from docker-compose to kubernetes.

  • Do you try deploy clear images from Alfresco docker hub without yours customisation?
  • What about network? Do your Share node expose 8081 port? Clear alfresco share image expose 8080 port. I don't find any settings to redirect 8080 image port to 8081 node port. Did you do it in Dockerfile of registry.gyf.com/share-gyf? Check configuration files to determine the exposed ports - refer to the host:nodes port definitions. Make sure that exposed ports are open on your host.
agustinlare
Member II

Re: Share ERR_CONNECTION_REFUSED

Jump to solution

You were right, was following docker steps where I expose the 8080 to the 8081

Thank you so much!