[01:37:31] *** isdera <isdera!~isdera@cpe-74-78-187-102.maine.res.rr.com> has quit IRC (Ping timeout: 246 seconds)
[01:49:10] *** isdera <isdera!~isdera@cpe-74-78-187-102.maine.res.rr.com> has joined #libgdx
[01:52:59] *** Tomski <Tomski!Tski@gateway/shell/elitebnc/x-msyorwnsnzzsyxnf> has quit IRC (Ping timeout: 248 seconds)
[02:35:25] *** Jayhost <Jayhost!~Jayhost@c-73-187-250-46.hsd1.pa.comcast.net> has joined #libgdx
[03:07:12] *** isdera <isdera!~isdera@cpe-74-78-187-102.maine.res.rr.com> has quit IRC (Ping timeout: 248 seconds)
[03:19:38] *** ra4king <ra4king!~ra4king@unaffiliated/ra4king> has quit IRC (Quit: Take a byte out of this!)
[03:20:08] *** ra4king <ra4king!~ra4king@unaffiliated/ra4king> has joined #libgdx
[03:31:25] *** Lestat <Lestat!~Zoryth@189.202.36.48.cable.dyn.cableonline.com.mx> has quit IRC (Read error: Connection reset by peer)
[03:33:35] *** Lestat <Lestat!~Zoryth@189.202.36.48.cable.dyn.cableonline.com.mx> has joined #libgdx
[03:38:44] *** Lestat <Lestat!~Zoryth@189.202.36.48.cable.dyn.cableonline.com.mx> has quit IRC (Read error: Connection refused)
[06:08:27] *** Corbit <Corbit!~corbit@2001:a61:35cd:6501:129:ee10:e4c1:237> has joined #libgdx
[09:42:01] *** jwinterm <jwinterm!~quassel@unaffiliated/jwinterm> has quit IRC (*.net *.split)
[09:42:59] *** [AD]Turbo <[AD]Turbo!~ADTurbo@93-40-209-27.ip40.fastwebnet.it> has joined #libgdx
[09:43:01] <[AD]Turbo> hi there
[09:44:02] <Corbit> hi turbo
[09:45:50] <[AD]Turbo> ciao Corbit
[09:47:46] *** arathald <arathald!arathald@linuxfromscratch/arathald> has quit IRC (*.net *.split)
[09:52:42] *** arathald <arathald!arathald@linuxfromscratch/arathald> has joined #libgdx
[09:53:19] *** jwinterm <jwinterm!~quassel@unaffiliated/jwinterm> has joined #libgdx
[09:55:16] *** TEttinger <TEttinger!~notostrac@76-217-24-171.lightspeed.irvnca.sbcglobal.net> has quit IRC (Ping timeout: 272 seconds)
[09:58:08] *** TEttinger <TEttinger!~notostrac@76-217-24-171.lightspeed.irvnca.sbcglobal.net> has joined #libgdx
[10:19:08] *** Jayhost <Jayhost!~Jayhost@c-73-187-250-46.hsd1.pa.comcast.net> has quit IRC (Read error: Connection reset by peer)
[10:30:44] *** TEttinger <TEttinger!~notostrac@76-217-24-171.lightspeed.irvnca.sbcglobal.net> has quit IRC (Ping timeout: 272 seconds)
[10:57:33] *** Tomski <Tomski!Tski@gateway/shell/elitebnc/x-isoctjmykazesvvl> has joined #libgdx
[10:57:33] *** ChanServ sets mode: +o Tomski
[11:53:31] *** WickedShell_ <WickedShell_!~WickedShe@159-118-128-145.cpe.cableone.net> has quit IRC (Remote host closed the connection)
[12:52:45] *** wheelergames <wheelergames!5164ad4f@gateway/web/freenode/ip.81.100.173.79> has joined #libgdx
[12:52:54] <wheelergames> morning all
[12:53:05] <wheelergames> I've just run into an issue whilst doing networking
[12:53:27] <wheelergames> using Gdx.net.sendHttpRequest(httpRequest, httpResponseListener);
[12:53:27] <Tomski> nice
[12:53:43] <wheelergames> (sarcasm already!)
[12:53:51] <wheelergames> I've written my own server
[12:53:57] <wheelergames> and have about 10 endpoints on it
[12:54:04] <wheelergames> they're all working fine
[12:54:35] <wheelergames> i just added a new one and for some reason it's giving me a -1 statusCode and an empty string returned instead of the 200 and the json I expect
[12:54:42] <wheelergames> I've tried calling it via curl and everything is fine
[12:54:45] <wheelergames> any ideas?
[12:54:55] <wheelergames> (I've looked through the status codes and -1 isn't one)
[12:55:17] <wheelergames> yep
[12:55:24] <wheelergames> i understand that... :P
[12:55:31] <wheelergames> but why am I getting it?
[12:55:35] <Tomski> Who knows
[12:55:42] <Tomski> What curl command
[12:55:51] <Ashiren> 11 endpoints in total?
[12:56:18] <wheelergames> if I give you the curl command, I'll be giving away my secret and key unfortunately
[12:56:28] <wheelergames> so can't really do that, sorry (not very helpful, i know)
[12:56:49] <wheelergames> Ashiren: ummm, not sure the exact number, but roughly (maybe more like 8 or 9)
[12:56:53] <wheelergames> does that matter?
[12:56:57] <Tomski> Replace it with dummy stuff
[12:57:18] <wheelergames> to show you, or for when I test?
[12:58:15] <wheelergames> that's roughly what I run on curl
[12:58:18] <wheelergames> and that works
[12:58:38] <wheelergames> (obviously obscuring the relevant bits)
[12:58:53] <Tomski> Is that the only ssl end point?
[12:59:11] <Tomski> Is your server getting the request at all?
[13:00:12] <wheelergames> yeah
[13:00:19] <wheelergames> the server gets the request and does everything
[13:00:26] <wheelergames> all my endpoints are ssl
[13:00:44] <wheelergames> the weird thing is that my app seems to react as though the call has come back
[13:00:50] <wheelergames> before the server has actually finished
[13:01:26] <wheelergames> (although I'm relying on android studio logs and my server logs, and I'm not 100% certain they are reliable at outputting exactly as they happen)
[13:01:42] <Tomski> use desktop
[13:01:43] <wheelergames> I was thinking of adding timestamps to them, but I also don't know if they're synced
[13:01:44] <Tomski> not android
[13:01:57] <wheelergames> ok
[13:02:03] <wheelergames> good point, that's something I can try
[13:02:27] <wheelergames> but you've never experienced a -1 on status code?
[13:02:44] <Tomski> I have
[13:02:57] <Tomski> You should debug it to find what is actually causing it
[13:03:00] <wheelergames> ahhhh
[13:03:01] <Tomski> Because its an exception
[13:03:05] <wheelergames> public HttpClientResponse (HttpURLConnection connection) throws IOException { this.connection = connection; try { this.status = new HttpStatus(connection.getResponseCode()); } catch (IOException e) { this.status = new HttpStatus(-1); } }
[13:03:09] <wheelergames> oh ffs...
[13:03:10] <Tomski> yup debug it
[13:03:43] <wheelergames> i was looking through the list of response codes, for -1
[13:03:47] <wheelergames> and assumed it was in there
[13:03:47] <Corbit> i received -1 with curl once
[13:03:51] <Corbit> that had to do with my ssl cert
[13:04:14] <wheelergames> i don't *expect* it to be that
[13:04:27] <wheelergames> as all the other calls to https endpoints with same cert work just fine
[13:04:50] <wheelergames> i even make an additional call to one of my other endpoints in the same method
[13:04:55] <wheelergames> and that returns just fine
[13:05:02] <wheelergames> but thanks, I have that -1 to debug now
[13:05:15] <wheelergames> I'll be back no doubt in 5 mins :(
[13:05:21] <Corbit> awww^^
[13:07:27] <wheelergames> java.net.SocketTimeoutException: timeout
[13:07:32] <wheelergames> java.net.SocketException: socket is closed
[13:07:40] <wheelergames> closed....what does that mean exactly?
[13:08:35] <Tomski> Where are yo debugging this?
[13:09:35] <wheelergames> on my phone still :(
[13:09:46] <wheelergames> I have no timeout set, so I presume it's doing the default amount
[13:09:56] <wheelergames> I've just set it to 15s which is waaaaaaaaaay more than it's taking to respond
[13:10:10] <Tomski> Why are you not debugging on desktop?
[13:10:22] <wheelergames> ummmm
[13:10:32] <wheelergames> because I'm testing buying an in app purchase
[13:10:35] <wheelergames> via google play
[13:10:44] <Tomski> What does that have to do with any http connection
[13:10:46] <Tomski> Make it standalone
[13:10:57] <wheelergames> yeah yeah i should
[13:11:02] <wheelergames> well, it IS standalone
[13:11:10] <Tomski> then call it standalone from desktop
[13:11:13] <wheelergames> after play app calls back it then calls my server to verify it
[13:11:13] <Tomski> Debug both server and client
[13:11:18] <Tomski> Figure out if its actually a timeout
[13:12:41] <wheelergames> yeah i will, if this doesn't work first time
[13:12:50] <wheelergames> (if setting a timeout doesn't sort it)
[13:16:59] <wheelergames> yeah, it was timing out
[13:17:03] <wheelergames> thanks everyone
[13:17:22] <wheelergames> 1s is maximum default, so I'll need to extend that a little
[13:18:13] <Tomski> what are you doing in your request?
[13:18:51] <Tomski> Making other requests?
[13:21:28] <wheelergames> yeah
[13:21:45] <wheelergames> i call my server, which then does a verify to google play servers
[13:21:50] <Tomski> aha
[13:21:53] <wheelergames> (it's googles recommended process)
[13:21:57] <Tomski> yup
[13:22:11] <wheelergames> it's pretty quick though, so I guess I missed the timeout factor
[13:22:21] <wheelergames> plus I didn't realise the timeout was only 1s by default
[13:22:27] <wheelergames> feels quite small
[13:22:37] <wheelergames> though I'm no expert/experienced person in this
[13:22:48] <wheelergames> i think the whole thing is probably taking around 2s
[13:23:07] <wheelergames> so it never really felt like, oh this is taking aggggesss I wonder if it's timing out
[13:23:18] <wheelergames> good catch though, thanks everyone, back to it!
[13:30:20] *** OtakuSenpai <OtakuSenpai!~OtakuSenp@unaffiliated/neel> has joined #libgdx
[13:42:40] *** OtakuSenpai <OtakuSenpai!~OtakuSenp@unaffiliated/neel> has quit IRC (Ping timeout: 244 seconds)
[13:50:52] *** OtakuSenpai <OtakuSenpai!~OtakuSenp@unaffiliated/neel> has joined #libgdx
[14:16:31] *** Nawab <Nawab!~OtakuSenp@unaffiliated/neel> has joined #libgdx
[14:17:59] *** OtakuSenpai <OtakuSenpai!~OtakuSenp@unaffiliated/neel> has quit IRC (Ping timeout: 250 seconds)
[14:24:23] *** wheelergames <wheelergames!5164ad4f@gateway/web/freenode/ip.81.100.173.79> has quit IRC (Ping timeout: 256 seconds)
[15:27:47] *** Nawab <Nawab!~OtakuSenp@unaffiliated/neel> has quit IRC (Remote host closed the connection)
[15:28:29] *** Nawab <Nawab!~OtakuSenp@unaffiliated/neel> has joined #libgdx
[15:31:50] *** Corbit <Corbit!~corbit@2001:a61:35cd:6501:129:ee10:e4c1:237> has quit IRC (Quit: Leaving.)
[15:37:17] *** TheresaJayne <TheresaJayne!sid37392@gateway/web/irccloud.com/x-erdrjsuncyggyzph> has quit IRC (Ping timeout: 250 seconds)
[15:41:31] *** TheresaJayne <TheresaJayne!sid37392@gateway/web/irccloud.com/x-sfdgcyypzfrtgldd> has joined #libgdx
[15:45:25] *** Nawab <Nawab!~OtakuSenp@unaffiliated/neel> has quit IRC (Quit: No Mercy, No Malice)
[15:51:30] *** Sadale <Sadale!~Sadale@unaffiliated/sadale> has quit IRC (Remote host closed the connection)
[16:47:17] *** Sadale <Sadale!~Sadale@unaffiliated/sadale> has joined #libgdx
[17:04:08] *** Corbit <Corbit!~corbit@2001:a61:35cd:6501:129:ee10:e4c1:237> has joined #libgdx
[17:44:33] *** [AD]Turbo <[AD]Turbo!~ADTurbo@93-40-209-27.ip40.fastwebnet.it> has quit IRC ()
[18:24:11] *** isdera <isdera!~isdera@cpe-74-78-187-102.maine.res.rr.com> has joined #libgdx
[18:52:54] *** echelog <echelog!~echelog@108.61.103.42> has joined #libgdx
[19:03:35] *** Corbit <Corbit!~corbit@2001:a61:35cd:6501:129:ee10:e4c1:237> has quit IRC (Quit: Leaving.)
[20:19:25] *** isdera <isdera!~isdera@cpe-74-78-187-102.maine.res.rr.com> has quit IRC (Ping timeout: 252 seconds)
[20:49:28] *** Corbit <Corbit!~corbit@2001:a61:35cd:6501:129:ee10:e4c1:237> has joined #libgdx
[21:16:28] *** TEttinger <TEttinger!~notostrac@76-217-24-171.lightspeed.irvnca.sbcglobal.net> has joined #libgdx
[21:46:53] *** Corbit <Corbit!~corbit@2001:a61:35cd:6501:129:ee10:e4c1:237> has quit IRC (Read error: Connection reset by peer)
[21:48:14] *** isdera <isdera!~isdera@cpe-74-78-187-102.maine.res.rr.com> has joined #libgdx
[22:15:09] *** jwinterm <jwinterm!~quassel@unaffiliated/jwinterm> has quit IRC (*.net *.split)
[22:27:44] *** isdera <isdera!~isdera@cpe-74-78-187-102.maine.res.rr.com> has quit IRC (Ping timeout: 248 seconds)
[22:28:25] *** isdera <isdera!~isdera@cpe-74-78-187-102.maine.res.rr.com> has joined #libgdx
[23:52:11] *** warmwaffles <warmwaffles!~warmwaffl@108.174.85.188> has joined #libgdx
[23:55:37] *** TheresaJayne <TheresaJayne!sid37392@gateway/web/irccloud.com/x-sfdgcyypzfrtgldd> has quit IRC (Ping timeout: 250 seconds)
[23:57:36] *** isdera <isdera!~isdera@cpe-74-78-187-102.maine.res.rr.com> has quit IRC (Ping timeout: 272 seconds)
[23:58:17] *** TheresaJayne <TheresaJayne!sid37392@gateway/web/irccloud.com/x-spniwitxdhyoasfr> has joined #libgdx