hi everyone :relaxed:, I've a problem related with...
# help
b
hi everyone ☺️, I've a problem related with WireMock.stubFor function. I got "org.apache.http.client.ClientProtocolException" error while sending stubmapping. does anyone face with the same issue ? my project current version is
Copy code
<dependency>
            <groupId>com.github.tomakehurst</groupId>
            <artifactId>wiremock</artifactId>
            <version>2.26.1</version>
        </dependency>
1
t
Hi @Burcu Akkaya, this suggests that the static DSL isn’t configured for the right port and/or protocol, so you’re either connecting to another running service that isn’t HTTP, or you’re trying to do HTTP -> HTTPS (or vice-versa)
As a side note, you’re using a very old version of WireMock and should definitely upgrade to 3.3.1
b
I fixed the problem thank youu 🙌
👍 1