Replies: 1 comment
-
the If you don't use the "consumer pull" transfer method but only push you could remove the module from the runtime, otherwise you'll need to set up a backend service that could receive that endpoint (it's explained in the sample transfer-02) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I have started to make the examples of this EDC repository, as I intend to start working with EDC to implement it in some project. And I'm having problems to deploy the connectors (both consumer and producer) of the "Transfer sample 00: Prerequisites" example using Docker. In the previous examples I managed to deploy it correctly but in this case with the new dependencies and plugins I can't solve the error. For the deployment I first define a Dockerfile to build the image that I will use with the .jar of the application. Below is the one I have used:
Then using a docker-compose, I define the template to deploy both consumer/provider containers on the same Docker network with their respective variables and ports.
The problem comes with the "edc.receiver.http.endpoint" parameter of both connectors as indicated in the container logs: "org.eclipse.edc.spi.EdcException: Missing mandatory http receiver endpoint:
edc.receiver.http.endpoint
". This parameter that is defined in the configuration files of both connectors was defined as localhost at the beginning, but after modifying the parameters by the dns names of the docker network it seems that the connectors don't manage to connect to the endpoint. Below is the provider configuration file:I have tried swapping the names of the containers in the configuration file but I still can't get them deployed without error. Maybe my problem is that I am not understanding how the "edc.receiver.http.endpoint" service works correctly. Could someone help me to deploy the connectors correctly and follow the transfer tutorial?
Thanks in advance for your assistance!
Jon
Beta Was this translation helpful? Give feedback.
All reactions