Timeout Exception on VSTS Test Platform (Azure DevOps), with private build agent
See original GitHub issueIn 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()"
System.TimeoutException : Service start timed out after 00:00:10
Stack trace
at WireMock.Server.FluentMockServer..ctor(IFluentMockServerSettings settings) in /Server/FluentMockServer.cs:line 225
at WireMock.Server.FluentMockServer.Start(Nullable`1 port, Boolean ssl) in /Server/FluentMockServer.cs:line 110
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?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
Timeouts on self hosted agents should run "Forever ...
Hello,. I'm running a job on a self hosted agent. The job runs several scripts in bash command which take time (in case...
Read more >VSTest task in Azure devops timing out after 60 minutes
If your project is private and you are using hosted agent, check this doc: One free parallel job that can run for up...
Read more >Troubleshoot pipeline runs - Azure DevOps
A pipeline may run for a long time and then fail due to job time-out. Job timeout closely depends on the agent being...
Read more >Solving Long, flaky testing with Azure DevOps - Tsuyoshi Ushio
The first try. Unfortunately, the task has been canceled. The reason is it took over 30 min. By default, Hosted agent will be...
Read more >Automating Selenium Tests in Azure Pipelines
Let us configure a private self-hosted agent on this VM. Selenium requires the agent to be run in interactive mode to execute the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

version 1.0.4.21 will implement code fixes as proposed by @backlune
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)