[
https://issues.apache.org/jira/browse/CXF-9069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitry updated CXF-9069:
------------------------
Description:
Good afternoon!
I use cxf-rt-rs-service-description-openapi-v3
and cxf-spring-boot-autoconfigure
When I run my app localy - server in swagger its
["http://127.0.0.1:8081"|http://127.0.0.1:18081/]
and its work good.
but when I run it in docker - server become "http://upstream-api" instead of
domen name and all endpoints in swagger are dont work ("TypeError: NetworkError
when attempting to fetch resource.")
This problem was not there when I used cxf-rt-rs-service-description-swagger.
What I do wrong? I should change something in app configuration or in
container/infrastructure?
Devops tells me that problem is in swagger settings.
And
Thank for your time!
!image-2024-10-17-10-11-59-161.png!
was:
Good afternoon!
I use cxf-rt-rs-service-description-openapi-v3
and cxf-spring-boot-autoconfigure
When I run my app localy - server in swagger its
["http://127.0.0.1:8081"|http://127.0.0.1:18081/]
and its work good.
but when I run it in docker - server become "http://upstream-api" instead of
domen name and all endpoints in swagger are dont work ("TypeError: NetworkError
when attempting to fetch resource.")
This problem was not there when I used cxf-rt-rs-service-description-swagger.
What I do wrong? I should change something in app configuration or in
container/infrastructure?
Devops tells me that problem is in swagger settings.
Thank for your time!
!image-2024-10-17-10-11-59-161.png!
> bad url in swagger servers
> --------------------------
>
> Key: CXF-9069
> URL: https://issues.apache.org/jira/browse/CXF-9069
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 4.0.5
> Reporter: Dmitry
> Priority: Major
> Attachments: image-2024-10-17-10-11-59-161.png
>
>
> Good afternoon!
> I use cxf-rt-rs-service-description-openapi-v3
> and cxf-spring-boot-autoconfigure
> When I run my app localy - server in swagger its
> ["http://127.0.0.1:8081"|http://127.0.0.1:18081/]
> and its work good.
> but when I run it in docker - server become "http://upstream-api" instead of
> domen name and all endpoints in swagger are dont work ("TypeError:
> NetworkError when attempting to fetch resource.")
> This problem was not there when I used cxf-rt-rs-service-description-swagger.
> What I do wrong? I should change something in app configuration or in
> container/infrastructure?
> Devops tells me that problem is in swagger settings.
> And
> Thank for your time!
> !image-2024-10-17-10-11-59-161.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)