[05:39:32]
<ember> ok so I was checking the debug logs I think I see what is failing but I am not sure why.. It may be what you mentioned but let me tell you my config, I have tls enabled for http via the ssl directive, I think that's the correct way of doing it (?)
Just in case I enabled an https module as you suggested but metronome couldn't find the module, nevertheless my tls certs work and I can the mini http server is using them correctly.
I also now tried to use metronome's admin console with consider_bosh_secure = true, but it again failed with the same error, logs below:
[05:40:52]
<ember> Jun 21 05:29:38 mod_bosh debug BOSH body open (sid: <none>)
Jun 21 05:29:38 bosh576d59cb-a352-455d-9781-7f75332e5472 debug BOSH session created for request from <IP>
Jun 21 05:29:38 mod_bosh info New BOSH session, assigned it sid '576d59cb-a352-455d-9781-7f75332e5472'
Jun 21 05:29:38 mod_bosh debug We have an open request, so sending on that
Jun 21 05:29:38 mod_bosh debug Request destroyed: table: 0x41eaab40
Jun 21 05:29:38 bosh576d59cb-a352-455d-9781-7f75332e5472 debug BOSH session marked as inactive (for 60s)
Jun 21 05:29:38 http.server debug can't process_next, waiting
Jun 21 05:29:38 mod_bosh debug Session 576d59cb-a352-455d-9781-7f75332e5472 has 0 out of 1 requests open
--------- It goes on about repeating this same process for about a while until it "forgets" the sid in the span of a second
Jun 21 05:29:39 mod_bosh debug BOSH body open (sid: 576d59cb-a352-455d-9781-7f75332e5472)
Jun 21 05:29:39 mod_bosh debug Session 576d59cb-a352-455d-9781-7f75332e5472 has 1 out of 1 requests open
Jun 21 05:29:39 mod_bosh debug and there are 0 things in the send_buffer:
Jun 21 05:29:39 mod_bosh debug Have nothing to say, so leaving request unanswered for now
Jun 21 05:29:39 bosh576d59cb-a352-455d-9781-7f75332e5472 debug Closing session with 1 requests open
Jun 21 05:29:39 bosh576d59cb-a352-455d-9781-7f75332e5472 info BOSH client disconnected
Jun 21 05:29:39 mod_bosh debug Request destroyed: table: 0x410ef918
Jun 21 05:29:39 bosh576d59cb-a352-455d-9781-7f75332e5472 debug BOSH session marked as inactive (for 60s)
Jun 21 05:29:39 http.server debug can't process_next, waiting
Jun 21 05:29:39 bosh576d59cb-a352-455d-9781-7f75332e5472 debug Destroying session for (unknown) ((unknown)@novoa.nagoya)
Jun 21 05:29:39 mod_bosh debug Handling new request table: 0x4078b178: <filtered>
----------
Jun 21 05:29:39 mod_bosh debug BOSH body open (sid: 576d59cb-a352-455d-9781-7f75332e5472)
Jun 21 05:29:39 mod_bosh info Client tried to use sid '576d59cb-a352-455d-9781-7f75332e5472' which we don't know about
Jun 21 05:29:39 mod_bosh debug Request destroyed: table: 0x40b38210
Jun 21 05:29:39 http.server debug can't process_next, waiting
Jun 21 05:29:39 mod_bosh warn The request isn't associated with a session.
[10:56:22]
<Maranda> Jun 21 05:29:39 bosh576d59cb-a352-455d-9781-7f75332e5472 debug Destroying session for (unknown) ((unknown)@novoa.nagoya) -> it's not authenticating
[11:28:03]
<Maranda> https is not enabled automatically just via the ssl directive
[11:29:31]
<Maranda> you need to set the tls config via:
local _ssl = { key = "/path/to/key", certificate = "/path/to/cert"}
ssl = _ssl
[11:31:10]
<Maranda> https\_ssl = \_ssl
https\_ports = { 443 } -- or whatever port
http\_ports = {} -- to disable unsecured listener
[11:31:59]
<Maranda> or alternatively for unsecured BOSH
admin_web_require_secure = false -- it's true by default
[11:32:45]
<Maranda> consider\_bosh\_secure = true
[11:54:22]
<Maranda[x]> Remove the \ before underscores
[11:54:49]
*Maranda[x] mutters: stupid Element Web
[18:15:53]
<ember> this is weird
[18:21:13]
<ember> https is working https://novoa.nagoya:5281/http-bind/ and bosh, you can see it there
I even set this up for testing but it doesn't work
admin_web_require_secure = false
consider_bosh_secure = true
maybe I need to configure some extra component or something at a virtualHost level?
[18:25:24]
<Maranda> ember: I gave you the exact setup I'm using which works, more then this I can't do