Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-20018

[fiware-stackoverflow] API Umbrella is not accessible in docker giving 502 error

    Details

      Description

      Created question in FIWARE Q/A platform on 01-09-2022 at 06:09
      Please, ANSWER this question AT https://stackoverflow.com/questions/73565116/api-umbrella-is-not-accessible-in-docker-giving-502-error

      Question:
      API Umbrella is not accessible in docker giving 502 error

      Description:
      I have set up API Umbrella in my Ubuntu 20 cloud vm.
      Try to access but got 502 Bad gateway like in here:

      Obviously, the routing is a failure for some reason.
      The output of /var/log/api-umbreall/nginx/current is the following:
      2022-09-01T06:08:19.57992 starting nginx...
      2022-09-01T06:08:27.48168 2022/09/01 06:08:27 [error] 319#0: *13 [lua] elasticsearch_setup.lua:106: create_aliases(): failed to create elasticsearch index: Unsuccessful response: {"error":{"root_cause":[

      {"type":"index_already_exists_exception","reason":"already exists","index":"api-umbrella-logs-v1-2022-09"}

      ],"type":"index_already_exists_exception","reason":"already exists","index":"api-umbrella-logs-v1-2022-09"},"status":400}, context: ngx.timer
      2022-09-01T06:21:45.17055 2022/09/01 06:21:45 [warn] 318#0: *39756 using uninitialized "x_api_umbrella_request_id" variable while logging request, client: 192.241.213.X, server: mydomain.city, request: "GET / HTTP/1.1", host: "150.230.240.y:443"
      2022-09-01T06:32:42.70713 2022/09/01 06:32:42 [error] 318#0: *72162 connect() failed (111: Connection refused) while connecting to upstream, client: 185.14.196.Z, server: mydomain.city, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:14009/", host: "mydomain.city"

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2022-09-02 05:31|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2022-09-02 05:31|CREATED monitor | # answers= 0, accepted answer= False

          People

          • Assignee:
            Chandra Chandra Challagonda
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: