Comments (2)
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.
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)
- UI Views request HOT 1
- Add possibility to use api without ADMIN role HOT 5
- User change own password HOT 3
- CRUD user profile HOT 4
- Allow generic types for IdentityUser key HOT 2
- IApplicationService.GetApplicationsAsync doesn't fill Permissions and RedirectUris HOT 3
- IApplicationService.UpdateAsync corrupts ClientSecret HOT 3
- Separate all related Identity api's and code in own projects
- Infinit loop. Data is not storing in session storage. it call the authorization again and again. HOT 1
- Remove dependency to Microsoft.AspNetCore.Mvc.Core HOT 2
- Integration test for the private resource API
- deploy to production HOT 1
- sql server HOT 3
- Register Link navigates to api/accounts/register
- No nuget after merge of Pull request #5 HOT 2
- How can I add more scopes? HOT 9
- Excuse me, I want to ask about database update HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openiddict-ui.