CAST Console - Extend - Error - Unable to Access Extend through Console - java.net.UnknownHostException:extend.castsoftware.com

 

When trying to access the CAST Extend through the Console, it gives the error - "java.net.UnknownHostException: extend.castsoftware.com".

Caused by: java.net.UnknownHostException: extend.castsoftware.com
at java.net.AbstractPlainSocketImpl.connect(Unknown Source) ~[?:1.8.0_241]
at java.net.PlainSocketImpl.connect(Unknown Source) ~[?:1.8.0_241]
at java.net.SocksSocketImpl.connect(Unknown Source) ~[?:1.8.0_241]
at java.net.Socket.connect(Unknown Source) ~[?:1.8.0_241]
at sun.security.ssl.SSLSocketImpl.connect(Unknown Source) ~[?:1.8.0_241]
at sun.net.NetworkClient.doConnect(Unknown Source) ~[?:1.8.0_241]
at sun.net.www.http.HttpClient.openServer(Unknown Source) ~[?:1.8.0_241]
at sun.net.www.http.HttpClient.openServer(Unknown Source) ~[?:1.8.0_241]
at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source) ~[?:1.8.0_241]
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source) ~[?:1.8.0_241]
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source) ~[?:1.8.0_241]
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source) ~[?:1.8.0_241]
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) ~[?:1.8.0_241]
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source) ~[?:1.8.0_241]
at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source) ~[?:1.8.0_241]
at org.springframework.http.client.SimpleBufferingClientHttpRequest.executeInternal(SimpleBufferingClientHttpRequest.java:76) ~[spring-web-5.2.13.RELEASE.jar!/:5.2.13.RELEASE]
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) ~[spring-web-5.2.13.RELEASE.jar!/:5.2.13.RELEASE]
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53) ~[spring-web-5.2.13.RELEASE.jar!/:5.2.13.RELEASE]
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:737) ~[spring-web-5.2.13.RELEASE.jar!/:5.2.13.RELEASE]
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:672) ~[spring-web-5.2.13.RELEASE.jar!/:5.2.13.RELEASE]
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:581) ~[spring-web-5.2.13.RELEASE.jar!/:5.2.13.RELEASE]
at com.castsoftware.aip.node.services.extensions.CachedExtensionFeedReader.getSyndFeed(CachedExtensionFeedReader.java:171) ~[aip-node-services-1.25.1.jar!/:1.25.1]

But when trying to access Extend through a browser, it works fine. 

 

 

Release

Yes/No

>1.25x (tick)

 

 

 

RDBMS

Yes/No

Oracle Server  N/A
Microsoft SQL Server  N/A
CSS3 N/A
CSS2 N/A 

 

 

Step by Step scenario

  1. Install AIP Console through the jar file
  2. Launch the Console.
  3. Provide the credentials to login to CAST Extend through the Console GUI. 
  4. Add Version
  5. Fails during Install Extension step

 

Action Plan

The issue is coming from the configuration of AIP Console which uses Extend CLI to connect to CAST Extend to download and install the extensions during the Install Extension step of Add Version. 

As a workaround, you can force AIP Console to use Extension Downloader and not Extend CLI.

To do so, 

  1. In the AIP node aip-node-app.properties file you can set the below parameter to true and provide your Extend Login Credentials: 

    extension.downloader.enabled=true
    extension.downloader.username=
    extension.downloader.password=

  2. To encrypt your password, you can follow the document here
  3. If the above steps do not solve your issue contact CAST Technical Support. with the following Relevant input for CAST Technical Support to carry out further investigation. 

 

Relevant input

  • CAST AIP Console Logs from the AIP Console and AIP Node folder
  • Any applicable screenshots from AIP Console

 

Ticket # 31455

 

 

 

Have more questions? Submit a request

Comments

Powered by Zendesk