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(scan): http_crawl fails with TypeError('can only join an iterable') #112

Closed
3 tasks done
psyray opened this issue Jun 20, 2024 · 0 comments · Fixed by #113
Closed
3 tasks done

bug(scan): http_crawl fails with TypeError('can only join an iterable') #112

psyray opened this issue Jun 20, 2024 · 0 comments · Fixed by #113
Assignees
Labels
bug Something isn't working

Comments

@psyray
Copy link
Contributor

psyray commented Jun 20, 2024

Current Behavior

According to the latest modifications, under certain circumstance, there is a problem with the save_subdomain_metadata method
image
image

The HTTPx response does not contains any iterable data because of the error.

{
  "timestamp": "2024-06-19T13:25:14.213159887Z",
  "url": "",
  "input": "",
  "error": "context deadline exceeded (Client.Timeout exceeded while awaiting headers)",
  "words": 0,
  "lines": 0,
  "content_length": 0,
  "failed": true
}

A check need to be added to prevent this error

Expected Behavior

Http_crawl should run fine

Steps To Reproduce

Do a scan and maybe you could have the erreor if a request fails

Environment

- reNgine: 2.0.6
- OS: Debian
- Python: 3.10

Anything else?

No response

Acknowledgements

  • This issue is not a duplicate of an existing bug report.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
@psyray psyray added the bug Something isn't working label Jun 20, 2024
@psyray psyray added this to the v2.0.7 release milestone Jun 20, 2024
@psyray psyray self-assigned this Jun 20, 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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant