I got warn message
Could not get package info. Failed to connect to https://packagist.org/packages/list.json: java.lang.RuntimeException: Could not generate DH keypair Please check your internet connection.
when opening Composer Dependency on WebStorm.. after a bit search, some say maybe it's caused by java SDK. But the problem persist even after I update Java to the latest version java 8u45.
/Applications/PhpStorm.app/Contents/Info.plist
<key>JVMVersion</key> <string>1.6*</string>
change↓
<key>JVMVersion</key> <string>1.8*</string>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With