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: File rewrite.php is always lost in large-request unhandled error #3818

Closed
MufidJamaluddin opened this issue Oct 26, 2020 · 2 comments
Closed
Labels
bug Verified issues on the current code behavior or pull requests that will fix them

Comments

@MufidJamaluddin
Copy link

MufidJamaluddin commented Oct 26, 2020

Describe the bug
Stress tested the CodeIgniter4 apps with error module, i ran the app with php spark serve then php spark db:seed ... and executed the stress test, but the system is always remove file rewrite.php in internal modules which isn't able to restore!

1. Tried in success scenario

image

2. Hitted error module with large request

image

3. File rewrite.php always lost

image

CodeIgniter 4 version
4.0.4

Affected module(s)
All system was affected

Expected behavior, and steps to reproduce if appropriate
Error 500 with trace in log

Context

  • OS: Windows 10
  • PHP version 7.4.8
  • Composer version 2.0.0
@MufidJamaluddin MufidJamaluddin added the bug Verified issues on the current code behavior or pull requests that will fix them label Oct 26, 2020
@otengkwame
Copy link

I'm curious and this is an interesting one. What do you think could be the possible reason for a file to be removed when lot's of request come through (to it).

@paulbalandan
Copy link
Member

Perhaps this is caused by your anti-virus program? We have received reports that the AV program deletes the rewrite.php marking it as Trojan. There is nothing in the framework that deletes this file and possibly this could be from external sources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Verified issues on the current code behavior or pull requests that will fix them
Projects
None yet
Development

No branches or pull requests

3 participants