I’m trying to write test cases for my project using the Intellij Plugin but getting the below error. I want to use the free community edition for personal purposes. This is an urgent requirement so please provide a solution for the same at the earliest.
Have you attempted to activate the plugin as per the error message instructions?
To activate you must have an internet connection and network traffic must not be blocked by a firewall. If you are using a proxy server this must be configured in the IntelliJ settings.
Yes I tried with my system connected to the internet and with all permissions granted. Can you provide me the procedure to activate the Community Version Plugin (Free version)
When I’m trying to follow the mentioned process, the above dialog box is popped up which doesn’t have an option to select the Community Edition and also it isn’t scrollable.
Thank you for reaching out - if you are attempting to activate Diffblue Cover on a work machine you are likely facing this issue due to a corporate proxy.
The following guide on troubleshoot online activation, is very useful in these cases and provides information on how to get round this error.
Namely I would recommend checking you have access to the following links:
And that your proxy settings are correct using the following documentation - Online license activation
After confirming these, try to activate the license again to check if there is further improvement. Please let me know how this goes, and ask further questions if you have them.
I am facing below issue while using the community edition can you please help to check
Diffblue Cover Community Edition requires an active internet connection with access to https://licensing.diffblue.com, and https://api.licensespring.com to authorize use of the plugin. We cannot access one or more of these servers. This may be due to lack of an internet connection, or a firewall, or there are some other security mechanisms blocking this connection. See Online license activation | Diffblue Docs for more detailed information on troubleshooting this issue. Otherwise please contact https://www.diffblue.com/support/
But i can able to acces the above links,getting below
Thank you for posting - I would recommend following the network troubleshooting steps to solve this issue.
If you have completed the steps and are still facing a problem please upload the support log file, and we can investigate the cause.
Still facing the same isssue,I am facing issue while attaching th log that why i am adding the log here could you please help to check
10:54:16.608 [WARN] [Checking][sentry-pool-37-thread-1][c.d.i.p.t.r.f] Sending report failed
10:54:16.629 [WARN] [Messaging][AWT-EventQueue-0][c.d.i.plugin.g.a] Activation required - You have not activated your license yet.
Click Diffblue and Activate License in the menu bar to activate your
license.
com.diffblue.cover.exception.BaseException: Product is not licensed
at com.diffblue.cover.q.b.c.c(SourceFile:244)
at com.diffblue.cover.q.b.g.c(SourceFile:48)
at com.diffblue.intellij.plugin.license.d.c(SourceFile:88)
at com.diffblue.intellij.plugin.writetests.d.run(SourceFile:615)
at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:429)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:114)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsynchronously$6(CoreProgressManager.java:480)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:252)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:186)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:604)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:679)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:635)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:603)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:173)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:252)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
at java.base/java.lang.Thread.run(Thread.java:833)
11:19:27.372 [INFO] [Licensing][ApplicationImpl pooled thread 28][c.d.cover.q.b.b] C:\Users\1611973.diffblue has permissions dir,read,write,exec
11:19:27.763 [INFO] [Licensing][ApplicationImpl pooled thread 28][c.d.cover.q.b.b] cannot resolve api.licensespring.com
11:19:27.765 [INFO] [Licensing][ApplicationImpl pooled thread 28][c.d.cover.q.b.b] cannot open connection caused by api.licensespring.com
11:19:28.017 [INFO] [Licensing][ApplicationImpl pooled thread 28][c.d.cover.q.b.b] cannot resolve licensing.diffblue.com
11:19:28.018 [INFO] [Licensing][ApplicationImpl pooled thread 28][c.d.cover.q.b.b] cannot open connection caused by licensing.diffblue.com
11:19:28.018 [INFO] [Licensing][ApplicationImpl pooled thread 28][c.d.cover.q.b.b] * Sending client request on thread ApplicationImpl pooled thread 28
11:19:28.019 [INFO] [Licensing][ApplicationImpl pooled thread 28][c.d.cover.q.b.b] → url: https://licensing.diffblue.com/getCommunityKey?hardwareId=7DFA-6C9D-F8D3-5C27-DE8F-B1D2-3E26-15A6-7D79-9717-88E2-9DF7-F93F-9137-EBC6-B477
← response headers
← response headers complete
11:19:28.420 [WARN] [Licensing][sentry-pool-2-thread-1][c.d.i.p.t.r.f] Sending report failed
11:19:28.440 [WARN] [Messaging][AWT-EventQueue-0][c.d.i.plugin.g.a] Failed to activate Community Edition - Diffblue Cover Community Edition requires an active internet connection with
access to https://licensing.diffblue.com,
and https://api.licensespring.com
to authorize use of the plugin.
We cannot access one or more of these servers. This may be due to lack of an
internet connection, or a firewall, or there are some other security mechanisms
blocking this connection.
Thanks for sending - I am having a look for you now.
Can you tell me what version of Cover you have installed?
(this information can be found on the plugin page)
@konapallisuresh
It perhaps looks like your IntelliJ is behind some sort of firewall or proxy. Are you running on a proxy?
If so, have you tried turning off your SSL certificate?