How do I fix UGC time-outs or exceptions?

When accessing User Generated Content, you may see timeouts or exceptions happen.  This is a network resource and as such behaves similarly to any other volatile resource.  

You may see errors like this in your weblogs:

 System.TimeoutException: The HTTP request to 'http://ugc.agilitycms.com/agility-ugc-api-wcf.svc' has exceeded the allotted timeout of 00:01:00.

 

I recommend looking at our other articles:

  1. Accessing volatile resources
  2. Circuit Breaker and Caching

That will help your code be more resilient to these kinds of timeouts.

In the long term, we will be updating the UGC Server-Server API to have these resiliencies built in.

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.