Hi, I hope this is the right channel to ask this q...
# pactflow
r
Hi, I hope this is the right channel to ask this question. I am getting this error (Http 503) when trying to run the contract tests against pactflow. I am validating the contract against deploy or released contracts (.deployedOrReleased()). if I remove this method call it works. Can anyone here help me with this or redirect me to the correct channel? I'm using java and here is the stacktrace:
Copy code
at au.com.dius.pact.core.pactbroker.HalClient.handleHalResponse(HalClient.kt:336)
at au.com.dius.pact.core.pactbroker.HalClient.access$handleHalResponse(HalClient.kt:158)
at au.com.dius.pact.core.pactbroker.HalClient$getJson$1.invoke$lambda$0(HalClient.kt:311)
at org.apache.hc.client5.http.impl.classic.CloseableHttpClient.execute(CloseableHttpClient.java:247)
at org.apache.hc.client5.http.impl.classic.CloseableHttpClient.execute(CloseableHttpClient.java:188)
at au.com.dius.pact.core.pactbroker.HalClient$getJson$1.invoke(HalClient.kt:310)
at au.com.dius.pact.core.support.KotlinLanguageSupportKt.handleWith(KotlinLanguageSupport.kt:35)
at au.com.dius.pact.core.pactbroker.HalClient.getJson(HalClient.kt:305)
at au.com.dius.pact.core.pactbroker.HalClient.fetch(HalClient.kt:269)
at au.com.dius.pact.core.pactbroker.PactBrokerClient.fetchPact(PactBrokerClient.kt:782)
at au.com.dius.pact.core.model.PactReaderKt.loadPactFromUrl(PactReader.kt:60)
at au.com.dius.pact.core.model.DefaultPactReader.loadFile(PactReader.kt:413)
at au.com.dius.pact.core.model.DefaultPactReader.loadPact(PactReader.kt:210)
at au.com.dius.pact.provider.junitsupport.loader.PactBrokerLoader.loadPactsForProvider(PactBrokerLoader.kt:266)
at au.com.dius.pact.provider.junitsupport.loader.PactBrokerLoader.load(PactBrokerLoader.kt:128)
at au.com.dius.pact.provider.junit5.PactVerificationInvocationContextProvider$resolvePactSources$pactSources$1$pacts$1.invoke(PactJUnit5VerificationProvider.kt:78)
at au.com.dius.pact.core.support.KotlinLanguageSupportKt.handleWith(KotlinLanguageSupport.kt:35)
at au.com.dius.pact.provider.junit5.PactVerificationInvocationContextProvider.resolvePactSources(PactJUnit5VerificationProvider.kt:78)
at au.com.dius.pact.provider.junit5.PactVerificationInvocationContextProvider.provideTestTemplateInvocationContexts(PactJUnit5VerificationProvider.kt:45)
at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:273)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
m
Mmm 503 isn't great. Mind raising a support request? Ideally if you can add trace level logs we'll be able to see the request ID and trace on our side
r
Hi Matt, thanks for the reply. How would I raise that?
y
Hey Rui, You can drop your support query here https://support.smartbear.com/pactflow/message/
r
Thank you Yousaf
Hi @Yousaf Nabi (pactflow.io), I've submitted my request on Tuesday morning, do you have any idea how long does it take for Pact to get back to us on this?
m
Do you have a ticket number? I can take a quick look for you
r
00707256 thank you
m
Looks like it’s with first level support. I’ll give it a bump so it can be sent to our L3 engineers.
r
Thank you, I appreciate it
@Matt (pactflow.io / pact-js / pact-go) any update on this?
m
Hi Rui, it is currently assigned to an engineer (they have started work on the ticket). Apologies for the delay
r
still nothing?
Cc. @Matt (pactflow.io / pact-js / pact-go)
m
Hi! I’ve just reviewed the case, it looks like it should be resolved but for some reason the response hadn’t made it’s way back to customer care. My apologies, but it looks like it was resolved ~2 weeks ago. You should be able to confirm by reviewing if your verifications now pass.