FYDP-1nil / backend

Fourth Year Design Project @ UWaterloo
https://www.eng.uwaterloo.ca/2023-capstone-design/electrical-computer/
3 stars 1 forks source link

[Bug] Fix "DNS resolution failed" bug #12

Closed Shreyas15srivatsa closed 1 year ago

Shreyas15srivatsa commented 1 year ago

After migrating the backend to be hosted using docker containers, grpc is having a hard time to communicate between docker images. More specifically, the 1nil-mantle docker image can't find the DNS hostname for 1nil-stats, another docker image.

details = "DNS resolution failed for '1nil-stats':50052: UNKNOWN: Name or service not known"
1nil-mantle    |    debug_error_string = "UNKNOWN:DNS resolution failed for '1nil-stats':50052: UNKNOWN: Name or service not known {grpc_status:14, created_time:"2023-02-19T17:12:13.780869384+00:00"}"
Shreyas15srivatsa commented 1 year ago

PR -> https://github.com/FYDP-1nil/backend/pull/18

madhur4444 commented 1 year ago

LGTM)