SKR 1.2 Pro help compiling

So I got a new SKR Pro 1.2 main board and was trying to upgrade my printer but am failing miserably. I can compile my SKR 2 board just fine and I’ve tried uninstalling and reinstalling everything as well as checking my internet connection and turning off the SSL check. I can’t get past this. Any help would be appreciated.

Processing BIGTREE_SKR_PRO (board: marlin_BigTree_SKR_Pro; platform: ststm32@~12.1; framework: arduino)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: 
PLATFORM: ST STM32 (12.1.1) > STM32F407ZG (192k RAM. 1024k Flash)
HARDWARE: STM32F407ZGT6 168MHz, 192KB RAM, 1MB Flash
DEBUG: Current (stlink) External (jlink, stlink)
PACKAGES:
 - framework-arduinoststm32 4.10900.200819 (1.9.0)
 - framework-cmsis 2.50501.200527 (5.5.1)
 - toolchain-gccarmnoneeabi 1.90201.191206 (9.2.1)
Converting Marlin.ino
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Library Manager: Installing TMCStepper @ ~0.7.3
HTTPClientError: HTTPSConnectionPool(host='api.registry.ns1.platformio.org', port=443): Max retries exceeded with url: /v3/search?query=type%3A%22library%22+name%3A%22tmcstepper%22 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)'))):
  File "C:\Users\10002038\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 181:
    env.SConscript("$BUILD_SCRIPT")
  File "C:\Users\10002038\.platformio\packages\tool-scons\scons-local-4.3.0\SCons\Script\SConscript.py", line 597:
    return _SConscript(self.fs, *files, **subst_kw)
  File "C:\Users\10002038\.platformio\packages\tool-scons\scons-local-4.3.0\SCons\Script\SConscript.py", line 285:
    exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
  File "C:\Users\10002038\.platformio\platforms\ststm32\builder\main.py", line 120:
    target_elf = env.BuildProgram()
  File "C:\Users\10002038\.platformio\packages\tool-scons\scons-local-4.3.0\SCons\Util.py", line 742:
    return self.method(*nargs, **kwargs)
  File "C:\Users\10002038\.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 62:
    env.ProcessProjectDeps()
  File "C:\Users\10002038\.platformio\packages\tool-scons\scons-local-4.3.0\SCons\Util.py", line 742:
    return self.method(*nargs, **kwargs)
  File "C:\Users\10002038\.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 141:
    project_lib_builder = env.ConfigureProjectLibBuilder()
  File "C:\Users\10002038\.platformio\packages\tool-scons\scons-local-4.3.0\SCons\Util.py", line 742:
    return self.method(*nargs, **kwargs)
  File "C:\Users\10002038\.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 1104:
    project.install_dependencies()
  File "C:\Users\10002038\.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 940:
    lm.install(spec)
  File "C:\Users\10002038\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 48:
    pkg = self._install(
  File "C:\Users\10002038\.platformio\penv\lib\site-packages\platformio\package\manager\library.py", line 93:
    return super(LibraryPackageManager, self)._install(
  File "C:\Users\10002038\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 99:
    pkg = self.install_from_registry(spec, search_filters, silent=silent)
  File "C:\Users\10002038\.platformio\penv\lib\site-packages\platformio\package\manager\_registry.py", line 88:
    packages = self.search_registry_packages(spec, search_filters)
  File "C:\Users\10002038\.platformio\penv\lib\site-packages\platformio\package\manager\_registry.py", line 135:
    return self.get_registry_client_instance().list_packages(filters=filters)[
  File "C:\Users\10002038\.platformio\penv\lib\site-packages\platformio\clients\registry.py", line 119:
    return self.fetch_json_data(
  File "C:\Users\10002038\.platformio\penv\lib\site-packages\platformio\clients\http.py", line 147:
    response = self.send_request(method, path, **kwargs)
  File "C:\Users\10002038\.platformio\penv\lib\site-packages\platformio\util.py", line 75:
    return func(*args, **kwargs)
  File "C:\Users\10002038\.platformio\penv\lib\site-packages\platformio\clients\http.py", line 134:
    raise HTTPClientError(str(e))
================================================================================================== [FAILED] Took 16.48 seconds ==================================================================================================

Environment      Status    Duration
---------------  --------  ------------
BIGTREE_SKR_PRO  FAILED    00:00:16.477
============================================================================================= 1 failed, 0 succeeded in 00:00:16.477 =============================================================================================

Does it work now? Maybe there was some downtime.

Does it work in your browser when you access https://api.registry.ns1.platformio.org/v3/search?query=type%3A"library"+name%3A"tmcstepper"?

Is this the certificate chain that your browser shows you then? (CLick on the padlock in the addressbar to see further info)

grafik

Do you have any antivirus installed that intercept webtraffic? (AVs often advertise this as a ‘feature’ although it breaks lots of things)

1 Like

I can access the website no issues but I figured it out. It wasn’t my antivirus but an app called zscaler that restricted access.

Multiple things made it harder to track down. First being a new laptop but second is that other boards were compiling just fine. I guess those libraries downloaded before this zscaler app was installed.
Still seems odd that I can access the website just fine yet platformio can’t. I guess zscaler only blocks certain apps? It doesn’t matter either way really…I found the problem and that’s what matters.