Forum Discussion
Is docker able to connect internet?
The license server is completely internal to our org. no need of internet connection I believe.
- nmrao3 years agoChampion Level 3Ok.
But docker can be on a different network. Is license server reachable from docker container?- ramaG3 years agoContributor
Hello Rao,
Docker is on the same internal org network. Tried with No proxy. Tried to connect to License server from ReadyAPI on the local laptop (Mac). It worked fine. The same doesn't work on the Docker. Tried PING IP , it worked fine.
Ran the following command:
docker run -v="$(pwd)/qmo-readyapi-poc/ReadyapiTest/FlightServiceMethodsTestSuite1":/project -e LICENSE_SERVER="xx.xxx.xxx.xxx:443" -e COMMAND_LINE=" '/project' " -it jfrog.info53.com/docker-virtual/smartbear/ready-api-soapui-testrunner:latestERROR: The license is invalid: Failed to get floating license. Reason: Failed to create HTTPS service for floating license server.
Please select the tool for which you want to get the floating license:
1. SoapUI Pro
2. LoadUI Pro
3. Secure (if you have an old license)
4. ServiceV Pro
5. VirtServer
6. ReadyAPI Bundle
7. TestEngine
8. swaggerhub
9. swaggerhub2
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$2 (file:/usr/local/SmartBear/ready-api-license-manager-1.3.2.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$2
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
ERROR: The license is invalid: Failed to get floating license. Reason: Failed to create HTTPS service for floating license server.
Also tried:
docker run -v="$(pwd)/qmo-readyapi-poc/ReadyapiTest/FlightServiceMethodsTestSuite1":/project -v="$(pwd)/tmp/reports":/reports -v="$(pwd)/tmp/ext":/ext -e "JAVA_OPTS=-Xms128m -Xmx8192m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -XX:MaxPermSize=256m -Dsoapui.properties=soapui.properties" -e LICENSE_SERVER="XX.XXX.XXX.185:443" -e COMMAND_LINE=" -f/reports '-RJUnit-Style HTML Report' -FHTML '-EMSP_QA1' '-TTestSuite Proposals' '-TTestCase Proposals' '/project' " -it jfrog.info53.com/docker-virtual/smartbear/ready-api-soapui-testrunner:latestAppreciate any help!this is just what we're experiencing but it doesn't really help.
stackoverflow.com/questions/63681430/readyapi-docker-error-the-license-is-invalid-failed-to-get-floating-license-r- nmrao3 years agoChampion Level 3Thank you for trying out.
May be you can open a support ticket with Smartbear support.