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

Slack SDK fails on large file uploads #1141

Closed
aiell0 opened this issue Oct 30, 2023 · 1 comment
Closed

Slack SDK fails on large file uploads #1141

aiell0 opened this issue Oct 30, 2023 · 1 comment
Labels
bug Something isn't working krr It's a bug effecting KRR functionality

Comments

@aiell0
Copy link
Contributor

aiell0 commented Oct 30, 2023

Describe the bug
/usr/local/lib/python3.9/site-packages/slack_sdk/web/internal_utils.py:450: UserWarning: client.files_upload() may cause some issues like timeouts for relatively large files. Our latest recommendation is to use client.files_upload_v2(), which is mostly compatible and much stabler, instead.

To Reproduce
Steps to reproduce the behavior:

  1. Have a k8s cluster with a lot of stuff on it.
  2. Attempt to use krr with a slack sink to send cost reports to Slack.

Expected behavior
The file should be in my slack channel.

Screenshots
N/A

Desktop (please complete the following information):

  • OS: mac OSX
  • N/A
  • Sonoma 14.1

Smartphone (please complete the following information):

  • N/A

Additional context
Slack looks like they fixed this in their latest release. So theoretically all one should need to do is update the dependencies and it should work.

@github-actions
Copy link

Hi 👋, thanks for opening an issue! Please note, it may take some time for us to respond, but we'll get back to you as soon as we can!

  • 💬 Slack Community: Join Robusta team and other contributors on Slack here.
  • 📖 Docs: Find our documentation here.
  • 🎥 YouTube Channel: Watch our videos here.

@Sheeproid Sheeproid added krr It's a bug effecting KRR functionality bug Something isn't working labels Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working krr It's a bug effecting KRR functionality
Projects
None yet
Development

No branches or pull requests

3 participants