I’m having an issue when trying to connect to the mflix site (localhost:5000) with python run.py or when trying to run the notebook cursor_methods_agg_equivalents (or any that tries to make a connection string).
it fails both in name.py
c:\python\lib\site-packages\dns\name.py in from_unicode(text, origin, idna_codec)
787 if len(label) == 0:
–> 788 raise EmptyLabel
EmptyLabel: A DNS label is empty.
and in uri_parser.py
During handling of the above exception, another exception occurred:
c:\python\lib\site-packages\pymongo\uri_parser.py in _get_dns_srv_hosts(hostname)
287 results = resolver.query(’_mongodb._tcp.’ + hostname, ‘SRV’)
288 except Exception as exc:
–> 289 raise ConfigurationError(str(exc))
290 return [(maybe_decode(res.target.to_text(omit_final_dot=True)), res.port)
291 for res in results]
ConfigurationError: A DNS label is empty.
Does anyone has an idea what could it be? I was able to make the first chapters without issue last week.