Category : connection

I have one problem wich can’t solve along time. I’m new in docker. I try connect to oscarfonts/h2 database through docker and there is no connection. compose.yml version: ‘3.6’ services: db: container_name: dbb image: oscarfonts/h2 hostname: h2 ports: – ‘1521:1521′ – ’81:81’ environment: – ‘H2_OPTIONS=-ifNotExists’ volumes: – /src/main/resources/:/opt/h2-data/ servlets: container_name: servlets build: . ports: – ..

Read more

I am currently working with a multi host fabric network using fabric version 2.1 and docker swarm mode (many components based on https://kctheservant.medium.com/multi-host-deployment-for-first-network-hyperledger-fabric-v2-273b794ff3d). Currently I’m facing a problem during the implementation of an application as an API for chaincode interaction and testing purposes which is based on the the getting-started – application guide from the ..

Read more

I have been following this official documentation https://airflow.apache.org/docs/apache-airflow/stable/howto/connection.html to try to set up connections in Airflow. I want to access the uri of the connections in my python scripts so that I can work with my databases. airflow connections get sqlite_default in bash gives me details of the connection. I want to do a similar ..

Read more

This is the error I am getting when I docker-compose up my app in docker-desktop. { { }} panic: error parsing uri: scheme must be "mongodb" or "mongodb+srv" goroutine 1 [running]: go-products/database.ConnectDB(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /app/database/database.go:15 +0x145 main.main() /app/main.go:14 +0x13d Here is my main.go file package main import ( "fmt" "github.com/gorilla/mux" "go-products/config" ..

Read more

Docker containers connect on start to each other succesfully. But after some time an error occured in "connect" container Connection to node -1 (broker/172.27.0.3:29092) could not be established. Broker may not be available. Docker-compose file: version: "2.4" ### Common settings section ### x-common: &common logging: options: max-size: "1m" max-file: "10" env_file: .env restart: unless-stopped # ..

Read more

So… I’m testing the communication between 2 flask apps in 2 containers. The idea is to have a WebApp to send a GET request to a DataService app and show me the result. I’m running both services from independent containers. I’m getting an error: "ConnectionError: HTTPConnectionPool: Max retries exceeded with url" when I access my ..

Read more