mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 14:20:29 +01:00
Timeout Exception on VSTS Test Platform (Azure DevOps), with private build agent #155
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Tieno on GitHub (Nov 26, 2018).
In release 1.4.20 I get a timeout exception everytime the test agent tries to start the FluentMockServer
Following exception is thrown right after
"FluentMockServer.Start()"I don't get this when running the test locally.
I've tried turning off the windows firewall entirely, on the build machine, but it doesn't make any difference. I still get the timeout exception.
After seeing issue #146, I reverted to version 1.3.18 and I don't experience any timeout exception anymore.
Anybody know what's causing the timeout exception?
@StefH commented on GitHub (Nov 26, 2018):
(BTW : The DevOps pipeline used by WireMock itself works fine.)
@Tieno commented on GitHub (Nov 26, 2018):
@backlune commented on GitHub (Nov 30, 2018):
Been having the same issue on one of our slower build servers. The reason for getting a
TimeoutExceptionmight be different as some exceptions are not observed when starting the server.To find out why we were getting
TimeoutExceptionI changed to checking it the task had an exception before throwing timeout in FluentMockServer constructor.In our case a
System.IO.FileNotFoundExceptionwas being thrown (Not sure why yet but seen some issue with our nugetpackages)@StefH commented on GitHub (Nov 30, 2018):
https://github.com/WireMock-Net/WireMock.Net/pull/235
@StefH commented on GitHub (Nov 30, 2018):
version 1.0.4.21 will implement code fixes as proposed by @backlune