Git Product home page Git Product logo

Comments (10)

pooyaj avatar pooyaj commented on May 29, 2024 1

@mabead will push a version by the end of the week at latest.

from analytics.net.

pooyaj avatar pooyaj commented on May 29, 2024 1

@mabead sorry for the delay. Just published 3.8.0!

from analytics.net.

juliette-ruchel avatar juliette-ruchel commented on May 29, 2024

@mabead,

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:

  1. a38c7228-05e5-4ec2-8bb8-ce0aceaeafa1
  2. 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.

mabead avatar mabead commented on May 29, 2024

Hi @juliette-ruchel . Which value do you suggest that I use for Timeout and MaxRetryTime?

from analytics.net.

juliette-ruchel avatar juliette-ruchel commented on May 29, 2024

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.

mabead avatar mabead commented on May 29, 2024

@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.

juliette-ruchel avatar juliette-ruchel commented on May 29, 2024

@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.

mabead avatar mabead commented on May 29, 2024

@juliette-ruchel Unfortunately, I was not able yet to try the new settings that you sent over.

from analytics.net.

mabead avatar mabead commented on May 29, 2024

@pooyaj When do you plan to issue a new version of analytics.net that will contain the fix?

from analytics.net.

mabead avatar mabead commented on May 29, 2024

@pooyaj the nuget package is still not available. Could you please publish it?

from analytics.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.