Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ "Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings"

Today when using IntelliJ (MacOS) & Spring Boot to create a new project, I started seeing this error:

" Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings

Error Message: Error parsing JSON response "

My home network has no HTTP proxy settings, just plain vanilla Internet. IntelliJ / Preferences / System Settings / HTTP Proxy / Check Network Settings: says network connection is ok. And this same setup worked here 2 days ago.

Browser connection to https://start.spring.io also works.

I tried Googling this issue, but mostly found HTTP Proxy setting issues that I don't have (I am typing this w/o HTTP Proxy settings in browser :-)).

Maybe this is just a transient issue with start.spring.io? or ... ? Anyways confusing.

like image 233
jareilly Avatar asked Jul 29 '16 08:07

jareilly


3 Answers

  • If your r able to open the same url in your browser then the issue is with the proxy settings on the IDE.

  • In that case, we can define the existing browser proxy settings to the intelliJ as below-

  • On the IDE, Open --> File -> Settings -> Appearance and Behavior ->System Settings -> HTTP Proxy --> Select Auto-detect proxy settings and set the Automatic proxy configuration URL.

  • Then we can able to connect to spring initializer through intelliJ IDE

like image 55
yash Avatar answered Sep 22 '22 01:09

yash


try to use 'http://start.spring.io' instead of 'https://start.spring.io'. it works for me.

like image 24
shusheng007 Avatar answered Sep 22 '22 01:09

shusheng007


It looks like Spring Initializr is broken for both IntelliJ IDEA and Spring Tools Suite, I reported this to the initialzr project:

https://github.com/spring-io/initializr/issues/267

like image 45
tan9 Avatar answered Sep 18 '22 01:09

tan9