Friday, 2015-06-19

*** cemerick <cemerick!~cemerick@c-24-34-140-98.hsd1.ma.comcast.net> has joined #immutant00:27
*** jcrossley3 is now known as jcrossley3-away01:11
*** cemerick <cemerick!~cemerick@c-24-34-140-98.hsd1.ma.comcast.net> has quit IRC (Ping timeout: 265 seconds)01:22
*** deadghost <deadghost!~deadghost@115.133.235.10> has quit IRC (Read error: Connection reset by peer)02:55
*** deadghost <deadghost!~deadghost@115.133.235.10> has joined #immutant02:56
*** deadghost <deadghost!~deadghost@115.133.235.10> has quit IRC (Read error: Connection reset by peer)03:25
*** cemerick <cemerick!~cemerick@96-33-171-181.dhcp.oxfr.ma.charter.com> has joined #immutant04:28
*** deadghost <deadghost!~deadghost@115.133.235.10> has joined #immutant05:26
*** mgoldmann|away is now known as mgoldmann06:00
*** cemerick <cemerick!~cemerick@96-33-171-181.dhcp.oxfr.ma.charter.com> has quit IRC (Ping timeout: 252 seconds)07:49
*** marianoguerra <marianoguerra!~marianogu@emesene/grandpa/marianoguerra> has joined #immutant08:21
*** dark4eg <dark4eg!~dark4eg@o63-hfw-1-nat-0-1-30.extel-gsm.com> has joined #immutant09:45
*** conan_ <conan_!~conan@mdproctor.plus.com> has quit IRC (Quit: Computer has gone to sleep.)09:45
*** dark4eg <dark4eg!~dark4eg@o63-hfw-1-nat-0-1-30.extel-gsm.com> has quit IRC (Ping timeout: 244 seconds)09:51
*** conan_ <conan_!~conan@mdproctor.plus.com> has joined #immutant09:54
*** deadghost <deadghost!~deadghost@115.133.235.10> has quit IRC (Read error: Connection reset by peer)10:52
*** deadghost <deadghost!~deadghost@115.133.235.10> has joined #immutant10:55
*** deadghost <deadghost!~deadghost@115.133.235.10> has quit IRC (Ping timeout: 265 seconds)11:16
*** agarman <agarman!~agarman@169.130.108.20> has joined #immutant11:22
*** mgaare <mgaare!~quassel@75.127.15.55> has quit IRC (Read error: Connection reset by peer)11:35
*** tcrawley-away is now known as tcrawley12:03
*** bbrowning_away is now known as bbrowning12:30
*** bobmcw <bobmcw!~bobmcw@redhat/jboss/bobmcw> has joined #immutant12:55
*** jcrossley3-away <jcrossley3-away!~user@redhat/jboss/jc3> has quit IRC (Ping timeout: 265 seconds)12:59
*** jcrossley3 <jcrossley3!~user@redhat/jboss/jc3> has joined #immutant13:00
*** jcrossle_ <jcrossle_!~user@71-90-202-1.dhcp.stls.mo.charter.com> has joined #immutant13:04
*** jcrossle_ is now known as jcrossley3_13:08
*** jcrossley3 <jcrossley3!~user@redhat/jboss/jc3> has quit IRC (Ping timeout: 276 seconds)13:08
*** jcrossley3_ is now known as jcrossley313:11
*** cemerick <cemerick!~cemerick@c-24-34-140-98.hsd1.ma.comcast.net> has joined #immutant13:31
*** qwerty_nor <qwerty_nor!~Thunderbi@50.241.85.169> has joined #immutant13:35
*** deadghost <deadghost!~deadghost@115.133.235.10> has joined #immutant13:47
*** conan_ <conan_!~conan@mdproctor.plus.com> has quit IRC (Quit: Computer has gone to sleep.)14:36
*** conan_ <conan_!~conan@mdproctor.plus.com> has joined #immutant14:37
*** egli <egli!~user@alouette.sbs.ch> has quit IRC (Remote host closed the connection)15:13
*** mgaare <mgaare!~quassel@75.127.15.55> has joined #immutant15:14
*** cemerick <cemerick!~cemerick@c-24-34-140-98.hsd1.ma.comcast.net> has quit IRC (Ping timeout: 264 seconds)15:22
*** tcrawley is now known as tcrawley-away15:39
*** conan_ <conan_!~conan@mdproctor.plus.com> has quit IRC (Ping timeout: 264 seconds)15:48
*** marianoguerra <marianoguerra!~marianogu@emesene/grandpa/marianoguerra> has quit IRC (Quit: leaving)16:17
*** marianoguerra <marianoguerra!~marianogu@p4FDBEBC7.dip0.t-ipconnect.de> has joined #immutant16:19
*** marianoguerra <marianoguerra!~marianogu@emesene/grandpa/marianoguerra> has joined #immutant16:19
*** marianoguerra <marianoguerra!~marianogu@emesene/grandpa/marianoguerra> has quit IRC (Ping timeout: 276 seconds)16:27
*** bbrowning is now known as bbrowning_away16:34
*** tcrawley-away is now known as tcrawley16:39
*** mgoldmann is now known as mgoldmann|away16:50
*** bbrowning_away is now known as bbrowning17:01
*** dark4eg <dark4eg!~dark4eg@ppp6-186.tis-dialog.ru> has joined #immutant17:03
*** marianoguerra <marianoguerra!~marianogu@p4FDBDFAF.dip0.t-ipconnect.de> has joined #immutant17:44
*** marianoguerra <marianoguerra!~marianogu@emesene/grandpa/marianoguerra> has joined #immutant17:44
*** conan_ <conan_!~conan@mdproctor.plus.com> has joined #immutant17:46
*** cemerick <cemerick!~cemerick@c-24-34-140-98.hsd1.ma.comcast.net> has joined #immutant18:19
*** cemerick <cemerick!~cemerick@c-24-34-140-98.hsd1.ma.comcast.net> has quit IRC (Ping timeout: 256 seconds)18:36
*** seangrove <seangrove!~user@c-50-174-77-118.hsd1.ca.comcast.net> has joined #immutant19:18
tcrawleyseangrove: welcome! :)19:19
seangroveCheers!19:34
*** cemerick <cemerick!~cemerick@c-24-34-140-98.hsd1.ma.comcast.net> has joined #immutant19:42
*** hudek <hudek!~akhudek@CPE84948cd07b51-CM84948cd07b50.cpe.net.cable.rogers.com> has joined #immutant19:50
*** jcrossley3 is now known as jcrossley3-away19:58
*** hudek <hudek!~akhudek@CPE84948cd07b51-CM84948cd07b50.cpe.net.cable.rogers.com> has quit IRC (Remote host closed the connection)20:01
*** pandeiro <pandeiro!~user@177.33.185.41> has quit IRC (Read error: Connection reset by peer)20:04
*** agarman <agarman!~agarman@169.130.108.20> has quit IRC (Ping timeout: 272 seconds)20:05
*** jcrossley3-away is now known as jcrossley320:06
seangrovetcrawley: I'd like to efficiently send some data between various cljs clients and the server (location in 3d space, messages, perhaps audio/video data, some synchronization data) - what's the recommended approach via immutant?20:15
tcrawleyhave you looked at sente? it supports immutant now, and seems pretty popular for that sort of thing20:16
seangroveYeah, I'd rather not tie in with its state management20:16
tcrawleyunderstood. I don't have a recommendation other than that or rolling your own20:17
tcrawleywe've discussed a sockjs implementation, but haven't looked at it too deeply20:17
*** dark4eg <dark4eg!~dark4eg@ppp6-186.tis-dialog.ru> has quit IRC (Read error: Connection reset by peer)20:18
jcrossley3seangrove: it's pretty straightforward to proxy messaging queues/topics to/from ws clients20:18
*** dark4eg <dark4eg!~dark4eg@ppp109-111-155-79.tis-dialog.ru> has joined #immutant20:18
seangroveWell, thinking about codec, etc20:18
seangroveNo worries, happy to dig into it, was just wondering if there was an easy way to send e.g. transit/fressian data to a ws client20:20
seangroveOr to receive it20:20
tcrawleyyou should be able to use the built-in codecs yourself so you don't have to reinvent that wheel, but they may not buy you much20:23
tcrawleylet me refresh my memory about how they work20:23
tcrawley(require '[immutant.codecs :as cdc] '[immutant.codecs.fressian :as frs]) (frs/register-fressian-codec) (cdc/encode data :fressian) (cdc/decode data :fressian)20:25
tcrawleythat's a touch easier to use than fressian directly: https://github.com/immutant/immutant/tree/master/core/src/immutant/codecs/fressian.clj#L3620:26
*** hudek <hudek!~hudek@CPE84948cd07b51-CM84948cd07b50.cpe.net.cable.rogers.com> has joined #immutant20:27
tcrawleyand there's https://github.com/immutant/immutant-transit if you want to use the same codec api with transit20:27
hudekHey, is there a way to modify the enabled ciphers and SSL protocols? The default selection includes some seriously insecure RC4 ciphers.20:27
seangroveAnd how do I actually use the codecs in immutant?20:27
seangroveAh, I'll look at the example app20:28
seangroveI misread the README on that when I first looked at it, and thought it *couldn't* be used with 2.x.x :)20:28
tcrawleyseangrove: you would (async/send! ch (cdc/encode data :transit)) and call cdc/decode in on-message to decode the data from the client20:28
seangroveAwwwwwesome, thanks20:29
tcrawleythe codecs are used automatically for messaging and caching, but we assume the default is clojure on the other side20:30
tcrawleywe don't assume that for async, so don't support codecs there20:30
tcrawleyso you have to use them manually20:30
tcrawleyhudek: what version of immutant?20:30
hudektcrawley: 2.0.120:31
jcrossley3hudek: ssl support in immutant is minimal, mainly expecting you to do what you need with the godawful java libs20:33
tcrawleyseangrove: ah, the readme on immutant-transit is out of date. it should work with 2.0.120:33
*** cemerick <cemerick!~cemerick@c-24-34-140-98.hsd1.ma.comcast.net> has quit IRC (Ping timeout: 264 seconds)20:33
tcrawley(ignore what it says about requiring an incremental version)20:33
*** bobmcw <bobmcw!~bobmcw@redhat/jboss/bobmcw> has quit IRC (Remote host closed the connection)20:33
hudekjcrossley3: yeah, I looked into the SSLContext but after hours of looking over documents about factory factories I still couldn’t figure out if it was possible to do this with just the SSLContext20:34
jcrossley3hudek: it's awful20:34
hudekI think undertow does have a configuration option for the ciphers at least, but any mention of it online was in conjunction with an XML config file20:34
jcrossley3link?20:34
tcrawleyhudek: my recommendation would be to terminate ssl at nginx and proxy to a !ssl immutant, but that's more moving parts20:34
jcrossley3tcrawley: pfft!20:35
hudekhttps://issues.jboss.org/browse/WFLY-265320:35
jbossbotjira [WFLY-2653] HTTPS undertow listener select cipher-suites [Resolved (Done) Enhancement, Major, Tomaz Cerar] https://issues.jboss.org/browse/WFLY-265320:35
tcrawleyjcrossley3: I'd rather do that than muck with the godawful :)20:36
hudektcrawley: we generally terminate via nginx, but we have one customer who has some unorthadox local configuration where we are terminating at the app20:36
tcrawleyseangrove: though the latest incrementals fix a couple of websocket issues: IMMUTANT-563 IMMUTANT-564.20:36
jbossbotjira [IMMUTANT-563] on-close handler for async channels doesn't fire if server is stopped [Open (Unresolved) Bug, Major, Unassigned] https://issues.jboss.org/browse/IMMUTANT-56320:36
jbossbotjira [IMMUTANT-564] on-close and on-error handlers not running for Safari [Open (Unresolved) Bug, Major, Toby Crawley] https://issues.jboss.org/browse/IMMUTANT-56420:36
tcrawleythose will be fixed in 2.0.2, probably early next week, but just a heads up in case you hit them20:37
seangroveAh, ok, thanks20:40
seangroveThe Precursor authors really recommended Immutant, said you guys were very responsive about bugs like that20:40
jcrossley3seangrove: precursor?20:41
tcrawleyhttps://precursorapp.com/20:41
seangrovehttps://precursorapp.com/20:41
jbossbotTitle: Precursor—fast prototyping web app, makes collaboration easy.20:41
jbossbotTitle: Precursor—fast prototyping web app, makes collaboration easy.20:41
tcrawleyships!20:41
seangroveBeat me by a few milliseconds ;)20:41
tcrawleyseangrove: those two bugs are theirs :)20:42
*** bbrowning is now known as bbrowning_away20:42
jcrossley3tcrawley: who are they, i meant?20:44
*** cap10morgan <cap10morgan!~cap10morg@2600:100e:b000:e0d8:80ae:7dc5:8a20:73ef> has joined #immutant20:49
cap10morgananyone else doing syslog logging from wildfly 8 w/ Immutant? I'm getting line numbers but not source files on errors, which makes it very hard to track down the source of the exceptions.20:50
jcrossley3hudek: untested, but a possible solution for you...20:50
jcrossley3https://github.com/xnio/xnio/blob/3.x/api/src/main/java/org/xnio/Options.java#L16720:51
jcrossley3https://github.com/immutant/immutant/blob/master/web/src/immutant/web/undertow.clj#L6720:51
jcrossley3the latter is an example of calling setSocketOption on an Undertow builder20:52
hudekjcrossley3: interesting, thanks, I’ll play around with that!20:53
jcrossley3e.g. (.setSocketOption builder Options/SSL_ENABLED_CIPHER_SUITES "whatever")20:53
jcrossley3holler if you need help getting a builder20:53
jcrossley3but it should be doc'd somewhere20:53
jcrossley3hudek: http://immutant.org/documentation/2.0.1/apidoc/guide-web.html#h530220:55
jbossbotTitle: Immutant 2.0.1 API documentation20:55
hudekperfect, thanks :-)20:55
jcrossley3hudek: holler if you can't get that going. i'm out next week, but tcrawley is way smarter than me. and don't let him get away with any solution involving either a) nginx or 2) xml :)20:58
*** tcrawley is now known as tcrawley-away20:58
seangroveSo using the :transit codec and sending data over a websocket, it shows up as a Blob in the client20:58
hudekhaha, ok, will do. I’ll report back once I’ve tested it.20:58
seangroveNot sure how to convert that into something that transit-cljs can read21:00
jcrossley3seangrove: i think tcrawley-away stepped out, but he'll answer whence he returns (i know bupkis about transit)21:01
seangroveHeh, thanks jcrossley321:01
seangroveCurious to also try fressian next, since I believe it can omit repeated values as well as keys21:02
seangroveOk, I think I got it, had to invoke the file reader, etc. to get the blob into a readable format21:11
*** cap10morgan <cap10morgan!~cap10morg@2600:100e:b000:e0d8:80ae:7dc5:8a20:73ef> has quit IRC (Quit: (null))21:30
*** hudek_ <hudek_!~hudek@CPE84948cd07b51-CM84948cd07b50.cpe.net.cable.rogers.com> has joined #immutant21:35
*** hudek <hudek!~hudek@CPE84948cd07b51-CM84948cd07b50.cpe.net.cable.rogers.com> has quit IRC (Ping timeout: 248 seconds)21:35
*** hudek_ is now known as hudek21:35
*** hudek <hudek!~hudek@CPE84948cd07b51-CM84948cd07b50.cpe.net.cable.rogers.com> has quit IRC (Quit: hudek)21:42
*** hudek <hudek!~hudek@CPE84948cd07b51-CM84948cd07b50.cpe.net.cable.rogers.com> has joined #immutant21:43
*** jcrossley3 is now known as jcrossley3-away21:52
hudekdang, there may be a bug in the version of undertow 2.0.1 uses around the ciphers21:57
hudekhttps://gist.github.com/akhudek/3e00c0c54dec3a2def7e21:57
hudekciphers is a collection of cipher strings21:57
hudekend up with this https://gist.github.com/akhudek/12ff2fce0122ca86048821:58
hudekthen found http://lists.jboss.org/pipermail/undertow-dev/2014-January/000670.html21:58
jbossbotTitle: [undertow-dev] Undertow configuration issue - enabled-cipher-suites21:58
hudekhttps://issues.jboss.org/browse/WFLY-277521:59
jbossbotjira [WFLY-2775] Startup exception when setting "enabled-cipher-suites" attribute in standalone.xml [Resolved (Done) Bug, Major, Tomaz Cerar] https://issues.jboss.org/browse/WFLY-277521:59
hudekalthough, that is super old22:01
hudekso maybe I’m still doing something wrong22:01
*** hudek <hudek!~hudek@CPE84948cd07b51-CM84948cd07b50.cpe.net.cable.rogers.com> has quit IRC (Quit: hudek)22:13
*** hudek <hudek!~hudek@CPE84948cd07b51-CM84948cd07b50.cpe.net.cable.rogers.com> has joined #immutant22:14
*** hudek <hudek!~hudek@CPE84948cd07b51-CM84948cd07b50.cpe.net.cable.rogers.com> has quit IRC (Remote host closed the connection)22:20
*** conan_ <conan_!~conan@mdproctor.plus.com> has quit IRC (Quit: Computer has gone to sleep.)22:26
*** conan_ <conan_!~conan@mdproctor.plus.com> has joined #immutant22:28
*** tcrawley-away is now known as tcrawley22:34
*** conan_ <conan_!~conan@mdproctor.plus.com> has quit IRC (Quit: Computer has gone to sleep.)22:47
*** akhudek <akhudek!~akhudek@64.231.210.190> has joined #immutant22:49
*** tcrawley is now known as tcrawley-away22:52
*** qwerty_nor <qwerty_nor!~Thunderbi@50.241.85.169> has quit IRC (Ping timeout: 256 seconds)22:54
*** bbrowning_away <bbrowning_away!~bbrowning@redhat/jboss/bbrowning> has quit IRC (Quit: Leaving)23:00

Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!