Yarp and Tye - .NET Microservice with ABP - Part 7

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ธ.ค. 2024

ความคิดเห็น • 4

  • @nelsonadj
    @nelsonadj 2 ปีที่แล้ว

    @Anto Subash - I'm having troubles with my gateway, everything looks correct but when I hit localhost 7500 I get a 502 bad gateway error back. Any ideas?

    • @antosubash
      @antosubash  2 ปีที่แล้ว

      I'm not sure what might cause this issue. It's very hard to tell without seeing the code.

    • @nelsonadj
      @nelsonadj 2 ปีที่แล้ว

      @@antosubash I found an error in the logs, System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. this makes sense as each site is not trusted by the browser and I have to bypass it to see the page, I will try to figure out a fix for this. Thank you.

    • @nelsonadj
      @nelsonadj 2 ปีที่แล้ว

      I was able to fix the issue after trusting the certs using the following commands:
      dotnet dev-certs https --clean
      dotnet dev-certs https --trust