Giter VIP home page Giter VIP logo

Comments (3)

baob avatar baob commented on September 26, 2024

Help from "Bot developer hangout

This sounds like your lambda is not responding back to Slack with a HTTP 200 so the Slack Events API does not know that you actually received the message and so we re-resend the event. Check out https://api.slack.com/events-api#responding_to_events and take note of "Failure conditions" and "Graceful retries" for more info on how to debug if and why we are retrying

from submit-this.

baob avatar baob commented on September 26, 2024

Might have been fixed by commit 5a4db41 but until we see the retries coming through on the logs, and the app suppressing them, then we won't know for sure.

from submit-this.

baob avatar baob commented on September 26, 2024

Just seen the suppression working:

2020-04-18T12:03:57.304717+00:00 app[web.1]: suppressing retry based on headers: {
2020-04-18T12:03:57.304719+00:00 app[web.1]: 'user-agent': 'Slackbot 1.0 (+https://api.slack.com/robots)',
2020-04-18T12:03:57.304719+00:00 app[web.1]: accept: '*/*',
2020-04-18T12:03:57.304720+00:00 app[web.1]: 'accept-encoding': 'gzip,deflate',
2020-04-18T12:03:57.304721+00:00 app[web.1]: 'content-type': 'application/json',
2020-04-18T12:03:57.304721+00:00 app[web.1]: 'x-slack-retry-num': '2',
2020-04-18T12:03:57.304721+00:00 app[web.1]: 'x-slack-retry-reason': 'http_timeout',
2020-04-18T12:03:57.304723+00:00 app[web.1]: 'x-forwarded-for': '3.95.2.106',
2020-04-18T12:03:57.304724+00:00 app[web.1]: 'x-forwarded-proto': 'https',
2020-04-18T12:03:57.304724+00:00 app[web.1]: 'x-forwarded-port': '443',
2020-04-18T12:03:57.304724+00:00 app[web.1]: via: '1.1 vegur',
2020-04-18T12:03:57.304725+00:00 app[web.1]: 'connect-time': '0',
2020-04-18T12:03:57.304725+00:00 app[web.1]: 'x-request-start': '1587211437301',
2020-04-18T12:03:57.304725+00:00 app[web.1]: 'total-route-time': '0',
2020-04-18T12:03:57.304726+00:00 app[web.1]: 'content-length': '696'
2020-04-18T12:03:57.304726+00:00 app[web.1]: }|

from submit-this.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.