I am loving PlatformIO and have been developing using the IDE at home with no problems. My project has been set up to pull libraries I create directly from github and this works perfectly!
I am now trying to use PIO at work where I have created some custom libraries which we host on our internal Atlassian repositories. Strangely I cannot get this to work and receive an error when trying to pull the internal dependencies (if I point to github its fine):
I can work around this by managing the repositories and pulling them directly to the “lib” folder and forgo having PlatformIO do any pulls from the internal repos, however this really removes one of the best bits about PlatformIO which is project automation.
Hopefully someone here has some experience in getting this to work. I have seen some posts related to SSL verification however following each of their threads instructions has not improved the error.
That makes sense, I use Windows and Git for Windows so will investigate the settings there.
Interestingly it works fine through bash and through tortoise git (client UI) and never struggles with the SSL verification or certificates. It only seems to be PlatformIO when it tries to perform a git operation on our internal repos.
I will have a play around with my main git config and see if I can get the error to change.
Having spent some time investigating this I can confirm this has nothing to do with PlatformIO but instead it was competing git configurations causing issues for VSCode. Having multiple types of emulators (each applying their own gitconfig) made it impossible to understand where VSCode was getting its credentials from.
Uninstalling and reinstalling the whole git toolchain resolved this issue.