Skip to content
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.

[BUG] 🐞 Unable to visualize logs in zipkin #17

Open
candoumbe opened this issue Jun 1, 2021 · 0 comments
Open

[BUG] 🐞 Unable to visualize logs in zipkin #17

candoumbe opened this issue Jun 1, 2021 · 0 comments
Assignees
Labels
bug 🪲 Something isn't working dev-xp Related to development experience

Comments

@candoumbe
Copy link
Owner

When running nuke run --services <service> command on a Windows 10 WSL2

Stacktrace

> C:\Users\ndoum\.dotnet\tools\tye.exe run --tags identity  --dashboard --dtrace zipkin=http://localhost:59411 --logs seq=http://localhost:55341
Loading Application Details...
Launching Tye Host...

[23:17:39 INF] Executing application from C:\Users\ndoum\Projects\Perso\MedEasy\tye.yaml
[23:17:39 INF] dtrace: Using Zipkin at URL http://localhost:59411
[23:17:39 INF] logs: Using Seq at http://localhost:55341
[23:17:39 INF] Dashboard running on http://127.0.0.1:8000
[23:17:41 INF] Docker image datalust/seq already installed
[23:17:41 INF] Docker image openzipkin/zipkin already installed
[23:17:41 INF] Docker image postgres:12-alpine already installed
[23:17:41 INF] Docker image masstransit/rabbitmq:3.8 already installed
[23:17:41 INF] Creating docker network tye_network_07f685e9-5
[23:17:41 INF] Running docker command network create --driver bridge tye_network_07f685e9-5
[23:17:42 INF] Running image postgres:12-alpine for identity_390d6523-4
[23:17:42 INF] Running image datalust/seq for seq_f8b6b358-b
[23:17:42 INF] Running image masstransit/rabbitmq:3.8 for message-bus_8d2b4388-1
[23:17:42 INF] Running image openzipkin/zipkin for zipkin_c7e8b09e-2
[23:17:42 INF] Building projects
[23:17:43 ERR] docker run failed for zipkin with exit code 125:
[23:17:44 INF] Running container identity_390d6523-4 with ID b0574402f78a
[23:17:44 INF] Running docker command network connect tye_network_07f685e9-5 identity_390d6523-4 --alias identity
[23:17:44 INF] Running container identity-api-proxy_9d5b1820-d with ID 6e0c574052f2
[23:17:44 INF] Running docker command network connect tye_network_07f685e9-5 identity-api-proxy_9d5b1820-d --alias identity-api
[23:17:45 INF] Launching service proxy_9593eaed-a: C:\Users\ndoum\Projects\Perso\MedEasy\src\services\proxy\MedEasy.ReverseProxy\bin\Debug\net5.0\MedEasy.ReverseProxy.exe
[23:17:45 INF] Launching service identity-api_9088091a-3: C:\Users\ndoum\Projects\Perso\MedEasy\src\services\identity\Identity.API\bin\Debug\net5.0\Identity.API.exe
[23:17:45 INF] identity-api_9088091a-3 running on process id 18884 bound to http://localhost:63022, https://localhost:63023
[23:17:45 INF] Replica identity-api_9088091a-3 is moving to a ready state
[23:17:45 INF] proxy_9593eaed-a running on process id 5772 bound to https://localhost:63021
[23:17:45 INF] Replica proxy_9593eaed-a is moving to a ready state
[23:17:45 INF] Running container proxy-proxy_701b2b5d-b with ID 3d25dc8498bc
[23:17:45 INF] Running docker command network connect tye_network_07f685e9-5 proxy-proxy_701b2b5d-b --alias proxy
[23:17:45 INF] Running container seq_f8b6b358-b with ID d0adb9a89c73
[23:17:45 INF] Running docker command network connect tye_network_07f685e9-5 seq_f8b6b358-b --alias seq
[23:17:45 INF] Selected process 18884.
[23:17:45 INF] Listening for event pipe events for identity-api_9088091a-3 on process id 18884
[23:17:46 INF] Selected process 5772.
[23:17:46 INF] Listening for event pipe events for proxy_9593eaed-a on process id 5772
[23:17:46 INF] Replica identity_390d6523-4 is moving to a ready state
[23:17:46 INF] Collecting docker logs for identity_390d6523-4.
[23:17:46 INF] Collecting docker logs for identity-api-proxy_9d5b1820-d.
[23:17:46 INF] Running container message-bus_8d2b4388-1 with ID 0eb71961cd33
[23:17:46 INF] Running docker command network connect tye_network_07f685e9-5 message-bus_8d2b4388-1 --alias message-bus
[23:17:46 INF] Collecting docker logs for proxy-proxy_701b2b5d-b.
[23:17:47 INF] Replica message-bus_8d2b4388-1 is moving to a ready state
[23:17:47 INF] Collecting docker logs for message-bus_8d2b4388-1.
[23:17:47 INF] Replica seq_f8b6b358-b is moving to a ready state
[23:17:47 INF] Collecting docker logs for seq_f8b6b358-b.

