Coder Social home page Coder Social logo

clj-slack-client's People

Contributors

janiczek avatar rinx avatar tonyvanriet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

clj-slack-client's Issues

Better logging

A minor detail... currently every message is println'd to the console, and other logging done by this library is done this way too ('reconnecting...'). would be nice to either silence these, and/or use clojure.logging or something.

Clojars does not provide 0.1.7-SNAPSHOT

Hello, happy new year.

Clojars have not provided Leiningen dependency: [clj-slack-client "0.1.7-SNAPSHOT"] which written in README.md.

Otherhands this library seems to have upped to 0.1.8 by recent merges.

I propose 2 ways that:

  1. Provide latest version of clj-slack-client by Clojars
  2. Fix Leiningen dependency description to 0.1.6-SNAPSHOT

I'm glad if choosed 1. Would you release the latest version to Clojars?

Thanks.

Reconnect issue

Every now and then my long-running Slack bot "dies". It still runs all the schedulers etc but is not connected to Slack. Here is what the log prints out. Maybe it's connected to #1 ?

(Before that nothing interesting happens, for hours and hours.)

I am using [clj-slack-client "0.1.4-SNAPSHOT"].

reconnecting...
Zář 07, 2015 4:54:17 DOP. manifold.stream invoke
SEVERE: error in stream handler
java.util.concurrent.TimeoutException: timed out after 60000.0 milliseconds
        at manifold.deferred$timeout_BANG_$fn__6904.invoke(deferred.clj:1082)
        at manifold.time$fn__6390$in__6393$f__6394.invoke(time.clj:144)
        at clojure.lang.AFn.run(AFn.java:22)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at manifold.utils$thread_factory$reify__6304$fn__6306.invoke(utils.clj:25)
        at clojure.lang.AFn.run(AFn.java:22)
        at java.lang.Thread.run(Thread.java:745)

{:type team_migration_started}
Zář 07, 2015 4:54:17 DOP. aleph.http.client invoke
WARNING: error in websocket client
java.io.IOException: readAddress() failed: Koncový komunikační bod není připojen # (in English: transport endpoint is not connected)
        at io.netty.channel.epoll.Native.newIOException(Native.java:124)
        at io.netty.channel.epoll.Native.ioResult(Native.java:140)
        at io.netty.channel.epoll.Native.readAddress(Native.java:242)
        at io.netty.channel.epoll.AbstractEpollChannel.doReadBytes(AbstractEpollChannel.java:232)
        at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:610)
        at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollRdHupReady(AbstractEpollStreamChannel.java:573)
        at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:315)
        at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:250)
        at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:703)
        at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
        at java.lang.Thread.run(Thread.java:745)

Does not automatically reconnect

Seemingly at random (maybe once a day or so) I notice my bot will print

reconnecting...

to the log but never actually reconnect.

I'll probably turn on netty debug logging or something to see what's going on, just wanted to raise it as an issue in case there's anything I can try.

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.