jareilly
jareilly

Reputation: 155

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.

Upvotes: 10

Views: 26708

Answers (4)

Zena Assamman
Zena Assamman

Reputation: 1

I solved the problem with "could not connect to server " by changing the name of the artifact, previously the name had an umlaut

Upvotes: 0

yash
yash

Reputation: 69

  • 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

Upvotes: 6

shusheng007
shusheng007

Reputation: 389

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

Upvotes: 4

tan9
tan9

Reputation: 3620

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

Upvotes: 2

Related Questions