tonyvanriet / clj-slack-client Goto Github PK
View Code? Open in Web Editor NEWA Clojure client for the Slack Real Time Messaging and Web APIs
License: Eclipse Public License 1.0
A Clojure client for the Slack Real Time Messaging and Web APIs
License: Eclipse Public License 1.0
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.
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:
0.1.6-SNAPSHOT
I'm glad if choosed 1. Would you release the latest version to Clojars?
Thanks.
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)
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.