Comments (10)
@mabead will push a version by the end of the week at latest.
from analytics.net.
@mabead sorry for the delay. Just published 3.8.0
!
from analytics.net.
Thanks for the feedback with the log! Looking into it I saw that you got HttpRequestException in two batches (which contain actions) that have a problem when going to be sent to Segment Server:
- a38c7228-05e5-4ec2-8bb8-ce0aceaeafa1
- acb93c7d-9c43-46d6-96c4-b02ec3b7d768
First one retries and is sent successful. The problem is the second one (acb93c7d-9c43-46d6-96c4-b02ec3b7d768) which ends failing showing Segment.io request failed in the log you attached.
Could you try setting Timeout and MaxRetryTime for the Config in the Segment Client? By default those values are 5 seconds and 10 seconds respectively. This could improve temporally the request behavior when retrying. However I am making an improvement in how it is taken into account the times it should retry in case an exception when sending the request occurs.
from analytics.net.
Hi @juliette-ruchel . Which value do you suggest that I use for Timeout and MaxRetryTime?
from analytics.net.
Hi @mabead,
I suggest you to try using a Timeout of 10s and a MaxRetryTime of 20s. Probably this will help you sort out your problems for these actions you are trying to send.
Nevertheless, once these changes we are working on, are up in nuget, I suggest you just configure the MaxRetryTime to 20s.
from analytics.net.
@juliette-ruchel out of curiosity, have you considered using polly.net to implement that whole retry logic? It did simplify my life many many times.
from analytics.net.
@mabead I will check on Polly as I have never used it. If you recommend it for sure I will try it and see if it simplifies the whole retry logic in the library. Did you manage to send all Actions to segment Server?
from analytics.net.
@juliette-ruchel Unfortunately, I was not able yet to try the new settings that you sent over.
from analytics.net.
@pooyaj When do you plan to issue a new version of analytics.net that will contain the fix?
from analytics.net.
@pooyaj the nuget package is still not available. Could you please publish it?
from analytics.net.
Related Issues (20)
- `Defaults` class removed with no way to access values elsewhere HOT 1
- Create config.yml for circle ci in .net solution HOT 1
- Question: Is this suitable for Xamarin integration? HOT 3
- Changing fields of Concrete implementations of BaseAction to Properties HOT 1
- Versioning Question Due to Error HOT 4
- Support for .NET 5.0 framework
- Events not sent to Segment servers: The operation was canceled. HOT 6
- Update e2e CircleCi config due to image problem
- e2e Testing failing in circleci
- AsyncIntervalFlushHandler deadlock HOT 3
- Encounter System.ObjectDisposedException after Dispose is called HOT 3
- Expose Message Id as a configurable option HOT 1
- Snyk.io reports issue with referenced Newtonsoft.Json package HOT 1
- Allow a mocked Client to be used for the Analytics singleton
- Remove dependency on Json.Net HOT 3
- Make it easier to get 'hidden' errors when trying to send data to Segment HOT 1
- Calling Analytics.Client.Flush() when there are pending events can cause deadlock HOT 8
- Why is the NuGet package unlisted? HOT 5
- Analytics.NET Midleware HOT 1
- My event is not being tracked, how do I troubleshoot it? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from analytics.net.