Giter Site home page Giter Site logo

Comments (11)

buger avatar buger commented on July 22, 2024

Yes, you right. Its recent merge. Fixed.

from goreplay.

gottwald avatar gottwald commented on July 22, 2024

So it is normal, that some requests get lost by being not parseable, right?

from goreplay.

buger avatar buger commented on July 22, 2024

Nope, its definitly not normal. Need to debug why it happen.

from goreplay.

buger avatar buger commented on July 22, 2024

Actually its ok if some requests not parsed, due nature of RAW sockets, i can loose some packets, but it should be less then 5% of requests.

from goreplay.

gottwald avatar gottwald commented on July 22, 2024

The problem is bigger than I thought.
Can't get a single request parsed...
I got a lot of these messages: "malformed HTTP version"

from goreplay.

buger avatar buger commented on July 22, 2024

Interesting can you get some debugging info, and show actual request that can't be parsed?

from goreplay.

gottwald avatar gottwald commented on July 22, 2024

Actually I'm not sure if I'm allowed to. There's some confidential data in there.
But printing out the data variable as a string in the func ParseRequest(data []byte) shows that it sometimes kind of starts in the middle of a request.
Sometime in the middle of the URL, sometimes in the middle of the cookie information and so on.

from goreplay.

buger avatar buger commented on July 22, 2024

Strange, will be greate if you check that old 0.3.5 version works ok for you... It can be downloaded in "releases" section.

from goreplay.

gottwald avatar gottwald commented on July 22, 2024

Took the commit of 0.3.5 and patched it so that the parsing errors get visible like they are now. Same with that version.
So it's definitely not a new problem. It's just visible now.
And it's not all requests. Most of them work.
In the beginning it looked like that were all because no data got into elasticsearch, but that seems like a different problem since refactoring. Will test that too.

from goreplay.

slawosz avatar slawosz commented on July 22, 2024

@gottwald What are your replay options? You use one or more hosts to replay on?

from goreplay.

gottwald avatar gottwald commented on July 22, 2024

Single replay host without any rate limit

from goreplay.

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.