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

Issue Connecting to RTM and WS behind Proxy #14

Open
odininon opened this issue Oct 5, 2017 · 0 comments
Open

Issue Connecting to RTM and WS behind Proxy #14

odininon opened this issue Oct 5, 2017 · 0 comments

Comments

@odininon
Copy link

odininon commented Oct 5, 2017

Using Hedwig behind a firewall does not connect to the Slack RTM api.

Issue:

When connecting, hedwig will receive a {:error, :nxdomain} message.

Requested Usage:
Add configuration options for proxy and accompanying settings.

Examples:
config :alfred,
Alfred.Robot,
adapter: Hedwig.Adapters.Slack,
name: "aflred",
aka: "/",
token: System.get_env("SLACK_API_TOKEN"),
rooms: [],
proxy: System.get_env("HTTP_PROXY"),
ssl_options: [insecure: true, ssl_options: [protocol: 'tlsv1.2']]
responders: [
{Hedwig.Responders.Help, []},
{Hedwig.Responders.Ping, []}
]

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