JRebel client can't connect to License Server

ZeroTurnaround Homepage Forums License Server JRebel client can't connect to License Server

This topic contains 0 replies, has 1 voice, and was last updated by  snunes 3 weeks, 6 days ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #66819

    snunes
    Member

    Hi,

    I’m having some trouble trying to activate a JRebel license in eclipse IDE (oxygen).

    I’ve updated our license server from 3.1.3 to 3.3.7, verified the logs to make sure liquibase updated the database, and successfully updated the ZT RebelSuite license file for managed seats.

    However when I try to activate the license through eclipse in the “Connect to License Server” option I always get the message:

    “Activation failed. Unable to connect to license server host. Check your network connection and/or VPN settings. (Server address: http://192.168.1.4:5000)”

    Also running via command line I get the following errors from jrebel-licensing.log:

    2017-12-20 13:53:16.716 INFO [rebel-lwatch] Licensing – === Event: getCurrentLicense
    2017-12-20 13:53:16.722 INFO [rebel-lwatch] Licensing – Trying licenseServer licensing
    2017-12-20 13:53:16.888 INFO [rebel-lwatch] Licensing-LS – Created new LicenseServer client (com.zeroturnaround.javarebel.z@5f223811[serverRootUrl=http://192.168.1.4:5000,token=8bf9b879-d834-4019-b4a3-da1c69d4e56e,installationGuid=WrhH0P3G5PrHcBXlQp22vaNJyvCU4KWuALga7am75Pg=])
    2017-12-20 13:53:16.900 INFO [rebel-lwatch] Licensing-LS – Trying to update lease with the License Server. null
    2017-12-20 13:53:16.901 INFO [rebel-lwatch] Licensing-LS – Lease update failed (lease = ‘null’). Trying to recover by requesting a new lease .. 1
    2017-12-20 13:53:16.901 INFO [rebel-lwatch] Licensing-LS – doAcquireLease to http://192.168.1.4:5000, offline: -1
    2017-12-20 13:53:27.065 WARN [rebel-lwatch] Licensing-LS – Http Request failed: POST http://192.168.1.4:5000/jrebel/leases HTTP/1.1
    java.net.SocketTimeoutException: Read timed out
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
    at java.net.SocketInputStream.read(SocketInputStream.java:171)
    at java.net.SocketInputStream.read(SocketInputStream.java:141)
    at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:136)
    at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:152)
    at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:270)
    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)
    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
    at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260)
    at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:161)
    at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:153)
    at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)
    at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
    at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:254)
    at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
    at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
    at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
    at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
    at com.zeroturnaround.javarebel.z.a(JRebel:608)
    at com.zeroturnaround.javarebel.z.a(JRebel:310)
    at com.zeroturnaround.javarebel.z.a(JRebel:288)
    at com.zeroturnaround.javarebel.y.a(JRebel:2156)
    at com.zeroturnaround.javarebel.y.a(JRebel:85)
    at com.zeroturnaround.javarebel.y.a(JRebel:2071)
    at com.zeroturnaround.javarebel.x.a(JRebel:212)
    at com.zeroturnaround.javarebel.bb.a(JRebel:32)
    at com.zeroturnaround.javarebel.ay.a(JRebel:70)
    at com.zeroturnaround.javarebel.SDKLicensingImpl.findAndValidateLicenseFromSource(JRebel:546)
    at com.zeroturnaround.javarebel.SDKLicensingImpl.getCurrentLicense(JRebel:86)
    at org.zeroturnaround.jrebel.client.licensing.JRebelLicensingCLI.getLicensingStatusDirectly(JRebelLicensingCLI.java:150)
    at org.zeroturnaround.jrebel.client.licensing.JRebelLicensingCLI.doCarefulWithFirstVersionOfLS3(JRebelLicensingCLI.java:136)
    at org.zeroturnaround.jrebel.client.licensing.JRebelLicensingCLI.getLicensingStatus(JRebelLicensingCLI.java:107)
    at org.zeroturnaround.jrebel.client.licensing.Watcher.refreshLicenseStatus(Watcher.java:125)
    at org.zeroturnaround.jrebel.client.licensing.Watcher.access$300(Watcher.java:22)
    at org.zeroturnaround.jrebel.client.licensing.Watcher$1.run(Watcher.java:65)
    at java.lang.Thread.run(Thread.java:748)
    2017-12-20 13:53:27.066 INFO [rebel-lwatch] Licensing-LS – First lease create failed: Unable to connect to license server host. Check your network connection and/or VPN settings.

    If needed I have the server logs.

    Thank you very much,
    Susana

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.