Purpose (problem description)

The page lists the explanation of the scene when you have proxy configured with authentication on your machine:

 

Observed in CAST Version


Release

Yes/No

1.1x.y(tick)
Observed in RDBMS

RDBMS

Yes/No

Oracle Server(error)
Microsoft SQL Server(error)
CSS3(tick)
CSS2(tick)
Step by Step scenario
  1. Try to configure Online Extend with AIP Console on a machine running proxy that requires authentication
Action Plan

If you have setup a proxy that requires authentication on your machine, you will observe the below error stack in the cmsapi.log file when trying to configure Online Extend through AIP Console Admin Center. 

Error Stack
01:30:47.960 [scheduling-1] ERROR com.castsoftware.aip.node.services.extensions.CachedExtensionFeedReader - Extensions feed reader error occurred
com.sun.syndication.io.FeedException: Cannot read extension feed
at com.castsoftware.aip.node.services.extensions.CachedExtensionFeedReader.getSyndFeed(CachedExtensionFeedReader.java:162) ~[aip-node-services-1.16.1.jar!/:1.16.1]
at com.castsoftware.aip.node.services.extensions.CachedExtensionFeedReader.doRead(CachedExtensionFeedReader.java:137) ~[aip-node-services-1.16.1.jar!/:1.16.1]
at com.castsoftware.aip.node.services.extensions.CachedExtensionFeedReader.readFeed(CachedExtensionFeedReader.java:131) ~[aip-node-services-1.16.1.jar!/:1.16.1]
at com.castsoftware.aip.node.services.extensions.CachedExtensionFeedReader.load(CachedExtensionFeedReader.java:61) [aip-node-services-1.16.1.jar!/:1.16.1]
at sun.reflect.GeneratedMethodAccessor528.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171]
at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:84) [spring-context-5.2.4.RELEASE.jar!/:5.2.4.RELEASE]
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) [spring-context-5.2.4.RELEASE.jar!/:5.2.4.RELEASE]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_171]
at java.util.concurrent.FutureTask.runAndReset(Unknown Source) [?:1.8.0_171]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) [?:1.8.0_171]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:1.8.0_171]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_171]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_171]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_171]
Caused by: org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://extendng.castsoftware.com/api/Packages": Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required"; nested exception is java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required"
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:748) ~[spring-web-5.2.4.RELEASE.jar!/:5.2.4.RELEASE]
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:674) ~[spring-web-5.2.4.RELEASE.jar!/:5.2.4.RELEASE]
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:583) ~[spring-web-5.2.4.RELEASE.jar!/:5.2.4.RELEASE]
at com.castsoftware.aip.node.services.extensions.CachedExtensionFeedReader.getSyndFeed(CachedExtensionFeedReader.java:159) ~[aip-node-services-1.16.1.jar!/:1.16.1]
... 15 more
Caused by: java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required"
at sun.net.www.protocol.http.HttpURLConnection.doTunneling(Unknown Source) ~[?:1.8.0_171]
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source) ~[?:1.8.0_171]
at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source) ~[?:1.8.0_171]
at org.springframework.http.client.SimpleBufferingClientHttpRequest.executeInternal(SimpleBufferingClientHttpRequest.java:76) ~[spring-web-5.2.4.RELEASE.jar!/:5.2.4.RELEASE]
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) ~[spring-web-5.2.4.RELEASE.jar!/:5.2.4.RELEASE]
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53) ~[spring-web-5.2.4.RELEASE.jar!/:5.2.4.RELEASE]
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:739) ~[spring-web-5.2.4.RELEASE.jar!/:5.2.4.RELEASE]
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:674) ~[spring-web-5.2.4.RELEASE.jar!/:5.2.4.RELEASE]
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:583) ~[spring-web-5.2.4.RELEASE.jar!/:5.2.4.RELEASE]
at com.castsoftware.aip.node.services.extensions.CachedExtensionFeedReader.getSyndFeed(CachedExtensionFeedReader.java:159) ~[aip-node-services-1.16.1.jar!/:1.16.1]
... 15 more

This message explains that the proxy setup on your machine requires authentication and it is not currently supported by AIP Console. 

As a workaround,

  1. You need to use the Offline Extend along with your AIP Console to download the Extensions. The following document will help you with the same Install CAST Extend Offline
  2. 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

Notes/comments

Ticket # 23243

Related Pages