Hello ,
I am trying to activate the community edition of Intellij plugin. but get an error when trying to activate the licence with api.licensespring.com. When I try “check connection” with “https://api.licensespring.com”, it says connection successful.
17:28:17.966 [INFO] [Licensing][ApplicationImpl pooled thread 4][com.diffblue.cover.s.b.b] C:\Users\f47655.diffblue has permissions dir,read,write,exec
17:28:18.273 [INFO] [Licensing][ApplicationImpl pooled thread 4][com.diffblue.cover.s.b.b] cannot resolve api.licensespring.com
17:28:19.020 [INFO] [Licensing][ApplicationImpl pooled thread 4][com.diffblue.cover.s.b.b] cannot resolve licensing.diffblue.com
17:28:19.742 [INFO] [Licensing][ApplicationImpl pooled thread 4][com.diffblue.cover.s.b.b] * Sending client request on thread ApplicationImpl pooled thread 4
17:28:21.900 [INFO] [Licensing][ApplicationImpl pooled thread 4][com.diffblue.cover.s.b.b] → url: https://licensing.diffblue.com/getCommunityKey?hardwareId=1895-7E5E-929E-14BA-4C7F-A9CA-5A48-4116-4ABD-3C91-6423-15AD-972F-C69E-C812-7A69
← response headers
< null: HTTP/1.1 200 OK
< x-azure-ref: 20241118T162820Z-1686bd79b7ftlj2mhC1PRAr6q40000000c7000000000b0ad
< Origin-Agent-Cluster: ?1
< X-Permitted-Cross-Domain-Policies: none
< Referrer-Policy: no-referrer
< X-Frame-Options: SAMEORIGIN
< Strict-Transport-Security: max-age=15552000; includeSubDomains
< Content-Security-Policy: default-src ‘self’;base-uri ‘self’;font-src ‘self’ https: data:;form-action ‘self’;frame-ancestors ‘self’;img-src ‘self’ data:;object-src ‘none’;script-src ‘self’;script-src-attr ‘none’;style-src ‘self’ https: ‘unsafe-inline’;upgrade-insecure-requests
< Cross-Origin-Embedder-Policy: require-corp
< Content-Length: 29
< X-XSS-Protection: 0
< Content-Type: application/json; charset=utf-8
< X-Cache: CONFIG_NOCACHE
< X-Content-Type-Options: nosniff
< Connection: Keep-Alive
< X-Download-Options: noopen
< Pragma: no-cache
< Cross-Origin-Opener-Policy: same-origin
< Date: Mon, 18 Nov 2024 16:28:21 GMT
< Accept-Ranges: bytes
< request-context: appId=cid-v1:
< Cache-Control: private, no-cache, no-store, must-revalidate, no-transform
< ETag: W/“1d-+fddpM9DtVIs2xpV+NPUZdOT7CM”
< Vary: Origin
< X-DNS-Prefetch-Control: off
< Cross-Origin-Resource-Policy: same-origin
← response headers complete
17:28:21.916 [INFO] [Licensing][ApplicationImpl pooled thread 4][com.diffblue.cover.s.b.b] * Received server response on thread ApplicationImpl pooled thread 4
17:28:21.916 [INFO] [Licensing][ApplicationImpl pooled thread 4][com.diffblue.cover.s.b.b] ← response body (redacting parts of the license key)
{“key”:“GZ9H-XXXX-XXXX-XXXX”}
← response body complete
17:28:21.940 [INFO] [Licensing][ApplicationImpl pooled thread 4][com.diffblue.cover.s.b.i] activating CE License Key
17:28:21.943 [INFO] [Licensing][ApplicationImpl pooled thread 4][com.diffblue.cover.s.b.b] C:\Users\f47655.diffblue has permissions dir,read,write,exec
17:28:21.944 [INFO] [Licensing][ApplicationImpl pooled thread 4][com.diffblue.cover.s.b.b] cannot resolve api.licensespring.com
17:28:22.646 [DEBUG] [Licensing][ApplicationImpl pooled thread 4][com.diffblue.cover.s.b.d] Error activating the licence, but carrying on regardless…
com.diffblue.cover.exception.BaseException: License server unreachable
at com.diffblue.cover.s.b.f.run(SourceFile:181)
at com.diffblue.cover.sandbox.execution.SafeExecutor.run(SourceFile:27)
at com.diffblue.cover.s.b.d.a(SourceFile:207)
at com.diffblue.cover.s.b.i.a(SourceFile:8055)
at com.diffblue.cover.s.b.f.run(SourceFile:171)
at com.diffblue.cover.sandbox.execution.SafeExecutor.run(SourceFile:27)
at com.diffblue.cover.s.b.i.h(SourceFile:184)
at com.diffblue.intellij.plugin.license.d.h(SourceFile:199)
at com.diffblue.intellij.plugin.license.a.run(SourceFile:93)
at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:477)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:133)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressSynchronously$9(CoreProgressManager.java:567)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$new$0(ProgressRunner.java:85)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:249)
at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:96)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:221)
at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.use(trace.kt:49)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:220)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:660)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:735)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:691)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:659)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:202)
at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:96)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$5(ProgressRunner.java:249)
at com.intellij.openapi.progress.impl.ProgressRunner$ProgressRunnable.run(ProgressRunner.java:501)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$18(ProgressRunner.java:466)
at com.intellij.util.concurrency.ChildContext$runAsCoroutine$1.invoke(propagation.kt:92)
at com.intellij.util.concurrency.ChildContext$runAsCoroutine$1.invoke(propagation.kt:92)
at com.intellij.util.concurrency.ChildContext.runAsCoroutine(propagation.kt:97)
at com.intellij.util.concurrency.ChildContext.runAsCoroutine(propagation.kt:92)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$19(ProgressRunner.java:464)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:735)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:732)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:732)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: com.licensespring.model.exceptions.infrastructure.ConnectionException: Failed to authenticate with the proxy server. Please check your proxy credentials setup or contact your IT department for assistance.
at com.licensespring.internal.services.LicenseSpringApiRetryer.tryCauseMessage(LicenseSpringApiRetryer.java:100)
at com.licensespring.internal.services.LicenseSpringApiRetryer.access$000(LicenseSpringApiRetryer.java:18)
at com.licensespring.internal.services.LicenseSpringApiRetryer$1.continueOrPropagate(LicenseSpringApiRetryer.java:27)
at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:73)
at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:99)
at jdk.proxy13/jdk.proxy13.$Proxy175.activateLicence(Unknown Source)
at com.licensespring.internal.services.LicenseService.activateLicense(LicenseService.java:114)
at com.licensespring.LicenseManager.activateLicense(LicenseManager.java:231)
at com.diffblue.cover.s.b.d.b(SourceFile:221)
at com.diffblue.cover.s.b.f.run(SourceFile:171)
… 39 common frames omitted
17:28:22.805 [DEBUG] [Licensing][ApplicationImpl pooled thread 4][com.diffblue.intellij.plugin.telemetry.reporting.j] Sending error report to Diffblue
17:28:23.117 [WARN] [AWT-EventQueue-0][com.diffblue.intellij.plugin.h.a] License server unreachable - Diffblue Cover cannot access the Diffblue license verification server.
Each time Diffblue Cover writes tests it authenticates your license against
the Diffblue remote license verification server. Please ensure that your
network connection, proxy server and/or firewall are configured according
to the requirements at
https://docs.diffblue.com/knowledge-base/troubleshooting/network-connections/
Note that if you update your proxy settings in IntelliJ, you need to restart
the IDE for the changes to take affect.
The current status of the Diffblue license server can be found at
https://status.diffblue.com