https://linen.dev logo
#general
Title
# general
v

Vishnu Rs

10/26/2023, 7:28 AM
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

Oleg Nenashev

10/26/2023, 8:18 AM
Hello. How do you pass the configuration files, especially stub mappings?
v

Vishnu Rs

10/26/2023, 8:33 AM
using “volumeMounts”
the same config file is working fine for older wiremock image (2.x)
o

Oleg Nenashev

10/26/2023, 8:44 AM
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

Vishnu Rs

10/26/2023, 9:02 AM
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

Oleg Nenashev

10/27/2023, 5:36 AM
Do you get a startup log? If not, some additional configuration changes need to be done
v

Vishnu Rs

10/27/2023, 5:48 AM
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

Oleg Nenashev

10/27/2023, 6:21 AM
It is not a startup log, just response headers
v

Vishnu Rs

10/27/2023, 6:22 AM
yes, how do I get the startup logs then
o

Oleg Nenashev

10/27/2023, 6:23 AM
The easiest would be reading container logs. You can do it with both docker or kubernetes CLI, depending on your setup
v

Vishnu Rs

10/27/2023, 6:24 AM
okay, will check that
👍 1
2 Views