Closed mmuzikar closed 5 years ago
@mmuzikar bare in mind that the integration is running on OpenShift and that it needs to resolve todo-syndesis.my-minishift.syndesis.io
to an IP to invoke that service. The fact that you can resolve it on your machine doesn't guarantee that it can be resolved on OpenShift also. I'm guessing you added *.my-minishift.syndesis.io
to your hosts
file.
I think it should work if you set the hostname to http://todo.syndesis.svc:8080
if syndesis
is the project name you've installed Syndesis to. You could also use the route hostname for the todo app, not sure what that is in your environment (if it's not *.my-minishift.syndesis.io, that doesn't work).
@zregvart Sorry for the late reply, setting the hostname to http://todo.syndesis.svc:8080
worked as you said, but previously I was always able to use todo-syndesis.my-minishift.syndesis.io
. Not sure if it's due to any config changes I don't remember doing or if it's really a bug. What do you think?
@zregvart Can we close this?
Looks like a local issue to me, we make sure that the host parameter for the /swagger.[json|yaml]
matches the requested host, so in that case anything that can be resolved from Syndesis server should be resolved from the integration pod.
This is a...
Description
When using the todo json OpenAPI specification with hostname: http://todo-syndesis.my-minishift.syndesis.io/ always results in NoRouteToHost Exception, I've tried reconfiguring the hostname multiple times but nothing seems to be working. In the log included, it seems that there is always : at the end of the URL