Hello, with the latest Wiremock docker image (3.2)...
# general
v
Hello, with the latest Wiremock docker image (3.2), I’m getting the error “*No response could be served as there are no stub mappings in this WireMock instance.“,* when I try to run the Wiremock instance in GCP which is deployed via Kubernetes. With the same kubernetes configuration file and for the Docker image version “*2.x*” version, it is working fine! Any ideas to solve the above error?
o
Hello. How do you pass the configuration files, especially stub mappings?
v
using “volumeMounts”
the same config file is working fine for older wiremock image (2.x)
o
That's odd, there were no breaking changes in the config load logic. Would it be possible to run it in verbose mode to have the startup log?
v
okay, will try that
“*No response could be served as there are no stub mappings in this WireMock instance.” -* I could only see this error log when run the container in verbose mode
o
Do you get a startup log? If not, some additional configuration changes need to be done
v
I enabled the verbose mode, but I couldn’t see the startup logs..
In the GCP console, I can see the configMap is mounted
IMG_4476.heic
o
It is not a startup log, just response headers
v
yes, how do I get the startup logs then
o
The easiest would be reading container logs. You can do it with both docker or kubernetes CLI, depending on your setup
v
okay, will check that
👍 1