Open itachiliu opened 1 year ago
I have the same issue. I have configured a DSC and its UI using docker. I can access the connector API Swagger UI and try many of the request that the UI is giving error.
In the UI I get the same error: Error: connect ECONNREFUSED 127.0.0.1:8080
I have checked the port of the connector is correct.
I will also appreciate if anyone can provide some help to solve this issue
heya fellas, anyone managed to solve this error?
i tried changing "username" to "key" and "password" to "value" in the authentication headers, as an old issue suggested, but still no improvement.
thanks again!
I used this docker-compose.yml to solve this problem.
Change CONNECTOR_URL=https://localhost:8080
to CONNECTOR_URL=https://dc:8080
Because CONNECTOR_URL=https://localhost:8080
will access to dataspace-connector-ui self.
version: '3.5'
services:
dataspace-connector:
container_name: "dc"
image: ghcr.io/international-data-spaces-association/dataspace-connector:latest
ports:
- "8080:8080"
dataspace-connector-ui:
container_name: "dci"
image: ghcr.io/international-data-spaces-association/dataspace-connector-ui:sha-1d4426a
environment:
- CONNECTOR_URL=https://dc:8080
- CONNECTOR_USER=admin
- CONNECTOR_PASSWORD=password
ports:
- "8083:8083"
Hello, I installed the dataspace connector and the dataspace connectorUI as instructed. Here's how:
dataspace connector:
docker run -p 8080:8080 --name connector ghcr.io/international-data-spaces-association/dataspace-connector:latest
dataspace connectorUI:
and the docker build hint: npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it npm WARN backend@1.0.1 No description npm WARN backend@1.0.1 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
but it build and execute successfully.
Next step, I access the localhost:8083, there are some error int the website:
the log show :
Then I access 'https://admin:password@localhost:8080/api/configurations' by website, it succeed.
Error: connect ECONNREFUSED 127.0.0.1:8080
So, what's wrong with my option and how to solve it,can you help me?
Thanks.