Sun Update Registration Fails with No Internet Connection

Attempts to register V880 either with 'sconadm' or GUI fails stating...

INFO: internet connection tested not OK !

SEVERE: Exception in internet communication'

SEVERE: java.lang.NullPointerException

SEVERE: Internet Connection Failure

However access to 'Update Manager Demo' link in same registration window works fine. Any attempts to access internet outside of the Sun registration process work fine. Identical Solaris 10 install on an E3500 registered with no problem.

[512 byte] By [dwrussell] at [2007-11-26 9:34:39]
# 1

Can we first check whether you are using a web proxy to connect to the internet? Please also confirm the Solaris 10 release and the installed UC patches.

$ cat /etc/release

$ showrev -p | egrep -e '121453|121118|120335|121081|121563|122231|119788'

With the username and passwords obfuscated, could you please provide the registration profile used for the sconadm CLI and the registration log.

$ cat /tmp/registrationprofile.properties

$ /tmp/basicreg<TIMESTAMP>.log

ForumModerator at 2007-7-7 0:24:09 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 2

# cat /etc/release

Solaris 10 3/05 s10_74L2a SPARC

Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.

Use is subject to license terms.

Assembled 22 January 2005

# showrev -p | egrep -e '121453|121118|120335|121081|121563|122231|119788'

Patch: 121453-02 Obsoletes: 120776-03, 121086-02, 119107-07 Requires: 119574-02, 119254-06 Incompatibles: Packages: SUNWcsu, SUNWcs

r, SUNWppror, SUNWpprou, SUNWppro-plugin-sunos-base, SUNWccccrr, SUNWccccr, SUNWccsign, SUNWcsmauth, SUNWccfw, SUNWdc, SUNWbreg, SUN

Wcctpx, SUNWccccfg, SUNWccfwctrl, SUNWccinv, SUNWupdatemgru, SUNWupdatemgrr

Patch: 120335-02 Obsoletes: Requires: 119107-05 Incompatibles: Packages: SUNWpprou

# cat /usr/lib/breg/data/RegistrationProfile.properties

#

# Sun Online account information. A new account can be created by visiting

# http://updates.sun.com

#

userName=xxxxxxxxx

password=xxxxxxxxx

#

# Name (label) of this machine as you would like it to appear on the Sun Connection

# portal. If left blank hostname will be used

#

hostName=datasrv2

#

# Service Plan / contract number with Sun. For more information on this topic

# please visit http://www.sun.com/service/warrantiescontracts/ . NOTE - a

# subscription key is required to use the Sun Connection Portal.

#

subscriptionKey=4104319400

#

# Allow this host to be managed by the Sun Connection Portal. If set to true,

# a subscription key is required.

#

portalEnabled=true

#

# HTTPS proxy information needed to connect to Sun for registration and patch

# updates.

#

proxyHostName=

proxyPort=

proxyUserName=

proxyPassword=

--

# cat /tmp/basicreg20060818114456986.log

Aug 18, 2006 11:44:57 AM com.sun.cns.basicreg.BasicReg loadPropertiesFromHomeDir

INFO: properties file loaded from the default config.properties

Aug 18, 2006 11:44:57 AM com.sun.cns.basicreg.BasicRegCLI processInputRegister

INFO: Option:a

Aug 18, 2006 11:44:57 AM com.sun.cns.basicreg.BasicRegCLI processInputRegister

INFO: Option:r ./reg_profile

Aug 18, 2006 11:44:57 AM com.sun.cns.basicreg.adapter.CCRAdapter getValue

INFO: Running cmd := /usr/lib/cc-ccr/bin/ccr -g cns.service.swupPortalMgmt.status

Aug 18, 2006 11:44:57 AM com.sun.cns.basicreg.BasicRegCLI loadPropertiesFromFile

INFO: parentPath = /usr/lib/breg/data/.

Aug 18, 2006 11:44:57 AM com.sun.cns.basicreg.BasicRegCLI loadPropertiesFromFile

INFO: CLI registration profile found @ ./reg_profile

Aug 18, 2006 11:44:57 AM com.sun.cns.basicreg.adapter.CCRAdapter getValue

INFO: Running cmd := /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.auth

Aug 18, 2006 11:44:57 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile

INFO: userName = *********

Aug 18, 2006 11:44:57 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile

INFO: password = *****

Aug 18, 2006 11:44:57 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile

INFO: hostName =datasrv2

Aug 18, 2006 11:44:57 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile

INFO: subscriptionKey = ********

Aug 18, 2006 11:44:57 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile

INFO: portalEnabled =true

Aug 18, 2006 11:44:57 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile

INFO: proxyHost =

Aug 18, 2006 11:44:57 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile

INFO: proxyPort =

Aug 18, 2006 11:44:57 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile

INFO: proxyUsername =

Aug 18, 2006 11:44:57 AM com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile

INFO: proxyPassword = ****

Aug 18, 2006 11:44:57 AM com.sun.cns.basicreg.BasicRegCLI run

INFO: Authenticating user ...

Aug 18, 2006 11:44:58 AM com.sun.cns.basicreg.adapter.eCRAdapter <init>

