runtime error
errors) dns.resolver.LifetimeTimeout: The resolution lifetime expired after 21.126 seconds: Server Do53:172.20.0.10@53 answered The DNS operation timed out.; Server Do53:172.20.0.10@53 answered The DNS operation timed out.; Server Do53:172.20.0.10@53 answered The DNS operation timed out.; Server Do53:172.20.0.10@53 answered The DNS operation timed out.; Server Do53:172.20.0.10@53 answered The DNS operation timed out.; Server Do53:172.20.0.10@53 answered The DNS operation timed out.; Server Do53:172.20.0.10@53 answered The DNS operation timed out. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 14, in <module> mongo_client = MongoClient(uri) File "/home/user/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 748, in __init__ res = uri_parser.parse_uri( File "/home/user/.local/lib/python3.10/site-packages/pymongo/uri_parser.py", line 539, in parse_uri nodes = dns_resolver.get_hosts() File "/home/user/.local/lib/python3.10/site-packages/pymongo/srv_resolver.py", line 121, in get_hosts _, nodes = self._get_srv_response_and_hosts(True) File "/home/user/.local/lib/python3.10/site-packages/pymongo/srv_resolver.py", line 101, in _get_srv_response_and_hosts results = self._resolve_uri(encapsulate_errors) File "/home/user/.local/lib/python3.10/site-packages/pymongo/srv_resolver.py", line 97, in _resolve_uri raise ConfigurationError(str(exc)) pymongo.errors.ConfigurationError: The resolution lifetime expired after 21.126 seconds: Server Do53:172.20.0.10@53 answered The DNS operation timed out.; Server Do53:172.20.0.10@53 answered The DNS operation timed out.; Server Do53:172.20.0.10@53 answered The DNS operation timed out.; Server Do53:172.20.0.10@53 answered The DNS operation timed out.; Server Do53:172.20.0.10@53 answered The DNS operation timed out.; Server Do53:172.20.0.10@53 answered The DNS operation timed out.; Server Do53:172.20.0.10@53 answered The DNS operation timed out.
Container logs:
Fetching error logs...