403 (forbidden) error while opening websocket connection from ec2 linux instance

Issue #229 invalid
Former user created an issue

I have a request which opens web-socket connection using jmeter plugin. When I run the same script from local it works fine(101 response code). However it fails when I run the same script from EC2 instance(403 forbidden). Only issue I see in jmeter logs is " ERROR o.a.j.u.JMeterUtils: Unable to get local host IP address". Please help me with this issue

Comments (3)

  1. Peter Doornbosch repo owner

    As the error is logged by JMeter and not by the plugin, I would say the error is not a problem in the plugin.

    W.r.t. the 403 you are receiving: how would this be a problem in the plugin? You are sending a request to the server and it answers with “forbidden”, go ask the server 😉. As you are suggesting the only change is running in the cloud, the best way to analyse this is to capture the communication from both cases and compare to find out the difference.

    For questions about JMeter I suggest you try strackoverflow.

  2. Log in to comment