Giter Site home page Giter Site logo

Comments (8)

KissPeter avatar KissPeter commented on May 12, 2024 1

This is the issue:
25790 [WARNING] root: Failed to parse http response code, exception occurred
The requests are sent, but the tested application just fails. If you use the test application in the development branch, that is a more robust one which works as it should be ( report internal error if fuzz string is received instead of integer).
Once I fixed the test application I started getting such logs:

29138 [WARNING] root: Return code 500 is not in the expected list
29138 [ERROR] root: Failed to save report "<kitty.data.report.Report object at 0x7f563edf9160>" to /tmp/reports/ because: byte must be in range(0, 256)

This is where we are at the moment.

from apifuzzer.

KissPeter avatar KissPeter commented on May 12, 2024 1

I did exactly what you described. My plan on this issue is to check werther pycurl can handle is better. If so I can change using that.

from apifuzzer.

KissPeter avatar KissPeter commented on May 12, 2024

Sorry, you were right.
During investigating the cause of the missing report fields I've found this:
4871 [INFO] root: Request URL : http://127.0.0.1:5000/other_methods
4871 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): 127.0.0.1
4871 [ERROR] root: Request failed, reason: 'latin-1' codec can't encode character '\u0480' in position 3: ordinal not in range(256)

from apifuzzer.

lobax avatar lobax commented on May 12, 2024

Simple solution is to catch these errors and just report this as a failure of the request library? It makes sense that the fuzzer might sometimes generate output that the request library can't handle.

from apifuzzer.

lobax avatar lobax commented on May 12, 2024

I'm currently getting empty reports except when there is an issue with sending the request.

from apifuzzer.

KissPeter avatar KissPeter commented on May 12, 2024

works now, tested

from apifuzzer.

KissPeter avatar KissPeter commented on May 12, 2024

Hi,

I managed to change to pycurl where it is easier to compile requiest which then will be sent. It should be OK now.

from apifuzzer.

KissPeter avatar KissPeter commented on May 12, 2024

it is resolved now

from apifuzzer.

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.