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
Using container with Traefik result in invalid SOAP Public base URL #1895
Comments
Duplicate of #983 |
Actually, there already was filed a bug based on 983 - and it is marked as fixed. |
Hi Freddy, I also found the same issue here: microsoft/nav-docker#460 I am running BC18 and I get the same issue: Where can we see the bug that was "fixed" for this? |
You mentioned SOAP URL - but you are displaying OData. |
This is a problem in Business Central. |
What does return? |
ContainerName : devtest |
Hi, The thing is applying to the overall soa endpoints at least (so, soap and odata). Used version is 16.5 What I don't hunderstand is using base url is working properly on non docker environments. Can it be a miss configuration from traefik or even an issue from it? |
I will try to spin up a VM with docker and traefik to troubleshoot. |
Some news about this issue? |
Is there anything else we can do/provide as extra information for this issue ? |
If it may help with diagnose, using any OData (not v4) web service (like a page or a query) in Excel is resulting to the following error message :
EDIT: I tried to check what could cause an issue from my today report based on OData and Excel integration, and figure the resulting endpoint was altered : Still using my Customers example, this is how the metadata url is exposed when directly accessed (without traefik front) : And this is the resulting url once pass by traefik : As you may notice, both The upper github issue is referencing this special case as beeing addressed in v2.1 |
This is a problem in Business Central. I will try to file a bug on the server team again (did that a few times already) |
This is the same issue as #2595 |
Describe the issue
Hi,
When we're using container with Traefik, the public SOAP url is not used to generate web services definitions.
Calling
http(s)://{host}/{container}/WS/Services
is showing published web services withhttp(s)://{host}:7047/BC/WS/
Same apply in specific web service definition, at
location
attribute which is showinghttp(s)://{host}:7047/BC/WS/{Company}/{Type}/{Name}
This is preventing certain library to consume web service as they're using explicilty the location attribute ship in web service definition.
It's perhaps tied to #1832
Scripts used to create container and cause the issue
Full output of scripts
The text was updated successfully, but these errors were encountered: