[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AWIPS #WOM-137582]: CAVE refused connection to server question
- Subject: [AWIPS #WOM-137582]: CAVE refused connection to server question
- Date: Mon, 08 Aug 2022 13:53:10 -0600
Hi Pete,
> Upon successfully installing EDEX and CAVE on a new RHEL 7 server, EDEX is up
> and
> running fine (per edex status).
>
> For this ticket - assume the local server is called dummyserver-new.
>
> When we point CAVE to the local server where EDEX is running we get "Connect
> to
> dummyserver-new:9581 [dummyserver-new/10.232.10.254] failed: Connection
> refused.
> Hit retry limit, aborting connection"
Just to clarify, your machine running CAVE is not the same machine that's
running
EDEX (ie, not the dummyserver-new), correct?
> We do not get this issue when pointing it to ucar edex
>
> In a terminal window as user awips, the hostname command returns
> dummyserver-new
>
> Similarly regutil command shows
> /hostname : dummyserver-new
> /dummyserver-new : dummysererver-new
>
> Is there something we need to configure specific to that port 9581, are we
> missing
> something in regutil, or is there perhaps something else obvious we are
> missing
> that is preventing CAVE from connecting to the running local EDEX server?
Since I'm assuming you're using a separate machine running CAVE to connect to
your
dummyserver-new EDEX, you'll need to make sure ports 9581 and 9852 are open to
the
public on your dummy server.
We use iptables to set up the traffic/networking security and you can see an
example
of what our security looks like here:
http://unidata.github.io/awips2/install/install-edex/#3-configure-iptables
The lines of interest are:
-A INPUT -m state --state NEW -m tcp -p tcp --dport 9581 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 9582 -j ACCEPT
If those ports are not open "to the world" then I think that's what's causing
your
CAVE connection to fail.
Let me know if that helps?
--Shay Carter
She/Her/Hers
AWIPS Software Engineer
UCAR - Unidata
If you're interested, please feel free to fill out a survey about the support
you receive:
https://docs.google.com/forms/d/e/1FAIpQLSeDIkdk8qUMgq8ZdM4jhP-ubJPUOr-mJMQgxInwoAWoV5QcOw/viewform
Ticket Details
===================
Ticket ID: WOM-137582
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.