Hi evryone, I'm trying to send a request to wiremo...
# help
b
Hi evryone, I'm trying to send a request to wiremock and stream a webhook, but it doesn't work and nothing is visible in the logs. Who can tell me what could be the matter?
o
Hello. Could you please share the version and the CLI arguments you use
b
Sorry im find error, my mappings and file cached and returl old files(
how i disable cache?
o
There is no cache per se. You can restart the instance, and it will reload the configuration files
b
It is not comfortable
I have to restart the instance every time for the server to start returning the edited file to me
I try send webhook and get error
Copy code
Failed to fire webhook POST <https://unacashph.localhost/api/public/v1/allbank/postback>
2023-12-12T07:56:04.816340187Z wiremock.org.apache.hc.client5.http.HttpHostConnectException: Connect to <https://unacashph.localhost:443> [unacashph.localhost/127.0.0.1] failed: Connection refused (Connection refused)
service up in docker-compose + traefik How can I find out my backend address?
o
I have to restart the instance every time for the server to start returning the edited file to me
There is a ticket for live reload somewhere, but you can do the same by a file monitor and the REST API call
service up in docker-compose + traefik. How can I find out my backend address?
If Traefik is in Docker compose, There is a service name you can use as a DNS reference
b
Copy code
<https://unacashph.localhost:443>
not working
traefik in other docker-compose file
o
Then it greatly depends on your environment, e.g. on where the Docker Engine runs and how it is implemented
Normally docker containers are in the same Docker Compose if they run as a system. You can also use a named Docker network
b
I have macos m3, and colima docker engine
o
As long as it is a single-instance one, I recommend using a Docker network https://docs.docker.com/compose/networking/#specify-custom-networks
b
thank you for help 🙏 good day
o
yw, and all the best with the setup! For the live reload, I can provide a PoC if you are interested. Maybe tomorrow, doing a Python deep dive 🙂