Eshoponcontainers: [Mac] Identity Server doesn't work

Created on 15 Sep 2020  路  4Comments  路  Source: dotnet-architecture/eShopOnContainers

Hello everyone
I tried all suggestions but it doesn't work for me on my Mac
I follow all the steps ,step by step, with no results.
There is my configuration,
Capture d鈥檈虂cran 2020-09-15 a虁 15 47 09
Capture d鈥檈虂cran 2020-09-15 a虁 15 46 18
Capture d鈥檈虂cran 2020-09-15 a虁 15 46 06
Capture d鈥檈虂cran 2020-09-15 a虁 15 45 52

Maybe I missed up something
Thanks in advance

_Originally posted by @adahhane in https://github.com/dotnet-architecture/eShopOnContainers/issues/1124#issuecomment-692727145_

docker-compose

All 4 comments

Hello @adahhane, thank you for reaching out.

Possibly the SQL server database for the Identity Server is still holding the old value of localhost.

Could you please try to clean up the sql volume too and try following steps ?

  • To do clean up
docker聽stop $(docker聽ps -aq)
docker聽rm $(docker聽ps -aq)
docker volume聽rm $(docker volume聽ls -q)

!IMPORTANT: Above commands will clean up all running containers and it's data in your MacOS/Workstation. So you want to be careful on that.

  • To run the app
docker-compose up sqldata

once it's ready to accept the connection then you can bring up the other container by using the following command from a seperate terminal

docker-compose up
  • Once everything is up and running. Then you can open up InCognito/InPrivate browser window and try to access the app - http://docker.for.mac.localhost:5100/

Hope this helps !

Hello @sughosneo,
Thank you for this explanation,
I already make those steps except the : docker-compose up sqldata.
Now it works like a charm.

But i have another issue when i'm trying to connect with the mvc application, I get this error.

Capture d鈥檈虂cran 2020-09-16 a虁 16 19 50

Do you have any idea about it ?

Thanks in advance.

Hello @sughosneo,
Thank you for this explanation,
I already make those steps except the : docker-compose up sqldata.
Now it works like a charm.

But i have another issue when i'm trying to connect with the mvc application, I get this error.

Capture d鈥檈虂cran 2020-09-16 a虁 16 19 50

Do you have any idea about it ?

Thanks in advance.

Great ! @adahhane - thanks for the update. For the "Correlation Failed" you can refer our wiki page

Thank you.

Thanks for your quickly response,
Now all work perfectly
Best regards,

Was this page helpful?
0 / 5 - 0 ratings