-
Notifications
You must be signed in to change notification settings - Fork 129
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
[ISSUE]Facing lot of "use of closed network connection" error #698
Comments
Hello @devendermishra! Thanks for reaching out! Unfortunately, based on the information you provided, it's challenging to thoroughly analyze the issue. The problem seems to have multiple aspects, and it could potentially be on your end, possibly due to incorrect network settings. To assist you more effectively, could you please provide additional details or steps to reproduce the problem? Additionally, providing a complete Acra log with details of the error you encountered, preferably using the |
Describe the bug
I have setup an acra-server on ec2 install on t3-micro instance. DB is on t4g medium instance (using aurora mysql). I have an existing PHP application which was connecting db directly. Now, it is connecting through acra. Now, I am getting logs of "use of closed network connection error"
time="2024-02-09T10:16:02Z" level=error msg="Network error" client_id=StashfinID code=1100 error="read tcp 172.31.9.228:51494->172.31.35.209:3306: use of closed network connection" interrupt_side=AcraServer-Database session_id=372 time="2024-02-09T10:16:02Z" level=info msg="Closing client's connection" client_id=StashfinID interrupt_side=AcraServer-Database session_id=372 time="2024-02-09T10:16:02Z" level=info msg="Finished processing client's connection" client_id=StashfinID interrupt_side=AcraServer-Database session_id=372 time="2024-02-09T10:16:02Z" level=error msg="Network error" client_id=StashfinID code=1100 error="read tcp 172.31.9.228:51542->172.31.35.209:3306: use of closed network connection" interrupt_side=AcraServer-Database session_id=380 time="2024-02-09T10:16:02Z" level=info msg="Closing client's connection" client_id=StashfinID interrupt_side=AcraServer-Database session_id=380 time="2024-02-09T10:16:02Z" level=info msg="Finished processing client's connection" client_id=StashfinID interrupt_side=AcraServer-Database session_id=380 time="2024-02-09T10:16:02Z" level=error msg="Network error" client_id=StashfinID code=1100 error="read tcp 172.31.9.228:51478->172.31.35.209:3306: use of closed network connection" interrupt_side=AcraServer-Database session_id=370 time="2024-02-09T10:16:02Z" level=info msg="Closing client's connection" client_id=StashfinID interrupt_side=AcraServer-Database session_id=370 time="2024-02-09T10:16:02Z" level=error msg="Network error" client_id=StashfinID code=1100 error="read tcp 172.31.9.228:51500->172.31.35.209:3306: use of closed network connection" interrupt_side=AcraServer-Database session_id=374 time="2024-02-09T10:16:02Z" level=info msg="Closing client's connection" client_id=StashfinID interrupt_side=AcraServer-Database session_id=374 time="2024-02-09T10:16:02Z" level=error msg="Network error" client_id=StashfinID code=1100 error="read tcp 172.31.9.228:51518->172.31.35.209:3306: use of closed network connection" interrupt_side=AcraServer-Database session_id=376
To Reproduce
./acra-server -client_id ${ACRA_CLIENT_ID} -db_host <db_host> -db_port 3306 --incoming_connection_close_timeout=60 --http_api_enable=true -mysql_enable --v -keys_dir keystore/stashfin -encryptor_config_file encryptor_config.yml
Expected behavior
A clear and concise description of what you expected to happen.
Application should be able to work. When a database connection is closed, it should be closed.
Acra configuration files
Environment (please complete the following information):
Acra version: 0.95.0
Database server and its version: MySQL 8
Installed components:
Data-in-transit encryption between Acra and the client-side application:
Installation way:
The text was updated successfully, but these errors were encountered: