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

Ensure we can hit Slack API from /healthz #914

Open
devth opened this issue Apr 2, 2019 · 0 comments
Open

Ensure we can hit Slack API from /healthz #914

devth opened this issue Apr 2, 2019 · 0 comments

Comments

@devth
Copy link
Member

@devth devth commented Apr 2, 2019

Sometimes Yetibot completely breaks after running for several days with exception:

java.security.AccessControlException: access denied ("java.net.NetPermission" "getProxySelector")
        at java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
        at java.base/java.security.AccessController.checkPermission(AccessController.java:895)
        at java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:322)
        at java.base/java.net.ProxySelector.getDefault(ProxySelector.java:96)

Until we figure this out it might be worth baking a check into /healthz to ensure we can talk to the Slack API. There's even an api.test method we could utilize.

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

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.