Giter Site home page Giter Site logo

Comments (2)

dinhan92 avatar dinhan92 commented on June 23, 2024

The actual error I get is: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]
demomicroservice-api-1 | An unhandled exception has occurred while executing the request.
demomicroservice-api-1 | System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'System.String'.
demomicroservice-api-1 | ---> System.Net.Http.HttpRequestException: Cannot assign requested address (localhost:5000)
demomicroservice-api-1 | ---> System.Net.Sockets.SocketException (99): Cannot assign requested address

However when I run the server in docker and run api not in docker, it still run fine, so I guess there should be something that prevent 2 images connecting each other. Do you have any idea?

from openiddict-ui.

thomasduft avatar thomasduft commented on June 23, 2024

Hi there

Look I won't really deep dive here for I do not have a docker image ready for the openiddict-ui sample server.

On the other hand it seems to me that you do not consider to seed the correct Issuer url for your use case when putting the sample server into a docker image. You have to put the correct Issuer url in place (i.e. here and here). You need to be aware that the domain within the container is not the same that should be mapped to the outside when running a docker container. Otherwise it could end up in some errors you mentioned.

Maybe you find a hint here where I have an old STS project built on the IdentityServer4 stack.

Hope I could help in that sense.

Have a nice day, Thomas

from openiddict-ui.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.