Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index page responds with HTTP 500 error while running in docker. #7385

Closed
1 task done
trey368s opened this issue Apr 20, 2024 · 4 comments
Closed
1 task done

Index page responds with HTTP 500 error while running in docker. #7385

trey368s opened this issue Apr 20, 2024 · 4 comments

Comments

@trey368s
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

When running a bit boilerplate admin panel demo in docker, it launches into the swagger UI fine, though when you try to navigate to the index page it responds with an HTTP 500 error.

Expected Behavior

For the index page to respond with a HTTP 200 code returning the home page, like it does when not running in docker.

Steps To Reproduce

Create a bit boilerplate admin panel demo
Run the project in docker
It should launch into the swagger UI displaying the page
Navigate to the home page by removing /swagger/index.html from the path
The page should respond with an HTTP 500 error

Exceptions (if any)

HTTP 500

.NET Version

8.0.202

Anything else?

Windows 11 Pro Build 22631
SDK version 8.0.202
Visual Studio version 17.9.5
Docker version 20.10.22, build 3a2c30b
If you need any other information just let me know, more than happy to help. Very cool project I would like to learn if I can get it running in docker.

@ysmoradi
Copy link
Member

Are you using SQLite or SQL Server for your database? It's possible having trouble connecting.

@trey368s
Copy link
Author

SQL server (mssqllocaldb), any idea why it would have trouble connecting in docker but not when running it normally? Also do you think switching to SQLite would resolve the issue?

@ysmoradi
Copy link
Member

You've to do something for the Sql server dependency in docker.
The other choice would be sqlite.

@msynk
Copy link
Member

msynk commented Jun 18, 2024

I'm closing this issue since there has been no activity in a long time.

@msynk msynk closed this as completed Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants