Code Monkey home page Code Monkey logo

lichess-daily-puzzle-slack-app's People

Contributors

alexanderlystad avatar arex1337 avatar niklasf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

lichess-daily-puzzle-slack-app's Issues

dispatch_unknown_error

Our daily highlight seems to be broken ๐Ÿ˜ข

Every command returns "dispatch_unknown_error":
Screenshot 2022-02-02 at 14 17 16

Uninstall the app and reinstalling it results in this error screen:
Screenshot 2022-02-02 at 14 20 36

I assume this is not a problem specific to us, but let me know if you need more information from my end.

Detect uninstalls

Check the webhook response to stop trying to post to deactivated installations.

Not working with puzzles v2

If I did not miss any, the last daily puzzle in the Lichess slack is from v1, so I guess the update has broken this app in some way.

bot stopped posting daily puzzles

Hi There! First of all thank you for building this app! I've enjoyed the daily puzzles with my coffee in the morning at the start of the work day for a very long time!

On March 5 however the bot stopped posting puzzles in our #chess channel on our slack space. I've tried to set the puzzletime again in the hope to get the bot to start posting puzzles again, but that hasn't worked so far. I've also tried /puzzle for a few on-demand puzzles in the hopes getting it going again, but to no avail yet. Any ideas?

Could it have to do with the fact that the user who invited the bot in the first place has left the organization? Should I try to re-add the bot perhaps? I'm not an administrator of this particular workspace, so I would need to see if I can do that.

Best,
Ben

Cache daily puzzle and improve error handling

Saw a bunch of "Connection aborted. Connection reset by peer" errors between 09:45 and 11:49 UTC today GET-ing https://lichess.org/training/daily

Should cache the daily puzzle and improve error handling.

[ERROR] ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
Traceback (most recent call last):
File "/var/task/lambda_function.py", line 18, in lambda_handler
r = requests.get('https://lichess.org/training/daily', headers={'Accept': 'application/vnd.lichess.v5+json'})
File "/var/task/requests/api.py", line 76, in get
return request('get', url, params=params, **kwargs)
File "/var/task/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/opt/python/wrapt/wrappers.py", line 605, in call
return self._self_wrapper(self.wrapped, self._self_instance,
File "/opt/python/aws_xray_sdk/ext/requests/patch.py", line 27, in _xray_traced_requests
return xray_recorder.record_subsegment(
File "/opt/python/aws_xray_sdk/core/recorder.py", line 424, in record_subsegment
return_value = wrapped(*args, **kwargs)
File "/var/task/requests/sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/var/task/requests/sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "/var/task/requests/adapters.py", line 498, in send
raise ConnectionError(err, request=request)

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.