1 Reply Latest reply on Sep 20, 2013 2:17 AM by Indrajit Bhattacharyya

    RHEL PATCH DOWNLOAD ERROR in BBSA 8.3 SP1

      Hi All

       

      I am using BBSA 8.3 SP1 in my environment.

      I am trying to create a REDHAT Patch Catalog in ONLINE MODE. I have tested working RHN credential and Proxy Server which i did set in blasadmin

       

      Still i am getting these errors while catalog update job.

      Error Sep 20, 2013 2:52:48 AM Error while updating feed: Either service is Unavailable or credentials are Invalid. Failed to connect to RHN xml rpc server. (Caused By: Login to https://rhn.redhat.com/rpc/apifailed. can't proceed:  (Caused By: Failed to read server's response: rhn.redhat.com (Caused By: rhn.redhat.com)))

       

       

      i have used same proxy and rhn credentials in offline downloader utility and execute that on same server where BBSA is installed and it's working there.

      Could anyone help me in this. This is really Very critical for me.

       

       

      Appserver.log

       

      [20 Sep 2013 02:52:48,823] [PSU-Thread-1] [INFO] [BLAdmin:BLAdmins:] [Patch-Metadata-Updator] Retrying 992 to Logging to RHN XML RPC server: https://rhn.redhat.com/rpc/api

      [20 Sep 2013 02:52:48,823] [PSU-Thread-1] [INFO] [BLAdmin:BLAdmins:] [Patch-Metadata-Updator] Retrying 993 to Logging to RHN XML RPC server: https://rhn.redhat.com/rpc/api

      [20 Sep 2013 02:52:48,824] [PSU-Thread-1] [INFO] [BLAdmin:BLAdmins:] [Patch-Metadata-Updator] Retrying 994 to Logging to RHN XML RPC server: https://rhn.redhat.com/rpc/api

      [20 Sep 2013 02:52:48,824] [PSU-Thread-1] [INFO] [BLAdmin:BLAdmins:] [Patch-Metadata-Updator] Retrying 995 to Logging to RHN XML RPC server: https://rhn.redhat.com/rpc/api

      [20 Sep 2013 02:52:48,824] [PSU-Thread-1] [INFO] [BLAdmin:BLAdmins:] [Patch-Metadata-Updator] Retrying 996 to Logging to RHN XML RPC server: https://rhn.redhat.com/rpc/api

      [20 Sep 2013 02:52:48,825] [PSU-Thread-1] [INFO] [BLAdmin:BLAdmins:] [Patch-Metadata-Updator] Retrying 997 to Logging to RHN XML RPC server: https://rhn.redhat.com/rpc/api

      [20 Sep 2013 02:52:48,825] [PSU-Thread-1] [INFO] [BLAdmin:BLAdmins:] [Patch-Metadata-Updator] Retrying 998 to Logging to RHN XML RPC server: https://rhn.redhat.com/rpc/api

      [20 Sep 2013 02:52:48,826] [PSU-Thread-1] [INFO] [BLAdmin:BLAdmins:] [Patch-Metadata-Updator] Retrying 999 to Logging to RHN XML RPC server: https://rhn.redhat.com/rpc/api

      [20 Sep 2013 02:52:48,826] [PSU-Thread-1] [ERROR] [BLAdmin:BLAdmins:] [Patch-Metadata-Updator] Error while updating metadata

      com.bmc.sa.patchfeed.FeedException: Either service is Unavailable or credentials are Invalid. Failed to connect to RHN xml rpc server.

              at com.bmc.sa.patchfeed.redhat.util.RhnApiService.loginToRhn(Unknown Source)

              at com.bmc.sa.patchfeed.redhat.RedHatFeedUpdator.run(Unknown Source)

              at java.lang.Thread.run(Unknown Source)

              at com.bladelogic.om.patch.app.psu.PSUThreadFactory$PSUThread.run(PSUThreadFactory.java:81)

      Caused by: com.bmc.sa.patchfeed.FeedException: Login to https://rhn.redhat.com/rpc/apifailed. can't proceed:

              at com.bmc.sa.patchfeed.redhat.util.RhnApiServiceManager.login(Unknown Source)

              ... 4 more

      Caused by: org.apache.xmlrpc.XmlRpcException: Failed to read server's response: rhn.redhat.com

              at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:161)

              at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:143)

              at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:69)

              at org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:56)

              at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:167)

              at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:137)

              at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:126)

              ... 5 more

      Caused by: java.net.UnknownHostException: rhn.redhat.com

              at java.net.PlainSocketImpl.connect(Unknown Source)

              at java.net.SocksSocketImpl.connect(Unknown Source)

              at java.net.Socket.connect(Unknown Source)

              at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)

              at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(Unknown Source)

              at sun.net.NetworkClient.doConnect(Unknown Source)

              at sun.net.www.http.HttpClient.openServer(Unknown Source)

              at sun.net.www.http.HttpClient.openServer(Unknown Source)

              at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)

              at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)

              at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)

              at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)

              at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)

              at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)

              at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)

              at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.writeRequest(XmlRpcSunHttpTransport.java:104)

              at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:151)

              ... 11 more

      [20 Sep 2013 02:52:48,828] [WorkItem-Thread-2] [ERROR] [BLAdmin:BLAdmins:] [Patch-Metadata-Updator] Error while updating feed: Either service is Unavailable or credentials are Invalid. Failed to connect to RHN xml rpc server. (Caused By: Login to https://rhn.redhat.com/rpc/apifailed. can't proceed:  (Caused By: Failed to read server's response: rhn.redhat.com (Caused By: rhn.redhat.com)))

      [20 Sep 2013 02:52:48,846] [Job-Execution-4] [INFO] [BLAdmin:BLAdmins:] [CatalogUpdate] Patches newly added: 0

      [20 Sep 2013 02:52:48,847] [Job-Execution-4] [INFO] [BLAdmin:BLAdmins:] [CatalogUpdate] Patches updated: 0

      [20 Sep 2013 02:52:48,847] [Job-Execution-4] [INFO] [BLAdmin:BLAdmins:] [CatalogUpdate] Patches obsoleted: 0

      [20 Sep 2013 02:52:48,847] [Job-Execution-4] [INFO] [BLAdmin:BLAdmins:] [CatalogUpdate] Patches failed to be process: 0