Noticing that luxonis.com has ssl, I changed the URL used in model_compiler.py to https and added luxonis ssl cert to my python environment's cacert.pem file.
This produced a different error:
Unknown error occured: HTTPSConnectionPool(host='69.164.214.171', port=8083): Max retries exceeded with url: /compile?version=2020.1 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000002EFF1939E20>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))
Traceback (most recent call last):
File "C:\Users\dn\.conda\envs\depthai_env\depthai\depthai_demo.py", line 415, in <module>
dai.startLoop()
File "C:\Users\dn****\.conda\envs\depthai_env\depthai\depthai_demo.py", line 45, in startLoop
configMan = DepthConfigManager(args)
File "C:\Users\dn****\.conda\envs\depthai_env\depthai\depthai_helpers\config_manager.py", line 26, in __init__
self.generateJsonConfig()
File "C:\Users\dn****\.conda\envs\depthai_env\depthai\depthai_helpers\config_manager.py", line 192, in generateJsonConfig
blobMan = BlobManager(self.args, self.calc_dist_to_bb, shave_nr, cmx_slices, NCE_nr)
File "C:\Users\dn****\.conda\envs\depthai_env\depthai\depthai_helpers\config_manager.py", line 377, in __init__
self.blob_file = self.compileBlob(self.args['cnn_model'], self.args['model_compilation_target'])
File "C:\Users\dn****\.conda\envs\depthai_env\depthai\depthai_helpers\config_manager.py", line 431, in compileBlob
ret = download_and_compile_NN_model(nn_model, model_zoo_folder, shave_nr_opt, cmx_slices_opt, NCE_nr, outblob_file, model_compilation_target)
File "C:\Users\dn****\.conda\envs\depthai_env\depthai\model_compiler\model_compiler.py", line 182, in download_and_compile_NN_model
raise RuntimeError("Model compiler failed! Not connected to the internet?")
RuntimeError: Model compiler failed! Not connected to the internet?
Still not sure how to remedy. Any insight would be helpful.