Open gerrewsb opened 6 months ago
Based on the information provided, it seems like you are encountering issues with accessing the Elsa Workflows server and studio after pulling the Docker image and running it. Additionally, you are facing issues with setting up Elsa Server in a .NET 8 project.
For the Docker issue, it's important to ensure that the Docker container is running and properly configured. Since you mentioned setting ASPNETCORE_ENVIRONMENT
to Development
and PYTHONNET_PYDLL
to the specified path, please ensure that these environment variables are necessary and correctly set for the Elsa Docker image you are using. The PYTHONNET_PYDLL
variable is typically related to Python interop and may not be relevant unless you have specific Python dependencies.
The port mapping seems correct, as you've mapped the container's port 8080 to port 13000 on your host machine. However, the screenshot you've provided indicates that there might be an issue with the server not responding. This could be due to several reasons, such as the container not starting properly, a misconfiguration, or a network issue.
For the .NET 8 project setup, the error message about an endpoint being registered multiple times suggests there might be a conflict in your Program.cs
configuration. This could be due to duplicate calls to configure services or middleware that are trying to bind to the same path or route.
To troubleshoot these issues, I would recommend the following steps:
For the Docker issue:
docker ps
.docker logs <container_id>
.For the .NET 8 project setup:
Program.cs
file and ensure that there are no duplicate calls to app.MapControllers()
or similar methods that register endpoints.If you continue to face issues, please provide more detailed logs or error messages, and ensure that the configuration steps you've followed match the official documentation for the version of Elsa Workflows you are using.
For further assistance, you can refer to the official Elsa Workflows documentation and resources:
If you have followed all the steps correctly and the issue persists, it might be helpful to reach out to the Elsa Workflows community or support for more specific guidance.
i got the .NET8 program to run by making some small tweaks.
The Docker image is still not working unfortunately. I have to set the PYTHONNET_PYDLL becuse if i don't the application doesn't start because it can't load the Python engine:
I can confirm that the docker image is running:
There are no errors in the logs, just the usual warnings about EF Core but that's normal.
I tried different ports (that i know work from other projects) and it's the same issue.
Hi,
I have the same Docker Issue. This is how I started Elsa:
After getting the Error in the browser I tried
and got "connection was unexpectedly closed BR Gerhard
Hi,
Our company is in the process of migrating from Microsoft WWF to Elsa Workflows. I Pulled the elsaworkflows/elsa-server-and-studio-v3:latest image in Docker Desktop and set ASPNETCORE_ENVIRONMENT to Development and PYTHONNET_PYDLL to /usr/lib/x86_64-linux-gnu/libpython3.11.so.1.0 and the port to 13000 like the docs suggest.
I can see the application starting correctly and listening on port 8080 of the container (13000 on my device). however, when i browse to localhost:13000 either manually of by clicking the link of the docker container i just get a page that gives no response, no login request whatsoever.
Am i doing something wrong here?
Alternatively i followed the guide to build Elsa Server in a .NET8 project by adding the packages and setting up Program.cs, i followed the guide to the letter but again it's not starting correctly. This one is think is related to an endpoint being registered multiple times:
Hope i posted this in the right place.
Kind regards