INFO: Using eCRAdapter endpoint := https://cns-services.sun.com/UserInformationService/UserInformationService

Aug 18, 2006 11:45:04 AM com.sun.cns.basicreg.common.ProxyManager testSettings

SEVERE: java.net.UnknownHostException: www.sun.com

Aug 18, 2006 11:45:04 AM com.sun.cns.basicreg.common.ProxyManager testSettings

SEVERE:

java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)

java.net.Socket.connect(Socket.java:507)

sun.net.NetworkClient.doConnect(NetworkClient.java:155)

sun.net.www.http.HttpClient.openServer(HttpClient.java:365)

sun.net.www.http.HttpClient.openServer(HttpClient.java:477)

sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:280)

sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:337)

sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient( AbstractDelegateHttpsURLConnection.java:176)

sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java :736)

sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractD elegateHttpsURLConnection.java:162)

sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.ja va:905)

sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnec tionImpl.java:234)

java.net.URL.openStream(URL.java:1007)

com.sun.cns.basicreg.common.ProxyManager.testSettings(ProxyManager.java:170)

com.sun.cns.basicreg.adapter.Adapter.connectToSun(Adapter.java:186)

com.sun.cns.basicreg.adapter.eCRAdapter.authenticateUser(eCRAdapter.java:104)

com.sun.cns.basicreg.BasicRegCLI.authenticateUser(BasicRegCLI.java:1016)

com.sun.cns.basicreg.BasicRegCLI.run(BasicRegCLI.java:653)

com.sun.cns.basicreg.BasicRegCLI.main(BasicRegCLI.java:548)

Aug 18, 2006 11:45:04 AM com.sun.cns.basicreg.common.ProxyManager testSettings

SEVERE: Error reading from https://www.sun.com

Aug 18, 2006 11:45:04 AM com.sun.cns.basicreg.adapter.Adapter connectToSun

INFO: internet connection tested not OK !

Aug 18, 2006 11:45:04 AM com.sun.cns.basicreg.adapter.eCRAdapter authenticateUser

SEVERE: Exception in internet communication

Aug 18, 2006 11:45:04 AM com.sun.cns.basicreg.adapter.eCRAdapter authenticateUser

SEVERE: java.lang.NullPointerException

Aug 18, 2006 11:45:04 AM com.sun.cns.basicreg.adapter.eCRAdapter authenticateUser

SEVERE:

com.sun.cns.basicreg.adapter.eCRAdapter.authenticateUser(eCRAdapter.java:82)

com.sun.cns.basicreg.BasicRegCLI.authenticateUser(BasicRegCLI.java:1016)

com.sun.cns.basicreg.BasicRegCLI.run(BasicRegCLI.java:653)

com.sun.cns.basicreg.BasicRegCLI.main(BasicRegCLI.java:548)

Aug 18, 2006 11:45:04 AM com.sun.cns.basicreg.BasicRegCLI run

SEVERE: Internet Connection Failure

Aug 18, 2006 11:45:04 AM com.sun.cns.basicreg.BasicRegCLI run

SEVERE: Exception in internet communication

dwrussell at 2007-7-7 0:24:09 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 3
Could you please install patch 121118-06 "Sun Update Connection Client, System Edition 1.0.4"which is required in addition to patch 121453-02 "Sun Update Connection Client Foundation" that is already installed and then try registering again.
ForumModerator at 2007-7-7 0:24:09 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 4
patch 121118-06 installed.Same result, Registration process says it cannot connect to internet.
dwrussell at 2007-7-7 0:24:09 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 5

Hello,

Please can you run the following commands:

smpatch get

/usr/lib/cc-cfw/platform/transport/bin/cctrunner -p

And the most recent instance of the following file:

/tmp/basicreg*.log

Please forward this information to the following address "rsc-forum-inbound@sun.com".

Regards,

ForumModerator at 2007-7-7 0:24:09 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 6
I am having the exact same issue.Was a resolution found?
dougis at 2007-7-7 0:24:09 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 7
No resolution yet.Feeling at Sun was I truly did not have Internet connection.Hopefully I have now convinced them that I do,and the problem is somewhere else.Dialog has quieted down.
dwrussell at 2007-7-7 0:24:09 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 8
Thanks for the update.I have also sent a query to the Sunmanagers list so I will see if I get any help there.
dougis at 2007-7-7 0:24:09 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 9
It has been determined that Internet connection only fails when trying to resolve url using Java programs. In this case the Java Registration program. No resoluton to this problem was determined.
dwrussell at 2007-7-7 0:24:09 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 10

I opened a trouble report for this a long time ago , after quite a few emails back and forth trying all the above no resolution was found.

I have had this happen on about half our systems - using 1/06.

What does work is a sys-unconfig , but that is dicey on production.

What may work is to download the latest patch cluster to get things firmed up a bit and then try to register.

.

avraamjack1 at 2007-7-7 0:24:09 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 11
Thanks for the Post.It is nice to know I am not the only one with this problem.I will sit tight and hope Sun finds time to fix.
dwrussell at 2007-7-7 0:24:09 > top of Java-index,Administration Tools,Sun Update Connection-System...