FreeTakServer icon indicating copy to clipboard operation
FreeTakServer copied to clipboard

WEB UI logs in but not working

Open hsantos10 opened this issue 2 years ago • 6 comments

Did a fresh install in AWS and it seemed to work well. I can open the UI and log in but after login in all the dashboard is in red colors and it keeps popping the same message:

"sorry, there seems to be an error with the connection!"

The documentation says: The status of FTS services is visualized as a series (6) of rotating concentric circles. The information is color coded: ● Blue: Service is running and activated ● Red: Service is activated but not running (screenshot) ● Gray: Service is turned off (See 5.1 System Configuration)

not sure how to activate it. I did the zero touch activation I assumed FTS and UI are running automatically. (Also tried starting them through terminal)

Also I tried using postman to connect through the API and I get the error : ECONNREFUSED in postman

hsantos10 avatar Jan 23 '23 05:01 hsantos10

ensure that you follow the instructions here: https://freetakteam.github.io/FreeTAKServer-User-Docs/Installation/Cloud/AWS/

brothercorvo avatar Jan 23 '23 13:01 brothercorvo

I did. The second time did give me the UI but with the red status circles

On Mon, Jan 23, 2023, 7:52 AM Corvo @.***> wrote:

ensure that you follow the instructions here: https: //freetakteam. github. io/FreeTAKServer-User-Docs/Installation/Cloud/AWS/ — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored ZjQcmQRYFpfptBannerStart This Message Is From an External Sender This message came from outside your organization.

ZjQcmQRYFpfptBannerEnd

ensure that you follow the instructions here:

https://freetakteam.github.io/FreeTAKServer-User-Docs/Installation/Cloud/AWS/ https://urldefense.com/v3/__https://freetakteam.github.io/FreeTAKServer-User-Docs/Installation/Cloud/AWS/__;!!KwNVnqRv!Eoa8bDgq7FBJ2w9UDP8AVolI_ViugketUNm2nLkko1reSno_FJL1DQwmjEqkSlICXGunaowPEJUPyzdJNxs0e2A$

— Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/FreeTAKTeam/FreeTakServer/issues/521*issuecomment-1400386923__;Iw!!KwNVnqRv!Eoa8bDgq7FBJ2w9UDP8AVolI_ViugketUNm2nLkko1reSno_FJL1DQwmjEqkSlICXGunaowPEJUPyzdJMEKNfgk$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ATMUYFWMQT52RB7IQN6SKM3WT2ELDANCNFSM6AAAAAAUDOCMYM__;!!KwNVnqRv!Eoa8bDgq7FBJ2w9UDP8AVolI_ViugketUNm2nLkko1reSno_FJL1DQwmjEqkSlICXGunaowPEJUPyzdJGHo0I2I$ . You are receiving this because you authored the thread.Message ID: @.***>

hsantos10 avatar Jan 23 '23 14:01 hsantos10

try following settings:

  • in FTSConfig.yaml set all 3 ports to 0.0.0.0
  • in config.py set IP to external IP, APPIP to 0.0.0.0, and WEBMAP to external IP

habr05 avatar Feb 15 '23 14:02 habr05

HI @hsantos10 do you check your systemctl ? you need both "fts.service" & "fts-ui.service" running

check with these cmd: sudo systemctl status fts.service sudo systemctl status fts-ui.service

if they're both alive and running, I'll suggest checking the config file as @habr05 says.

SCWhite avatar Feb 23 '23 04:02 SCWhite

After some testing, I thing the issue might happen at your config file, not about the service. First you may want to check the AWS firewall setting(unfortunately I'm not quite familiar with) and then the config.py under /usr/local/lib/python3.8/dist-packages/FreeTAKServer-UI and the last one will be FTSConfig.yaml under /opt @habr05 's suggestion should work

SCWhite avatar Feb 23 '23 05:02 SCWhite

Will work on all of this suggestions. Thank you. I will also try on a different instance.

On Wed, Feb 22, 2023 at 11:58 PM SCWhite @.***> wrote:

After some testing, I thing the issue might happen at your config file, not about the service. First you may want to check the AWS firewall setting(unfortunately I'm not quite familiar with) and then the config. py under /usr/local/lib/python3. 8/dist-packages/FreeTAKServer-UI ZjQcmQRYFpfptBannerStart This Message Is From an External Sender This message came from outside your organization.

ZjQcmQRYFpfptBannerEnd

After some testing, I thing the issue might happen at your config file, not about the service. First you may want to check the AWS firewall setting(unfortunately I'm not quite familiar with) and then the config.py under /usr/local/lib/python3.8/dist-packages/FreeTAKServer-UI and the last one will be FTSConfig.yaml under /opt @habr05 https://urldefense.com/v3/__https://github.com/habr05__;!!KwNVnqRv!GN04ynI4W2aPmBKKXimHWJ_iy_o0Rr8Gr3CTS_wMARlvOHXhOFaEc5yKLapIgmwXh10kzdx5_hR16LbXXC7fasQ$ 's suggestion should work

— Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/FreeTAKTeam/FreeTakServer/issues/521*issuecomment-1441250490__;Iw!!KwNVnqRv!GN04ynI4W2aPmBKKXimHWJ_iy_o0Rr8Gr3CTS_wMARlvOHXhOFaEc5yKLapIgmwXh10kzdx5_hR16LbXSVzF7jI$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ATMUYFXCG3CZFZE5WYNFJA3WY34BVANCNFSM6AAAAAAUDOCMYM__;!!KwNVnqRv!GN04ynI4W2aPmBKKXimHWJ_iy_o0Rr8Gr3CTS_wMARlvOHXhOFaEc5yKLapIgmwXh10kzdx5_hR16LbXHVoz9qk$ . You are receiving this because you were mentioned.Message ID: @.***>

-- David Santos Student, PhD in Electrical Engineering *WEB 156 - **Texas A&M University, * College Station, Texas - 77840 UIN 731001248 Contact No: +1 (202)929 9687

hsantos10 avatar Feb 28 '23 22:02 hsantos10