TWSD-983 - Internal Server error 500: While accessing Azure under Cloud Module in Network

Review Request #1043 — Created Sept. 2, 2025 and submitted — Latest diff uploaded

shuinvy
APV10
rel_apv_10_7
TWSD-983
jasonchang, lucille, timlai, timsu

Fixed issues related to 500 error

  1. Changes for 500 error in Azure login API: Use try catch to prevent exception cause file not be closed.The root cause is file is not closed, so next time, API return empty string
    I also added DNS setting warning to front-end and language words.
    The original log in hive.log is not clear, I modified the format for the log.
  2. Changes for 500 error in AWS login API: The root cause is response not in JSON format due to value is None. So I change default value to empty string
    I also fixed json.JSONDecodeError because it is for Python3, but our Python is Python2.7
  3. No changes for 500 error in report, it is fixed in TWSD-24:
    https://reviewboard.arraynetworks.net/r/1025/
  4. Changes for 500 error in Graph page for histogram API: Add data return in Model.

    Loading...