Closed chameleon82 closed 9 months ago
hi @chameleon82 - besides having those warnings, does mirrord work? The warnings seems to be working as expected - in IntelliJ IDEA we found out that there are flows that if we show the dialog it freezes, so we added the check. Regarding the node allocation check - it's also a safety check, you can disable it in configuration :
{
"agent": {"check_out_of_pods": false}
}
You probably don't have access to the node itself and that's why the check doesn't work, but it shouldn't fail you.
No, mirrord doesn't work for me.
Not sure how I can troubleshoot it.
with enabled "RUST_LOG=trace":
is this on last intellij version? would you like to jump on a call to share screen so we can debug the issue together? you can schedule some time here - https://calendly.com/aviram-5/30min
Yes. IntelliJ IDEA 2023.2 (Ultimate Edition)
I did try with different things with latest version 3.54.2
and found next:
Plugin works perfectly fine in GoLand 2023.2
. I can select pod from dialog and connect with no issues with go projects (even selecting java pods)
Both IntelliJ IDEA 2023.2 (Ultimate Edition)
and IntelliJ IDEA 2023.2.1 (Community Edition)
failed with different issues and can't open dilalog window with problem above when project configured with azul zulu 1.8 1.8.0_275
. I work with scala projects.
When I reconfigure java for project to zulu-17 17.0.5
I can successfully connect with mirrord to pod in both Ultimate/Community when specify target/path explicitly in mirrord.json
When I don't specify target it just stop with popups without opening anything (no build, no dialog):
Okay, so it doesn't work on azul zulu 1.8 1.8.0_275
but with other it works?
The target specification dialog is considered okay behavior - sometimes we can't pop up the dialog (IDE limitations) so user have to specify.
I've tested with different JDK's. Result is next:
java | target specified in yaml | target not specified in yaml |
---|---|---|
azul zulu 1.8.0_275 | crash with no output | crash with no output |
azul zulu 11.0.7 | success | mirrord was cancelled, unable to display target selection dialog |
corretto 11.0.19 | success | mirrord was cancelled, unable to display target selection dialog |
zulu 17.0.5 | success | mirrord was cancelled, unable to display target selection dialog |
As specifying target is not a big deal, it is clear problem with java 8. Could you help if that issue can be resolved to that version of java as java 8 still LTS?
hi - thanks for the elaborate report! I just tried reproducing it on my end and couldn't. Can you share your IDEA logs? also, can you verify you're running with latest version of the plugin? https://github.com/metalbear-co/mirrord-intellij/assets/41201924/b6cff32b-c531-4c8c-94bc-071adc9d7839
Unassigning this for now. @chameleon82 Whenever you can provide the above, we'll be able to keep looking into this. Thanks!
Issue happened only on azul zulu 1.8 1.8.0_275
version, with temurin 8
it works fine. Sorry, can't extract more details
For Azul issue we found it works well on intel Mac's but this failrure happened on M1's
Bug Description
IDE: IntelliJ IDEA 2023.2 Build #IU-232.8660.185, built on July 26, 2023
Last working version 3.49.1
Since version 3.50.0 (tested with 3.51.0, 3.52.0, 3.52.1) I've experiencing next notifications:
and if specify target in config, I've got next warning:
mirrord.json:
Steps to Reproduce
Backtrace
Relevant Logs
No response
Your operating system and version
Mac OS Ventura 13.5 (22G74)
Local process
/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/bin/java
Local process version
No response
Additional Info
No response