-
Notifications
You must be signed in to change notification settings - Fork 11
Description
`2024-12-17 13:09:47.761 Uncaught app exception
Traceback (most recent call last):
File "/home/sonu/.local/lib/python3.10/site-packages/pymongo/srv_resolver.py", line 97, in _resolve_uri
results = _resolve(
File "/home/sonu/.local/lib/python3.10/site-packages/pymongo/srv_resolver.py", line 45, in _resolve
return resolver.resolve(*args, **kwargs)
File "/home/sonu/.local/lib/python3.10/site-packages/dns/resolver.py", line 1565, in resolve
return get_default_resolver().resolve(
File "/home/sonu/.local/lib/python3.10/site-packages/dns/resolver.py", line 1307, in resolve
(request, answer) = resolution.next_request()
File "/home/sonu/.local/lib/python3.10/site-packages/dns/resolver.py", line 749, in next_request
raise NXDOMAIN(qnames=self.qnames_to_try, responses=self.nxdomain_responses)
dns.resolver.NXDOMAIN: The DNS query name does not exist: _mongodb._tcp.dental-diagnosis.xevq3.mongodb.net.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/sonu/.local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
exec(code, module.dict)
File "/home/sonu/git/Ai_tooth/DentalDiagnosisTools/app.py", line 10, in
import root_seg
File "/home/sonu/git/Ai_tooth/DentalDiagnosisTools/root_seg.py", line 25, in
connect(host="mongodb+srv://adithya_admin:[email protected]/dental_diagnosis?retryWrites=true&w=majority")
File "/home/sonu/.local/lib/python3.10/site-packages/mongoengine/connection.py", line 469, in connect
register_connection(alias, db, **kwargs)
File "/home/sonu/.local/lib/python3.10/site-packages/mongoengine/connection.py", line 253, in register_connection
conn_settings = _get_connection_settings(
File "/home/sonu/.local/lib/python3.10/site-packages/mongoengine/connection.py", line 128, in _get_connection_settings
uri_dict = uri_parser.parse_uri(entity)
File "/home/sonu/.local/lib/python3.10/site-packages/pymongo/uri_parser.py", line 556, in parse_uri
nodes = dns_resolver.get_hosts()
File "/home/sonu/.local/lib/python3.10/site-packages/pymongo/srv_resolver.py", line 131, in get_hosts
_, nodes = self._get_srv_response_and_hosts(True)
File "/home/sonu/.local/lib/python3.10/site-packages/pymongo/srv_resolver.py", line 111, in _get_srv_response_and_hosts
results = self._resolve_uri(encapsulate_errors)
File "/home/sonu/.local/lib/python3.10/site-packages/pymongo/srv_resolver.py", line 105, in _resolve_uri
raise ConfigurationError(str(exc))
pymongo.errors.ConfigurationError: The DNS query name does not exist: _mongodb._tcp.dental-diagnosis.xevq3.mongodb.net.
`
getting the above issue could you share the Mongo DB collection so I can replace it with my database