Unity 2019.1 Gradle error with external connections from Unity,gradle build error 2019.1.0f2

Hello,

I’m using the personal edition of Unity 2019.1.0f2 and have been struggling with a major build issue that I haven’t been able to resolve. I’m on a corporate machine testing the software for local builds of VR content but when I attempt to build, it always fails. The message is: Unrecognized SSL message, plaintext connection? after being informed that unity could not resolve com.android.tools.build.gradle:3.4.0. Specifically, it’s stating it couldn’t get to https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.4.0/gradle-3.4.0.pom. I can get to the link just fine when I put it in the browser, but Unity can’t seem to do so.

Is there a way around this or to point it to a local version of the file? As I said, I can get to the POM file via the browser, but not via unity. If anyone knows a way to redirect unity to a local version of this file to continue building, it would be most helpful. IT has put policies on both network and computers to block applications from connecting to the internet, hence the need to use a build system internal to the computer, if not to Unity. Thank you for the help in advance!

Prashant

Below is a screenshot of the error message:

The end all result was I ended up having to downgrade to 2018 so I can use the internal build system. Thanks for your help @JuliusM and Leonard. Appreciate it!