[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AWIPS #KZV-890448]: Unable to connect CAVE clients to local EDEX instance post-upgrade to 16.2.2



Hi Clark,

I believe the problem is caused by not having the fully-qualified EDEX server 
name in /awips2/edex/bin/setup.env (this should be the domain name which is 
resolvable from outside the system).  The "edex setup" command makes a guess as 
to what the machine name is, taken from 'ifconfig', but many times it will 
return the internal domain name, or the shortened name, rather than the full 
name.  

-Michael



> 
> I recently (last week) upgraded the UW-Milwaukee AWIPS2 installation (on 
> CentOS 6.x) from EDEX/CAVE 16.1.5 to 16.2.2 following the instructions on the 
> 16.2.2 upgrade announcement. However, after the upgrade, the CAVE clients are 
> unable to connect to the local EDEX instance. (There was no issue prior to 
> the upgrade, nor is there a problem connecting to the cloud EDEX server, for 
> what it's worth.) The following error appears when I try to validate to our 
> local server:
> 
> 
> com.raytheon.uf.viz.core.exception.VizCommunicationException: unable to post 
> request to server
> at 
> com.raytheon.uf.viz.core.requests.ThriftClient.sendRequest(ThriftClient.java:330)
> at 
> com.raytheon.uf.viz.core.requests.ThriftClient.sendRequest(ThriftClient.java:270)
> at 
> com.raytheon.uf.viz.core.comm.ConnectivityManager.checkLocalizationServer(ConnectivityManager.java:150)
> at 
> com.raytheon.uf.viz.core.comm.ConnectivityManager.checkLocalizationServer(ConnectivityManager.java:127)
> at 
> com.raytheon.uf.viz.core.localization.ConnectivityPreferenceDialog.validateLocalization(ConnectivityPreferenceDialog.java:562)
> at 
> com.raytheon.uf.viz.core.localization.ConnectivityPreferenceDialog.validate(ConnectivityPreferenceDialog.java:526)
> at 
> com.raytheon.uf.viz.core.localization.ConnectivityPreferenceDialog$5.widgetSelected(ConnectivityPreferenceDialog.java:415)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1276)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3562)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3186)
> at 
> com.raytheon.uf.viz.core.localization.ConnectivityPreferenceDialog.open(ConnectivityPreferenceDialog.java:241)
> at 
> com.raytheon.uf.viz.thinclient.localization.ThinClientLocalizationInitializer.setupServers(ThinClientLocalizationInitializer.java:98)
> at 
> com.raytheon.uf.viz.core.localization.LocalizationInitializer.run(LocalizationInitializer.java:76)
> at 
> com.raytheon.uf.viz.thinclient.cave.ThinClientComponent.initializeLocalization(ThinClientComponent.java:175)
> at 
> com.raytheon.uf.viz.personalities.cave.component.CAVEApplication.startComponent(CAVEApplication.java:134)
> at 
> com.raytheon.uf.viz.application.VizApplication.start(VizApplication.java:97)
> at 
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at 
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
> at 
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> at 
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
> at 
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
> Caused by: com.raytheon.uf.common.comm.CommunicationException: Error occurred 
> communicating with server: Connect to 
> awips2.math.uwm.edu:9581<http://awips2.math.uwm.edu:9581> 
> [awips2.math.uwm.edu/129.89.14.97<http://awips2.math.uwm.edu/129.89.14.97>] 
> failed: Connection refused.  Hit retry limit, aborting connection.
> at com.raytheon.uf.common.comm.HttpClient.process(HttpClient.java:500)
> at 
> com.raytheon.uf.common.comm.HttpClient.postDynamicSerialize(HttpClient.java:663)
> at 
> com.raytheon.uf.viz.core.requests.ThriftClient.sendRequest(ThriftClient.java:295)
> ... 30 more
> Caused by: org.apache.http.conn.HttpHostConnectException: Connect to 
> awips2.math.uwm.edu:9581<http://awips2.math.uwm.edu:9581> 
> [awips2.math.uwm.edu/129.89.14.97<http://awips2.math.uwm.edu/129.89.14.97>] 
> failed: Connection refused
> at 
> org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:140)
> at 
> org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:318)
> at 
> org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)
> at 
> org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219)
> 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:57)
> at com.raytheon.uf.common.comm.HttpClient.postRequest(HttpClient.java:378)
> at com.raytheon.uf.common.comm.HttpClient.process(HttpClient.java:476)
> ... 32 more
> Caused by: java.net.ConnectException: Connection refused
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at 
> java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
> at 
> java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
> at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
> at java.net.Socket.connect(Socket.java:579)
> at 
> org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:72)
> at 
> org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:123)
> ... 43 more
> 
> 
> After receiving these errors after upgrading, I attempted to remove the EDEX 
> and CAVE installations entirely and then reinstall. I still get the same 
> errors. Data are coming in and being processed correctly through the EDEX 
> instance, however.
> 
> 
> My iptables, selinux, etc. were all set when first installing AWIPS2 a year 
> and a half ago (~14.x.x?), and I checked to confirm that the changes I made 
> to them match those in the EDEX installation guide. That said, I freely admit 
> being a relative novice with knowing where to look to debug this issue! Any 
> assistance you could provide would be greatly appreciated, and I would be 
> happy to provide any additional information needed to help in doing so .
> 
> 
> Best regards,
> 
> -Clark
> 
> 
> 
> Clark Evans
> Associate Professor and Program Coordinator
> Atmospheric Science Program
> Dept. of Mathematical Sciences
> University of Wisconsin-Milwaukee
> E-mail:     address@hidden
> Phone:     (414) 229-4469
> Web:        http://derecho.math.uwm.edu/
> 
> 


Ticket Details
===================
Ticket ID: KZV-890448
Department: Support AWIPS
Priority: Normal
Status: Open
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.