lunes, 20 de junio de 2022

ELSA Dashboard no se Conecta o no me sa Carga la informacion / ELSA Dashboard does not connect or does not load the information

ES

Mientras trataba de realizar una implementación de ELSA siguiendo los tutoriales, me encontraba que aunque hacia el paso tal cual se indicaban, cuando intentaba conectar la ELSA Dashboard no funcionaba y esto se debía a 2 cosas:

  1.  Da un error de Elsa ERR_CONNECTION_REFUSED 5000 o 5001, el cual ya hice una publicación anterior de cómo resolverlo, dejo por aquí el link 
  2.  No se conecta o da pantalla en blanco o muestra la pantalla pero no carga información. Esto último se debe a que cuando se usa ELSA Dashboard colocamos el puerto 5000 o 5001, cuando en realidad se debe colocar el port de donde levanta la el API, ya que el puerto 5000 o 5001 lo va usar directamente el componente del ELSA Dashboard.

 Por ejemplo en el en la imagen siguiente vemos que la Aplicación Web abre en el puerto 44322


Entonces si utilizamos la imagen docker(para no hacer la explicación tan larga) deberíamos configurarlo de la siguiente mantera

docker run -t -i -e ELSA__SERVER__BASEADDRESS=https://localhost:44322 -p 14000:80 elsaworkflows/elsa-dashboard:latest

Abrimos el https://localhost:14000 y listo 


y dandole click sobre defenition deberiamos verlo asi





EN

While trying to carry out an ELSA implementation following the tutorials, I found that although I did the step as indicated, when I tried to connect the ELSA Dashboard it did not work and this was due to 2 things:

 It gives an error of Elsa ERR_CONNECTION_REFUSED 5000 or 5001, which I already made a previous post on how to solve it, I leave the link here
 It does not connect or gives a blank screen or shows the screen but does not load information. The latter is due to the fact that when using ELSA Dashboard we place port 5000 or 5001, when in fact the port from which the API picks up should be placed, since port 5000 or 5001 will be used directly by the ELSA Dashboard component.

 For example in the following image we see that the Web Application opens in port 44322


So if we use the docker image (so as not to make the explanation so long) we should configure it in the following way

docker run -t -i -e ELSA__SERVER__BASEADDRESS=https://localhost:44322 -p 14000:80 elsaworkflows/elsa-dashboard:latest

We open the https://localhost:14000 and ready


and clicking on definition we should see it like this



No hay comentarios:

Publicar un comentario

.