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

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.

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

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

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

If you use VPN this can cause trouble with the connection.
Switching VPN off can help.

Related

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

enter image description here
Today when using IntelliJ (window) & Spring Boot to create a new project, I started seeing this error:
" Initialization failed for 'https://start.aliyun.com' Please check URL, network and proxy settings
Error Message: Error parsing JSON response "
I tried to modify Setting in IDE, Open --> File -> Settings -> Appearance and Behavior ->System Settings -> HTTP Proxy --> Select Auto-detect proxy settings and set the Automatic proxy configuration URL.
but the problem is still there.

Fabric plugin not working with proxy

I'm currently facing an issue with Fabric plugin(4.1.1) in Android Studio 2.3 where Fabric doesn't seem to work well with a proxy.
To configure the proxy I searched through Fabric documentation's and found this : https://docs.fabric.io/android/crashlytics/advanced-setup.html#proxy-setup
I created idea.vmoptions and filled it with proxy configuration, but I still can't connect to my account or even fetch Fabric's dependencies.
So I checked the logs in idea.log and it says :
com.crashlytics - Crashlytics could not retrieve proxy settings from IntelliJ
java.lang.NoSuchFieldError: PROXY_LOGIN
Since the proxy that I use doesn't needed identification, I added this field in idea.vmoptions and leaved it empty but I still get this error.
I don't know what else to try.

Can't get connected mode to work in PhpStorm

I'm struggling to get the connected mode to connect to my local instance of SonarQube.
I'm suspecting it has something to do with the way my system is set up.
I'm using a Mac (OS X 10.11.x) and I have PHP and Apache set up according to this tutorial. I think perhaps there is an issue with a firewall rule or something.
When I connect to http://localhost:9000/api/system/status with a browser, there is no problem. telnet localhost 9000 works fine too.
But when I enter credentials and create a configuration in SonarLint, I always get:
error testing connection: Fail to request http://localhost:9000/api/system/status
Anybody have a clue?
It is also worth to check SonarLint issue tracker. Issue looks related rather to the plugin than PhpStorm itself.
Check your Phpstorm log folder ~/Library/Logs/PhpStormVERSION/FILE.log (FILE - some log file for phpstorm, in Intellij it's idea.log)
I see the tutorial you followed enabled SSL and I guess that should be because of a certificate.

WebStorm && Android Studio set Proxy Failed

I want to set HTTP Proxy for my IDE (WebStorm and Android Studio),but it failed,because JVM have some proxy settings..I have found other IDE(like eclipse) proxySetting like below:change some IDE proxy but it still broken
I have consider that maybe some use JVM's Application change it's jvm proxy settings,such like Charles?Is it possible to do so?
you have JVM property "https.proxyHost" set to 127.0.0.1". This may lead to incorrect behaviour, Proxy should be set in Setting
Preference>Appearance & Behavior>System Settings>HTTP Proxy
2017-01-07 14:57:30,010 [ 445277] INFO - ntellij.util.proxy.CommonProxy - <html>You have JVM property "https.proxyHost" set to "127.0.0.1".<br>This may lead to incorrect behaviour. Proxy should be set in Settings | HTTP Proxy<br>This JVM property is old and its usage is not recommended by Oracle.<br>(Note: It could have been assigned by some code dynamically.)
How to use resolve it
One way to remove the proxy value is as follows:
Go to Intellij Menu -> Help -> Edit Custom VM Options
Include the following two properties which will unset already set proxy value
-DhttpsProxyHost
-DhttpsPorxyPort
Once you restart Intellij again with these values, the warning coming under menu HTTP Proxy should be removed.
Menu -> Help -> Edit Custom VM Options
Add system property:
-Dhttp.proxyHost
-Dhttp.proxyPort
-Dhttps.proxyHost
-Dhttps.proxyPort
-DsocksProxyHost
-DsocksProxyPort
Then restart IDE, It works for me.

Unable to access glassfish served content when using localhost

I created this simple dynamic web project (glassfish 4.1.1 latest atm) using eclipse java ee Mars.2 that I installed 2 days ago.
Checking on the admin, the app is deployed and running fine. I could not access the web app using the localhost:8080 url but it works when I use <computername>:8080.
I could access the admin using localhost:4848.
I tried disabling the firewall but the problem persists. What could be the problem?
The error is:
404 Not Found
No context found for request
In eclipse I see the log int he console that says: Automatic timeout occurred
As I pointed out in comments, you can configure listeners in Configuration -> needed configuration -> Network Config -> Network Listeners. However, it is still rather strange that your localhost doesn't work with 0.0.0.0 IP address, since it is a special address which means "listen on all available IPs on given port". Perhaps your network is somehow misconfigured.