Skip to content
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

Seem not work in IPv6 only #20

Open
valentin2105 opened this issue Mar 12, 2021 · 0 comments
Open

Seem not work in IPv6 only #20

valentin2105 opened this issue Mar 12, 2021 · 0 comments

Comments

@valentin2105
Copy link

Hello,

I try to make this plugin work on IPv6,

My Mattermost server run on dual-stack but my Rundeck run on IPv6-only,

 ERROR services.NotificationService [quartzScheduler_Worker-2] - Error sending notification: Notification{eventTrigger='onfailure', type='SlackNotification', format='null', con
tent='{"webhook_base_url":"https://mattermost-server.tld/hooks","webhook_token":"MYTOKEN"}'}: class com.bitplaces.rundeck.plugins.slack.SlackNotificationPluginException: Error putting data t
o Slack URL: [Network is unreachable (connect failed)].                                                                                                                                                  com.bitplaces.rundeck.plugins.slack.SlackNotificationPluginException: Error putting data to Slack URL: [Network is unreachable (connect failed)].                                                                at com.bitplaces.rundeck.plugins.slack.SlackNotificationPlugin.putRequestStream(SlackNotificationPlugin.java:223) ~[?:?]                                                                                 at com.bitplaces.rundeck.plugins.slack.SlackNotificationPlugin.invokeSlackAPIMethod(SlackNotificationPlugin.java:183) ~[?:?]
        at com.bitplaces.rundeck.plugins.slack.SlackNotificationPlugin.postNotification(SlackNotificationPlugin.java:127) ~[?:?]                                                                                 at com.dtolabs.rundeck.plugins.notification.NotificationPlugin$postNotification.call(Unknown Source) ~[?:?]                                                                                              at rundeck.services.NotificationService.triggerPlugin(NotificationService.groovy:762) ~[classes!/:?]                                                                                                     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_252]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_252]                                                                                                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_252]                                                                                                  at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_252]                                                                                                                                       at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101) ~[groovy-2.5.6.jar!/:2.5.6]
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) ~[groovy-2.5.6.jar!/:2.5.6]                                                                                                                at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:351) ~[groovy-2.5.6.jar!/:2.5.6]                                                                            at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:64) ~[groovy-2.5.6.jar!/:2.5.6]                                                                             at rundeck.services.NotificationService$_triggerJobNotification_closure12.doCall(NotificationService.groovy:549) [classes!/:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_252]                                                                                                                            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_252]                                                                                                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_252]                                                                                                  at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_252]
        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101) [groovy-2.5.6.jar!/:2.5.6]                                                                                                  at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) [groovy-2.5.6.jar!/:2.5.6]                                                                                                                 at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:263) [groovy-2.5.6.jar!/:2.5.6]

My rundeck server run with -Djava.net.preferIPv6Addresses=true but this seem to do nothing with the plugin.

Thanks !

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

No branches or pull requests

1 participant