Skip to content

IP Address Mapping display disagrees with configuration #310

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

Closed
lochner opened this issue Apr 12, 2021 · 5 comments · Fixed by #311
Closed

IP Address Mapping display disagrees with configuration #310

lochner opened this issue Apr 12, 2021 · 5 comments · Fixed by #311

Comments

@lochner
Copy link

lochner commented Apr 12, 2021

With version 1.3.3, the Pade > Networking > IP Address Mapping display no longer agrees with the configured setting.  It always shows Automatic, even with the org.jitsi.videobridge.media.AWS_HARVESTER system property set to "disabled".

Inspection points to the apparent cause:

In /src/java/org/jitsi/videobridge/openfire/PluginImpl.java,
    org.jitsi.videobridge.media.AWS_HARVESTER
is mapped to these properties:
    org.ice4j.ice.harvest.DISABLE_AWS_HARVESTER
    org.ice4j.ice.harvest.FORCE_AWS_HARVESTER

However, in /src/web/jitsi-videobridge.jsp, the associated radio button states are mapped
via /src/java/org/jitsi/videobridge/openfire/RuntimeConfiguration.java from these properties:
    org.jitsi.videobridge.DISABLE_AWS_HARVESTER
    org.jitsi.videobridge.FORCE_AWS_HARVESTER

@deleolajide
Copy link
Member

Thanks for spotting this 👍

@gjaekel
Copy link
Contributor

gjaekel commented Apr 13, 2021

Seems also to affect FORCE_AWS_HARVESTER:

root@evalfire0 .../git/openfire-pade-plugin-master # grep "_AWS_HARVESTER" -r *                                     
src/java/org/jitsi/videobridge/openfire/PluginImpl.java:                    System.setProperty( "org.ice4j.ice.harvest.DISABLE_AWS_HARVESTER", "true" );
src/java/org/jitsi/videobridge/openfire/PluginImpl.java:                    System.clearProperty( "org.ice4j.ice.harvest.FORCE_AWS_HARVESTER" );
src/java/org/jitsi/videobridge/openfire/PluginImpl.java:                    System.setProperty( "org.ice4j.ice.harvest.DISABLE_AWS_HARVESTER", "false" );
src/java/org/jitsi/videobridge/openfire/PluginImpl.java:                    System.setProperty( "org.ice4j.ice.harvest.FORCE_AWS_HARVESTER", "true" );
src/java/org/jitsi/videobridge/openfire/PluginImpl.java:                    System.clearProperty( "org.ice4j.ice.harvest.DISABLE_AWS_HARVESTER" );
src/java/org/jitsi/videobridge/openfire/PluginImpl.java:                    System.clearProperty( "org.ice4j.ice.harvest.FORCE_AWS_HARVESTER" );
src/java/org/jitsi/videobridge/openfire/PluginImpl.java:            System.clearProperty( "org.ice4j.ice.harvest.DISABLE_AWS_HARVESTER" );
src/java/org/jitsi/videobridge/openfire/PluginImpl.java:            System.clearProperty( "org.ice4j.ice.harvest.FORCE_AWS_HARVESTER" );
src/java/org/jitsi/videobridge/openfire/PluginImpl.java:                        System.setProperty( "org.ice4j.ice.harvest.DISABLE_AWS_HARVESTER", "true" );
src/java/org/jitsi/videobridge/openfire/PluginImpl.java:                        System.clearProperty( "org.ice4j.ice.harvest.FORCE_AWS_HARVESTER" );
src/java/org/jitsi/videobridge/openfire/PluginImpl.java:                        System.setProperty( "org.ice4j.ice.harvest.DISABLE_AWS_HARVESTER", "false" );
src/java/org/jitsi/videobridge/openfire/PluginImpl.java:                        System.setProperty( "org.ice4j.ice.harvest.FORCE_AWS_HARVESTER", "true" );
src/java/org/jitsi/videobridge/openfire/PluginImpl.java:                        System.clearProperty( "org.ice4j.ice.harvest.DISABLE_AWS_HARVESTER" );
src/java/org/jitsi/videobridge/openfire/PluginImpl.java:                        System.clearProperty( "org.ice4j.ice.harvest.FORCE_AWS_HARVESTER" );
src/java/org/jitsi/videobridge/openfire/PluginImpl.java:                System.clearProperty( "org.ice4j.ice.harvest.DISABLE_AWS_HARVESTER" );
src/java/org/jitsi/videobridge/openfire/PluginImpl.java:                System.clearProperty( "org.ice4j.ice.harvest.FORCE_AWS_HARVESTER" );
src/java/org/jitsi/videobridge/openfire/RuntimeConfiguration.java:        final boolean disabled = StackProperties.getBoolean( "org.jitsi.videobridge.DISABLE_AWS_HARVESTER", false );        <----==
src/java/org/jitsi/videobridge/openfire/RuntimeConfiguration.java:            return StackProperties.getBoolean( "org.jitsi.videobridge.FORCE_AWS_HARVESTER", false );        <----==
src/java/org/jivesoftware/openfire/plugin/ofmeet/JitsiJvbWrapper.java:                        props.setProperty( "org.ice4j.ice.harvest.DISABLE_AWS_HARVESTER", "true" );
src/java/org/jivesoftware/openfire/plugin/ofmeet/JitsiJvbWrapper.java:                        props.remove( "org.ice4j.ice.harvest.FORCE_AWS_HARVESTER" );
src/java/org/jivesoftware/openfire/plugin/ofmeet/JitsiJvbWrapper.java:                        props.setProperty( "org.ice4j.ice.harvest.DISABLE_AWS_HARVESTER", "false" );
src/java/org/jivesoftware/openfire/plugin/ofmeet/JitsiJvbWrapper.java:                        props.setProperty( "org.ice4j.ice.harvest.FORCE_AWS_HARVESTER", "true" );
src/java/org/jivesoftware/openfire/plugin/ofmeet/JitsiJvbWrapper.java:                        props.remove( "org.ice4j.ice.harvest.DISABLE_AWS_HARVESTER" );
src/java/org/jivesoftware/openfire/plugin/ofmeet/JitsiJvbWrapper.java:                        props.remove( "org.ice4j.ice.harvest.FORCE_AWS_HARVESTER" );                   

@gjaekel
Copy link
Contributor

gjaekel commented Apr 13, 2021

@lochner If it's urgent for you, we may provide a snapshot build.

@deleolajide
Copy link
Member

@lochner If it's urgent for you, we may provide a snapshot build.

The latestest snapshots are automatically built by GitHub Actions and can be found at http://igniterealtime.org/projects/openfire/plugin-archive.jsp?plugin=pade

@deleolajide
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants