Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

JMeter worker failing to start due to loopback address #78

@devlie

Description

@devlie

Using the docker image from the example as is, I would often hit the below error when starting worker. It's bizarre since the whole point of container is it's supposed to run the same way every time 🤷.

START Running Jmeter on Fri Sep 24 19:54:05 UTC 2021
JVM_ARGS=-Xmn1570m -Xms6280m -Xmx6280m
jmeter args=-s -J server.rmi.ssl.disable=true
Sep 24, 2021 7:54:07 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
Created remote object: UnicastServerRef2 [liveRef: [endpoint:[127.0.0.1:37683](local),objID:[2cb4d3bf:17c195f47b4:-7fff, 6817267041768122589]]]
Server failed to start: java.rmi.RemoteException: Cannot start. SandboxHost-637681081094606755 is a loopback address.
An error occurred: Cannot start. SandboxHost-637681081094606755 is a loopback address.

According to this SO post, it's an issue JMeter patched back in 2010. The workaround is to specify java.rmi.server.hostname, but we can't know the IP until we start the instance, and ACI doesn't support static IP for instances.

Has anybody hit this issue and is aware of a resolution? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions