Closed DestroyerAlpha closed 1 year ago
It seems to be a serverside timeout.
The default timeout for the http.Client{}
is 0. which means no limit
.
The python lib for Slack got the same issue: https://github.com/slackapi/python-slack-sdk/issues/1165
As I can understand, they implemented an other function after exposing an other way in the Slack backend to upload File. They explained that here: https://github.com/slackapi/python-slack-sdk/releases/tag/v3.19.0
Any plans for similar support on slack-go
Any plans on updating the API? Seeing similar issues
@flowHater Thanks for your investigation!
I'm reviewing @sarthak-kothari's PR (#1130) now.
Released v0.12.0 which includes #1130.
Hey @kanata2 no #1130 in https://github.com/slack-go/slack/releases/tag/v0.12.0
Oh...sorry.
@kanata2 Can we expect a release soon with this patch ? Or are you waiting more commits to bundle the whole in a larger release ?
What I saw, is that there is still pending comments on the MR, so It's not merged and so cannot be released.
@kanata2 Would it be possible to make UploadFileV2 analogous to UploadFile. The naming of the params struct as well as the expected parameters are different (e.g. UploadFile accepted a slice of channel IDs whereas UploadFileV2 only accepts a single channel as parameter.)
What happened
I was experimenting different file size uploads to my slack workspace. The client timed out with a file size of about 50MB. The timeout happens after 20secs consistently.
Expected behavior
Send the file
Steps to reproduce
slackClient.UploadFile as well as slackClient.UploadFileContext with 1 minute context timeout, both fail with:
reproducible code
manifest.yaml
Versions