apinf / platform

Apinf - Open source API management platform with multi proxy and protocol support
https://apinf.com/
European Union Public License 1.1
74 stars 33 forks source link

[Staging] Error downloading file #3219

Closed marla-singer closed 6 years ago

marla-singer commented 6 years ago

Verified on staging.apinf.io

API with correct Swagger specification but there doesn't display Swagger UI because URLs are not available and there throws error

{  
  "code":"ECONNREFUSED",
  "errno":"ECONNREFUSED",
  "syscall":"connect",
  "address":"172.18.0.2",
  "port":443,
  "name":"Error",
  "message":"Error downloading file "https://staging.apinf.io/rest/v1/catalog.json" 
connect ECONNREFUSED 172.18.0.2:443",
 }

The first look shew that the problem came from the staging.apinf.io networking.

How to check The command curl -I https://staging.apinf.io/rest/v1/catalog.jsonreturns the error inside of Docker container

marla-singer commented 6 years ago

Notes from #3230 by @anarva

Modified the platform docker image on staging: Removed staging.apinf.io reference on the last line of /etc/hosts file and now the error is fixed.

Closed it issue because it's resolved