Tye configuration

# tye application configuration file
# read all about it at https://github.com/dotnet/tye
#
# when you've given us a try, we'd love to know what you think:
#    https://aka.ms/AA7q20u
#
name: medeasy
extensions:
- name: zipkin

  
  
services:
- name: proxy
  project: src/services/proxy/MedEasy.ReverseProxy/MedEasy.ReverseProxy.csproj
  tags:
  - proxies
  - frontends
  - backends
  - agenda
  - identity
  - documents
  - measures
  bindings:
  - protocol: https
- name: web
  project: src/clients/web/MedEasy/Medeasy.csproj
  tags:
  - frontends
  - web
- name: identity-api
  project: src/services/identity/Identity.API/Identity.API.csproj
  tags:
  - backends
  - identity
- name: measures-api
  project: src/services/Measures/Measures.API/Measures.API.csproj
  tags:
  - backends
  - measures
- name: patients-api
  project: src/services/Patients/Patients.API/Patients.API.csproj
  tags:
  - backends
  - patients
- name: agenda-api
  project: src/services/agenda/Agenda.API/Agenda.API.csproj
  tags:
  - backends
  - agenda
- name: documents-api
  project: src/services/document/Documents.API/Documents.API.csproj
  tags:
  - backends
  - documents
- name: identity
  image: postgres:12-alpine
  env:
  - POSTGRES_PASSWORD="pass@word1"
  - POSTGRES_USER="identity_api"
  - POSTGRES_DB="identity"
  bindings:
    - containerPort: 5432
      connectionString: Server=${host};Port=${port};Database=${env:POSTGRES_DB};User ID=${env:POSTGRES_USER};Password=${env:POSTGRES_PASSWORD};
  tags:
  - backends
  - identity
  - databases
- name: measures
  image: postgres:12-alpine
  env:
  - POSTGRES_PASSWORD="pass@word1"
  - POSTGRES_USER="measures_api"
  - POSTGRES_DB="measures"
  bindings:
    - containerPort: 5432
      connectionString: Server=${host};Port=${port};Database=${env:POSTGRES_DB};User ID=${env:POSTGRES_USER};Password=${env:POSTGRES_PASSWORD};
  tags:
  - backends
  - measures
  - databases
- name: documents
  image: postgres:12-alpine
  env:
  - POSTGRES_PASSWORD="pass@word1"
  - POSTGRES_USER="documents_api"
  - POSTGRES_DB="documents"
  bindings:
    - containerPort: 5432
      connectionString: Server=${host};Port=${port};Database=${env:POSTGRES_DB};User ID=${env:POSTGRES_USER};Password=${env:POSTGRES_PASSWORD};
  tags:
  - backends
  - documents
  - databases
- name: patients
  image: postgres:12-alpine
  env:
  - POSTGRES_PASSWORD="pass@word1"
  - POSTGRES_USER="patients_api"
  - POSTGRES_DB="patients"
  bindings:
    - containerPort: 5432
      connectionString: Server=${host};Port=${port};Database=${env:POSTGRES_DB};User ID=${env:POSTGRES_USER};Password=${env:POSTGRES_PASSWORD};
  tags:
  - backends
  - patients
  - databases
- name: agenda
  image: postgres:12-alpine
  env:
  - POSTGRES_PASSWORD="pass@word1"
  - POSTGRES_USER="agenda_api"
  - POSTGRES_DB="agenda"
  bindings:
    - containerPort: 5432
      connectionString: Server=${host};Port=${port};Database=${env:POSTGRES_DB};User ID=${env:POSTGRES_USER};Password=${env:POSTGRES_PASSWORD};
  tags:
  - backends
  - agenda
  - databases
- name: seq
  image: datalust/seq
  env:
    - name: "ACCEPT_EULA"
      value: "Y"
  bindings:
    - name: ui
      port: 55340
      protocol: http
      containerPort: 80
    - name: internal
      containerPort: 5341
      port : 55341
  tags:
  - backends
  - agenda
  - documents
  - identity
  - patients
  - measures
- name: message-bus
  image: masstransit/rabbitmq:3.8
  bindings:
    - name: internal
      containerPort : 5672
      protocol: rabbitmq
    - name: ui
      containerPort: 15672
      protocol: http
  tags:
    - backends
    - agenda
    - documents
    - identity
    - measures
    - patients
    - esb
- name: zipkin
  image: openzipkin/zipkin
  bindings:
    - port: 59411
      containerPort: 9411
      protocol: http
@candoumbe candoumbe added bug 🪲 Something isn't working dev-xp Related to development experience labels Jun 1, 2021
@candoumbe candoumbe self-assigned this Jun 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug 🪲 Something isn't working dev-xp Related to development experience
Projects
None yet
Development

No branches or pull requests

1 participant