00:01
<
FromGitter >
<mixflame> alright, i got it to connect, now im just back to the refusal to send bug
00:04
<
FromGitter >
<mixflame> ERROR :Closing link: (97KAAAAEC@c-107-2-145-228.hsd1.co.comcast.net) [Registration timeout]
00:08
<
FromGitter >
<mixflame> something to do with flush()?
00:09
notzmv has joined #crystal-lang
00:10
<
FromGitter >
<Blacksmoke16> would be my guess without actually trying it
00:11
<
FromGitter >
<watzon> Seems likely. The code inside of the spawn is going to run asynchronously, so the `.close` is going to happen while the socket is still being accessed.
00:13
<
FromGitter >
<mixflame> whoa thx
00:14
<
FromGitter >
<Blacksmoke16> looks like you got some non-ideal concurrency code going on
00:15
<
FromGitter >
<mixflame> sorry guys even with that close disable the server still closes the link, there's a fail to write... i'll show the current code
00:16
<
FromGitter >
<mixflame> the code has worked fine before without the SSL stuff bolted on...
00:17
<
FromGitter >
<mixflame> trying to get it onto my irc network
00:17
<
FromGitter >
<Blacksmoke16> whats the error exactly again?
00:19
<
FromGitter >
<mixflame> i'm back to this IRC based error, "ERROR :Closing link: (97KAAAAEC@c-107-2-145-228.hsd1.co.comcast.net) [Registration timeout]"
00:19
<
FromGitter >
<mixflame> it happens when you don't do this fast enough:
00:19
<
FromGitter >
<mixflame> ``````
00:19
<
FromGitter >
<Blacksmoke16> so at this point it sounds like it's a logic problem
00:20
<
FromGitter >
<mixflame> surely
00:20
<
FromGitter >
<mixflame> but the SSL socket simply isn't sending, i ran into this before
00:20
<
FromGitter >
<Blacksmoke16> do you need to use that socket directly versus just like `HTTP::Client` with tls enabled?
00:20
<
FromGitter >
<mixflame> there's no TLS enable IRC socket in the crystal lang lib
00:20
<
FromGitter >
<mixflame> it's speaking the Internet Relay Chat protocol
00:20
<
FromGitter >
<Blacksmoke16> ah right, and it's not HTTP based i take it?
00:20
<
FromGitter >
<mixflame> nope, non http
00:20
<
FromGitter >
<Blacksmoke16> gotcha
00:21
<
FromGitter >
<mixflame> this part is usually simple
00:21
<
FromGitter >
<mixflame> and not hard
00:21
<
FromGitter >
<mixflame> and i had it working before
00:22
<
FromGitter >
<mixflame> he (RX14) says call #flush... but the doc's don't say this...
00:22
<
FromGitter >
<mixflame> i tried calling flush tho.. didn't write
00:24
<
FromGitter >
<Blacksmoke16> did you try using `<< "some str"` then `.flush`
00:25
<
FromGitter >
<mixflame> i did try, that...
00:26
<
FromGitter >
<mixflame> just changed it to this...
00:26
<
FromGitter >
<mixflame> ``````
00:26
<
FromGitter >
<mixflame> no send
00:27
<
FromGitter >
<mixflame> whoa! ⏎ i got it to login
00:27
<
FromGitter >
<mixflame> see the response count think
00:27
<
FromGitter >
<mixflame> turns out my server only sends 2
00:27
<
FromGitter >
<mixflame> yeah protocol code lol :D
00:28
<
FromGitter >
<Blacksmoke16> mmk
00:42
ur5us has quit [Ping timeout: 272 seconds]
01:20
ur5us has joined #crystal-lang
01:42
<
FromGitter >
<mixflame> IRC SSL in Crystal ^
02:39
aquijoule_ has joined #crystal-lang
02:41
richbridger has quit [Ping timeout: 268 seconds]
04:00
deavmi has quit [Quit: No Ping reply in 180 seconds.]
04:03
deavmi has joined #crystal-lang
04:32
Nik- has joined #crystal-lang
04:38
Nik- has quit [Read error: Connection reset by peer]
04:39
Nik- has joined #crystal-lang
05:09
deavmi has quit [Ping timeout: 268 seconds]
05:12
elf_fortrez has joined #crystal-lang
05:12
elf_fortrez has quit [Write error: Broken pipe]
05:19
ur5us has quit [Ping timeout: 272 seconds]
05:23
deavmi has joined #crystal-lang
05:45
ur5us has joined #crystal-lang
06:37
fifr has joined #crystal-lang
07:04
ur5us has quit [Ping timeout: 250 seconds]
07:58
notzmv has quit [Read error: Connection reset by peer]
08:03
hightower4 has quit [Read error: Connection reset by peer]
08:03
hightower2 has joined #crystal-lang
08:18
ur5us has joined #crystal-lang
09:40
mps has joined #crystal-lang
09:59
notzmv has joined #crystal-lang
10:05
ur5us has quit [Ping timeout: 250 seconds]
13:33
fifr has quit [Read error: Connection reset by peer]
13:38
fifr has joined #crystal-lang
14:48
HumanG33k has joined #crystal-lang
15:43
m4xm4n has quit [Quit: Connection closed for inactivity]
16:26
Nik- has quit [Ping timeout: 272 seconds]
18:01
dostoyevsky2 has quit [Ping timeout: 256 seconds]
18:13
hightower2 has quit [Ping timeout: 252 seconds]
18:25
dostoyevsky2 has joined #crystal-lang
18:43
ur5us has joined #crystal-lang
19:36
ur5us has quit [Ping timeout: 250 seconds]
21:36
ur5us has joined #crystal-lang