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

API explorer is not useful, since it tried to connect to httpS://localhost/ and the container does not run httpS, only http. #33574

Open
JonBendtsen opened this issue Mar 21, 2025 · 2 comments
Labels
Bug This is a bug (something does not work as expected)

Comments

@JonBendtsen
Copy link
Contributor

Bug

After upgrade from 20.0.2 to 20.0.4 on my production Dolibarr, I just the ability to use the API explorer.

In v20.0.4 I do actually initially get a working API explorer, but as soon as I try to use any endpoint it fails because it tries to connect to httpS localhost from within your official docker v20.0.4 image.

Image

Inside my container I have this environment variable

DOLI_URL_ROOT="http://localhost/"

and this has worked since v18 for 1.5 year.

In front of my dolibarr container I have an nginx exposed to the internet which turns https into a proxy connection using plain text http to a virtual netcard where my dolibarr container runs.

Dolibarr Version

20.0.4

Environment PHP

8.2

Environment Database

MariaDB 11.7.2-MariaDB-ubu2404

Steps to reproduce the behavior and expected behavior

No response

Attached files

No response

@JonBendtsen JonBendtsen added the Bug This is a bug (something does not work as expected) label Mar 21, 2025
@JonBendtsen
Copy link
Contributor Author

somewhat similar to #33573

@JonBendtsen
Copy link
Contributor Author

possibly tracked down to this Dolibarr/dolibarr-docker#51 issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

No branches or pull requests

1 participant