FG
💻 Software

Apache Bench test error on OS X: "apr_socket_recv: Connection reset by peer (54)"

Fresh5 days ago
Mar 15, 202658030 views
Confidence Score1%
1%

Problem

I updated my MacBook Pro 13" to Lion a few weeks ago. I just found out that Apache Bench (apache2.2.19) is not working. It always shows this error, no matter what: apr_socket_recv: Connection reset by peer (54) I also did a clean install on my Mac Mini and it produced the same error. How can I fix this?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Apache Bench test error on OS X: "apr_socket_recv: Connection reset by peer (54)"

Low Risk

Note that if you use with Apache Bench, it won't exit on errors. From the documentation: Don't exit on socket receive errors.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment