New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when docker-compose #192
Comments
@MarkusHorstmann ,hello, can I help you with the debug? I only program js but tell me if I can do something. |
Hello, maybe I am doing something wrong...which is strange because docker-compose is straightforward. Can someone check or help me? |
@MarkusHorstmann will be in touch soon. |
Looking into this now. |
I just verified that the docker-compose in general still works in at least these scenarios:
cd cd c:\sources\OPCFoundation\UA-CloudLibrary\
docker-compose up In both cases I had to rerun the ua-cloudlibrary-1 container on first run because it doesn't wait for the pg database container to start. Possible issues in your case:
|
Hello, here my debug session:
I just want to run the complete platform into a docker system in a VM: all the components. |
Is it possible that you are connecting through a proxy server? See https://stackoverflow.com/questions/50347517/docker-unable-to-load-the-service-index-for-source-https-api-nuget-org-v3-inde. |
It could be the issue for error 1 and 3 of my previous post but not for the case where I downloaded directly the image. You can see that the error is this case is related to HTTPS and server certificate. |
Hello, below the error when I run it from a computer without proxy: cmd
|
This error indicates that you don't have a GIT repository clone, but only the files. Building the cloudlibrary requires a valid GIT repository. |
@alexmc1510, are you now unblocked? |
Hello, I finally managed to deploy the compose as you mentioned using another laptop. It seems everything ok, db is up and running but I cannot access to the web interface of the library in port 8443. Here the log of the container and the error:
Do you have any idea.... |
Can you double-check in your docker environment that port 80 is mapped to port 8443? |
In the docker-compose you have the following so no....I confirm you that it is not mapped. The compose file is mapping 443 to 8443.
|
Ok, then make sure you use https://localhost |
Hello, I managed to enter in the main page adding port mapping for port 80, nevertheless, it seems that without a cloud deployment I cannot login as an external service is required. Is it not possible to have the library running in "PROD" on premise? Do you know what could be the issue of not accessing by port 443? |
@MarkusHorstmann , any idea? |
Hello,
I am trying to install the project in a local environment for test and I receive the following error when running docker compose:
=> CACHED [build 3/7] COPY [UACloudLibraryServer/UA-CloudLibrary.csproj, UACloudLibraryServer/] 0.0s
=> [build 4/7] RUN dotnet restore "UACloudLibraryServer/UA-CloudLibrary.csproj" 140.3s
=> => # /src/UACloudLibraryServer/UA-CloudLibrary.csproj : error NU1301: Unable to load the service index for source h
=> => # ttps://api.nuget.org/v3/index.json.
The text was updated successfully, but these errors were encountered: