dmitry-zhuravlev / hotswap-agent-intellij-plugin

This plugin intends to simplify the usage of http://hotswapagent.org. Agent provides real hotswap functionality together with https://dcevm.github.io which extends JVM class redefinition functionality.
Apache License 2.0
314 stars 34 forks source link

java.io.IOException: Cannot download 'https://github.com/HotswapProjects/HotswapAgent/releases/download/1.0/hotswap-agent-1.0.jar': connect timed out #10

Closed cloudhuang closed 6 years ago

cloudhuang commented 7 years ago

Install the "hotswap-agent-1.0.jar" manually from the folder, but after save the configuration, seems the plugin will still try to download the "hotswap-agent-1.0.jar" from the website.

BTW, I'm using the latest IDEA version.

dmitry-zhuravlev commented 7 years ago

Hi @cloudhuang,

The hotswap agent configuration in IDEA is for current project only. If you change the "Agent installation" path in one IDEA's project and open another instance of IDEA with different project then plugin will try to download it and put the jar file to the default folder unless you specify another location for it.

@cloudhuang Is it something what you did?

pmcollins commented 6 years ago

Hi. I'm not sure I understand the above statement (sorry). I'm just trying a vanilla install and I get:

java.io.IOException: Cannot download 'https://github.com/HotswapProjects/HotswapAgent/releases/download/1.2.1-SNAPSHOT/hotswap-agent-1.2.0.jar': Status: 404

Uninstalled and reinstalled and the issue persists. curling that location also fails.

PKeidel commented 6 years ago

I'm getting that error too: java.io.IOException: Cannot download 'https://github.com/HotswapProjects/HotswapAgent/releases/download/1.2.0/hotswap-agent-1.2.0.jar': Status: 404

IntelliJ IDEA 2018.1.1 EAP (Ultimate Edition) Build #IU-181.4445.4, built on March 29, 2018 JRE: 1.8.0_152-release-1136-b27 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Linux 4.15.0-13-generic

dmitry-zhuravlev commented 6 years ago

@PKeidel Which version of hotswapagent plugin do you use? You can see it in general settings, plugins section.

PKeidel commented 6 years ago

The HotSwapAgent Version is 1.2

dmitry-zhuravlev commented 6 years ago

@PKeidel Should be 1.2.2

PKeidel commented 6 years ago

OK. Can i update it manually? Under releases here I can only find 1.2.1

dmitry-zhuravlev commented 6 years ago

@PKeidel 1.2.2 version should be in plugins repository. Try to check for updates "Check for updates" menu in Intellij IDEA.

PKeidel commented 6 years ago

With that button it found the new version. Thank you.