FreeTAKTeam / FreeTakServer

Situational Awareness Server compatible with TAK clients
Eclipse Public License 2.0
639 stars 165 forks source link

WEB UI logs in but not working #521

Open hsantos10 opened 1 year ago

hsantos10 commented 1 year ago

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

brothercorvo commented 1 year ago

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

hsantos10 commented 1 year ago

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: @.***>

habr05 commented 1 year ago

try following settings:

SCWhite commented 1 year ago

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 commented 1 year ago

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

hsantos10 commented 1 year ago

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