You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Saturation, Instruments to Measure Golden Signals of the hands-on lab 8, when running the following command to apply the load: ab -n 50000 -c 100 http://localhost:5000/users
This leads to an error: apr_socket_connect(): Invalid argument (22)
I am on OSX, and it seems the host name is resolved as a local IPv6 address.
This error can be avoided by: ab -n 50000 -c 100 http://127.0.0.1:5000/users
Activity
maeddes commentedon Jan 12, 2026
Did you also run the lab within a devcontainer? If you use your local architecture, errors like these may occur.
The devcontainer ensures consistent behaviour and usage of the right versions. We've tested this on ARM/Intel and various OS.