Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: [Executing block Http Request] ArgumentOutOfRangeException: length ('-7') must be a non-negative value. (Parameter 'length') Actual value was -7. #1141

Open
5 tasks done
Manoneis opened this issue Nov 21, 2024 · 2 comments
Labels
bug Something isn't working question Further information is requested

Comments

@Manoneis
Copy link

This issue respects the following points:

  • This is a bug, not a question or a configuration issue; Please visit our forum first to troubleshoot with volunteers, before creating a report. The links can be found here.
  • This issue is not already reported on GitHub (I've searched it).
  • I'm using an up to date version of OpenBullet2. We generally do not support previous older versions. If possible, please update to the latest version before opening an issue.
  • I agree to follow OpenBullet's Code of Conduct.
  • This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one.

Description of the bug

I don't know why it happens, I was creating a config and on an http GET request block I get this error: [Executing block Http Request] ArgumentOutOfRangeException: length ('-7') must be a non-negative value. (Parameter 'length') Actual value was -7.

Reproduction steps

1 ) Login into openbullet web as admin
2) create a config
3) add a block http request get
4) getting the error

What is the current bug behavior?

just spawns this error and doesnt give the response content of the request (read response content is checked)
[Executing block Http Request] ArgumentOutOfRangeException: length ('-7') must be a non-negative value. (Parameter 'length') Actual value was -7.

What is the expected correct behavior?

show the response content of the requests

Version of the client

0.3.2

Type of client

Web client

Environment

- OS: Linusx
- Virtualization: None
- Browser: Safari 13

OpenBullet2 logs

No response

Client / Browser logs

No response

Relevant screenshots or videos

No response

Relevant LoliCode if needed

No response

Additional information

No response

@Manoneis Manoneis added the bug Something isn't working label Nov 21, 2024
@churongcon
Copy link

Me too
`
GET / HTTP/1.1
Host: diythemes.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
Pragma: no-cache
Accept: /
Accept-Language: en-US,en;q=0.8
length: 100

[Executing block Http Request] ArgumentOutOfRangeException: length ('-17') must be a non-negative value. (Parameter 'length')
Actual value was -17.
`

@openbullet
Copy link
Owner

Is this happening on any GET request? Even to https://example.com?

@openbullet openbullet added the question Further information is requested label Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants