Open Closed

Bad Gateway Through Ocelet Via WGT #7246


User avatar
0
kerem.kalemci created

Hello,

The ocelot's respective config:

{
  "ServiceKey": "Saas Service",
  "DownstreamPathTemplate": "/swagger/v1/swagger.json",
  "DownstreamScheme": "https",
  "DownstreamHostAndPorts": [
    {
      "Host": "testsaas.hitsoft.com.tr",
      "Port": 443
    }
  ],
  "UpstreamPathTemplate": "/testsaas.hitsoft.com.tr/{everything}",
  "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ]
},

When I choose SAAS from the swagger's dropdown, it complains 502 bad gateway. Auth, admin, identity works like a charm.


1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Could you share the full error logs? thanks.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11