Giter Club home page Giter Club logo

Comments (4)

dosubot avatar dosubot commented on June 17, 2024 5

🤖

Hello @M-Somtirth! I'm Dosu, a friendly bot here to assist you with your GoReplay questions and issues while we wait for a human maintainer. I'm ready to help solve bugs, answer questions, and even guide you on becoming a contributor. Let's dive into your issue together!

Based on the provided context, GoReplay does not explicitly mention a limit on the length of the requests it can handle. However, there is a limit on the response body that the internal HTTP client will fetch, which is 200kb by default. This limit can be increased using the --output-http-response-buffer option as mentioned in the Replaying Http Traffic section of the GoReplay documentation.

As for the specific error or exception that GoReplay throws when it encounters a request that exceeds its limit, the provided context does not provide information on this. It's possible that the issue you're experiencing is due to a limitation in GoReplay, your system, or the specific configuration you're using.

To better understand the issue, it would be helpful to have more information. For example, are there any error messages displayed when GoReplay fails to read the request? Additionally, could you provide more details about your system configuration and the specific version of GoReplay you're using?

If you have already tried increasing the --output-http-response-buffer limit and the issue persists, it might be worth considering other factors that could be causing this issue. For instance, there could be a limit set by the operating system or the network infrastructure that is causing the issue.

I hope this helps! If you have any more questions or need further clarification, feel free to ask.

Sources


This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.

from goreplay.

buger avatar buger commented on June 17, 2024 2

@M-Somtirth try the --input-raw-allow-incomplete flag. Also I recommend increasing buffer even more.
And also set --input-raw-buffer-size 10485760

Here is related page https://github.com/buger/goreplay/wiki/Dealing-with-missing-requests-and-responses

from goreplay.

M-Somtirth avatar M-Somtirth commented on June 17, 2024

Firstly, there is no output when the query size is large, Gor simply doesn't produce any output.
Secondly after using the suggestions stated in the above comment got the same result.
When I have tried using the command: sudo ./gor --input-raw :8985 --output-stdout --output-http-response-buffer 1024kb
but couldn't observe any change.

from goreplay.

M-Somtirth avatar M-Somtirth commented on June 17, 2024

@buger Even while using this I have found the number of queries fired is not exactly fired on the target Solr Server.
While saving the requests in a file for replaying later I can find the number to match exactly.
Is there any way possible to keep the logs for Go-Replay so that I can check and verify that which query got skipped while redirecting requests at real-time?

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.