skip to Main Content

asp.net mongo db 'System.TimeoutException: A timeout occurred after 30000ms' in docker compose

I'm getting this error in my asp.API docker-compose logs fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1] An unhandled exception has occurred while executing the request. System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = MongoDB.Driver.MongoClient+AreSessionsSupportedServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector…

VIEW QUESTION

azure webapp for containers docker-compose.yml referencing bitnami images

First time using Azure. I have the following docker-compose.yml (some values X'd here for security) version: '2' services: mariadb: image: docker.io/bitnami/mariadb:10.6 environment: - MARIADB_USER=bn_moodle - MARIADB_PASSWORD=XXXXX - MARIADB_ROOT_PASSWORD=XXXXX - MARIADB_DATABASE=bitnami_moodle - MARIADB_CHARACTER_SET=utf8mb4 - MARIADB_COLLATE=utf8mb4_unicode_ci volumes: - 'mariadb_data:/bitnami/mariadb' moodle: image: docker.io/bitnami/moodle:3…

VIEW QUESTION

MySQL Container keep not connecting to my container – Docker

I'm starting mysql server using docker-compose here is my docker-compose.yml file: version: "3.9" services: mysqldb: image: mysql:8.0 container_name: mysqlcontainer command: --default-authentication-plugin=mysql_native_password restart: unless-stopped volumes: - ./db/init.sql:/docker-entrypoint-initdb.d/0_init.sql - C:/Users/crisp/OneDrive/Desktop/html/database:/var/lib/mysql ports: - 8080:3306 expose: - 8080 environment: MYSQL_DATABASE: todos MYSQL_USER: admin MYSQL_PASSWORD:…

VIEW QUESTION
Back To Top
Search