Open cb-r opened 2 years ago
check out your IPs
config.py values
FTSConfig.yaml values
@cb-r will be keeping an eye on this for you - please make sure your config values match up with what we have at the bottom of the page - we've been able to successfully do installs on AWS using these steps, so please make sure nothing additional is being done
have this same problem - still no solution.
What is the issue? Are you following the exact instructions we published?
yes, but I am lost with instructions. Install via digital oceans returns no errors, but I can not access my public ip via 5000. And aws install return errors on start, but delivers a UI on port 5000 no problem.
this are the errors for AWS CA found locally, not generating a new one Certificate file exists, aborting. Certificate file exists, aborting. something start 213 starting now running api 0.0.0.0 8080 (16478) wsgi starting up on http://0.0.0.0:8080 start 213 starting SSL now 0.0.0.0 8443 (16479) wsgi starting up on https://0.0.0.0:8443 event event about to be created CoTService started SSL CoTService started {} number of CoT messages received by services: 0 there has been an exception in the start function of TCPCoTService [Errno 98] Address already in use ssl cot service starting [Errno 98] Address already in use there has been an exception thrown in the starting of the ssl service [Errno 98] Address already in use started federation federate service {} sudo lsof -i COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
systemd-r 404 systemd-resolve 12u IPv4 19752 0t0 UDP localhost:domain systemd-r 404 systemd-resolve 13u IPv4 19753 0t0 TCP localhost:domain (LISTEN) avahi-dae 442 avahi 12u IPv4 22689 0t0 UDP :mdns avahi-dae 442 avahi 13u IPv6 22690 0t0 UDP :mdns avahi-dae 442 avahi 14u IPv4 22691 0t0 UDP :58319 avahi-dae 442 avahi 15u IPv6 22692 0t0 UDP :54204 python3.8 452 root 4u IPv4 25141 0t0 TCP :5000 (LISTEN) node-red 463 root 18u IPv4 27998 0t0 TCP :1880 (LISTEN) rtsp-simp 468 root 3u IPv6 23642 0t0 TCP :8554 (LISTEN) rtsp-simp 468 root 7u IPv6 23644 0t0 TCP :1935 (LISTEN) rtsp-simp 468 root 8u IPv6 23645 0t0 TCP :8888 (LISTEN) rtsp-simp 468 root 9u IPv6 23648 0t0 TCP :9997 (LISTEN) sshd 580 root 3u IPv4 24418 0t0 TCP :ssh (LISTEN) sshd 580 root 4u IPv6 24438 0t0 TCP :ssh (LISTEN) python3.8 746 root 90u IPv4 25268 0t0 TCP :http-alt (LISTEN) python3.8 797 root 94u IPv4 25318 0t0 TCP :8443 (LISTEN) python3 16479 root 94u IPv4 221223 0t0 TCP :8443 (LISTEN) python3.8 805 root 107u IPv4 25373 0t0 TCP :8087 (LISTEN) python3.8 818 root 120u IPv4 25379 0t0 TCP *:8089 (LISTEN)
Hi, I am trying to install FTS on an AWS EC2 instance as per the instructions at https://freetakteam.github.io/FreeTAKServer-User-Docs/Installation/Cloud/AWS/
However, I get the following errors. Any troubleshooting suggestions? Would love to test and contribute back. Thanks a lot for the help.
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn conn = connection.create_connection( File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 84, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 74, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 665, in urlopen httplib_response = self._make_request( File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 387, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.8/http/client.py", line 1256, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.8/http/client.py", line 1302, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.8/http/client.py", line 1251, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.8/http/client.py", line 1011, in _send_output self.send(msg) File "/usr/lib/python3.8/http/client.py", line 951, in send self.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 187, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 171, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f5f0afd0a90>: Failed to establish a new connection: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send resp = conn.urlopen( File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 719, in urlopen retries = retries.increment( File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 436, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host=‘X.X.X.X’, port=19023): Max retries exceeded with url: /AuthenticateUser?username=admin&password=password (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f5f0afd0a90>: Failed to establish a new connection: [Errno 111] Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/eventlet/wsgi.py", line 573, in handle_one_response result = self.application(self.environ, start_response) File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2464, in call return self.wsgi_app(environ, start_response) File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2450, in wsgi_app response = self.handle_exception(e) File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1867, in handle_exception reraise(exc_type, exc_value, tb) File "/usr/local/lib/python3.8/dist-packages/flask/_compat.py", line 39, in reraise raise value File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2447, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1952, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1821, in handle_user_exception reraise(exc_type, exc_value, tb) File "/usr/local/lib/python3.8/dist-packages/flask/_compat.py", line 39, in reraise raise value File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1950, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1936, in dispatch_request return self.view_functionsrule.endpoint File "/usr/local/lib/python3.8/dist-packages/FreeTAKServer-UI/app/base/routes.py", line 42, in login user = requests.get(f"http://{app.config['IP']}:{app.config['PORT']}/AuthenticateUser", params={"username": username, "password": password}, headers={"Authorization": f"{app.config['APIKEY']}"}) File "/usr/lib/python3/dist-packages/requests/api.py", line 75, in get return request('get', url, params=params, kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host=‘X.X.X.X’, port=19023): Max retries exceeded with url: /AuthenticateUser?username=admin&password=password (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f5f0afd0a90>: Failed to establish a new connection: [Errno 111] Connection refused'))