[ https://jira.fiware.org/browse/HELP-20018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fernando Lopez reassigned HELP-20018: ------------------------------------- Assignee: Chandra Challagonda > [fiware-stackoverflow] API Umbrella is not accessible in docker giving 502 error > -------------------------------------------------------------------------------- > > Key: HELP-20018 > URL: https://jira.fiware.org/browse/HELP-20018 > Project: Help-Desk > Issue Type: Monitor > Components: FIWARE-TECH-HELP > Reporter: Backlog Manager > Assignee: Chandra Challagonda > Labels: fiware, nginx-reverse-proxy, openresty, umbrella > > Created question in FIWARE Q/A platform on 01-09-2022 at 06:09 > {color: red}Please, ANSWER this question AT{color} 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" -- This message was sent by Atlassian JIRA (v6.4.1#64016)
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy