Data and configuration related to XMPP file-upload not working, for debugging purposes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

151 lines
8.5 KiB

http:list()
| HTTP endpoints on yalis.fr:
| https://yalis.fr/xmpp-xmpp-bind
| https://yalis.fr/xmpp-upload
| https://yalis.fr/xmpp-xmpp-websocket
| https://yalis.fr/xmpp-xmpp-shared
|
| HTTP endpoints on localhost:
| https://yalis.fr/xmpp-xmpp-bind
| https://yalis.fr/xmpp-upload
| https://yalis.fr/xmpp-xmpp-websocket
| https://yalis.fr/xmpp-xmpp-shared
|
| HTTP requests to unknown hosts will be handled by yalis.fr
| Result: true
>require"util.helpers".show_events(require"net.http.server"._events)
| Fatal error while running command, it did not complete
| Error: /usr/lib/prosody/util/helpers.lua:53: attempt to concatenate field '?' (a nil value)
>require"util.helpers".show_events(require"net.http.server"._events) | Result: GET localhost/xmpp-bind
0: function(mod_http.lua:104)
{ data = table: 0x1ff1480 }
GET localhost/xmpp-bind/
0: function(mod_http.lua:104)
{ data = table: 0x1ff1480 }
GET localhost/xmpp-shared
-1: function(mod_http.lua:51)
GET localhost/xmpp-upload
0: function(mod_http_upload.lua:311)
-1: function(mod_http.lua:51)
GET localhost/xmpp-upload/
0: function(mod_http_upload.lua:311)
?: function(mod_http.lua:108)
{ base_path_len = 14, _handler = function(mod_http_files.lua:95) }
GET localhost/xmpp-websocket
0: function(mod_websocket.lua:139)
{ contains_token = function(http.lua:55), check_origin = function(mod_websocket.lua:37), build_close = function(frames.lua:198), parse_close = function(frames.lua:187), build_frame = function(frames.lu
a:144), log = function(logger.lua:24), t_concat = function([C]:-1), c2s_listener = table: 0x21f8830, sessions = table: 0x200a650, consider_websocket_secure = true, session_open_stream = function(mod_websocket.
lua:54), session_close = function(mod_websocket.lua:68), add_filter = function(filters.lua:39), parse_frame = function(frames.lua:137), filter_open_close = function(mod_websocket.lua:123), xmlns_client = "jabb
er:client", xmlns_streams = "http://etherx.jabber.org/streams", base64 = function([C]:-1), sha1 = function([C]:-1) }
-1: function(mod_http.lua:51)
GET localhost/xmpp-websocket/
0: function(mod_websocket.lua:139)
{ contains_token = function(http.lua:55), check_origin = function(mod_websocket.lua:37), build_close = function(frames.lua:198), parse_close = function(frames.lua:187), build_frame = function(frames.lu
a:144), log = function(logger.lua:24), t_concat = function([C]:-1), c2s_listener = table: 0x21f8830, sessions = table: 0x200a650, consider_websocket_secure = true, session_open_stream = function(mod_websocket.
lua:54), session_close = function(mod_websocket.lua:68), add_filter = function(filters.lua:39), parse_frame = function(frames.lua:137), filter_open_close = function(mod_websocket.lua:123), xmlns_client = "jabb
er:client", xmlns_streams = "http://etherx.jabber.org/streams", base64 = function([C]:-1), sha1 = function([C]:-1) }
GET yalis.fr/xmpp-bind
0: function(mod_http.lua:104)
{ data = table: 0x1ff1480 }
GET yalis.fr/xmpp-bind/
0: function(mod_http.lua:104)
{ data = table: 0x1ff1480 }
GET yalis.fr/xmpp-shared
-1: function(mod_http.lua:51)
GET yalis.fr/xmpp-upload
0: function(mod_http_upload.lua:311)
-1: function(mod_http.lua:51)
GET yalis.fr/xmpp-upload/
0: function(mod_http_upload.lua:311)
?: function(mod_http.lua:108)
{ base_path_len = 14, _handler = function(mod_http_files.lua:95) }
GET yalis.fr/xmpp-websocket
0: function(mod_websocket.lua:139)
{ contains_token = function(http.lua:55), check_origin = function(mod_websocket.lua:37), build_close = function(frames.lua:198), parse_close = function(frames.lua:187), build_frame = function(frames.lu
a:144), log = function(logger.lua:24), t_concat = function([C]:-1), c2s_listener = table: 0x21f8830, sessions = table: 0x200a650, consider_websocket_secure = true, session_open_stream = function(mod_websocket.
lua:54), session_close = function(mod_websocket.lua:68), add_filter = function(filters.lua:39), parse_frame = function(frames.lua:137), filter_open_close = function(mod_websocket.lua:123), xmlns_client = "jabb
er:client", xmlns_streams = "http://etherx.jabber.org/streams", base64 = function([C]:-1), sha1 = function([C]:-1) }
-1: function(mod_http.lua:51)
GET yalis.fr/xmpp-websocket/
0: function(mod_websocket.lua:139)
{ contains_token = function(http.lua:55), check_origin = function(mod_websocket.lua:37), build_close = function(frames.lua:198), parse_close = function(frames.lua:187), build_frame = function(frames.lu
a:144), log = function(logger.lua:24), t_concat = function([C]:-1), c2s_listener = table: 0x21f8830, sessions = table: 0x200a650, consider_websocket_secure = true, session_open_stream = function(mod_websocket.
lua:54), session_close = function(mod_websocket.lua:68), add_filter = function(filters.lua:39), parse_frame = function(frames.lua:137), filter_open_close = function(mod_websocket.lua:123), xmlns_client = "jabb
er:client", xmlns_streams = "http://etherx.jabber.org/streams", base64 = function([C]:-1), sha1 = function([C]:-1) }
HEAD localhost/xmpp-upload
-1: function(mod_http.lua:51)
HEAD yalis.fr/xmpp-upload
-1: function(mod_http.lua:51)
OPTIONS localhost/xmpp-bind
0: function(mod_bosh.lua:106)
{ cross_domain = "*", set_cross_domain_headers = function(mod_bosh.lua:97) }
-1: function(mod_http.lua:51)
OPTIONS localhost/xmpp-bind/
0: function(mod_bosh.lua:106)
{ cross_domain = "*", set_cross_domain_headers = function(mod_bosh.lua:97) }
OPTIONS yalis.fr/xmpp-bind
0: function(mod_bosh.lua:106)
{ cross_domain = "*", set_cross_domain_headers = function(mod_bosh.lua:97) }
-1: function(mod_http.lua:51)
OPTIONS yalis.fr/xmpp-bind/
0: function(mod_bosh.lua:106)
{ cross_domain = "*", set_cross_domain_headers = function(mod_bosh.lua:97) }
POST localhost/xmpp-bind
0: function(mod_bosh.lua:113)
{ log = function(logger.lua:24), tostring = function([C]:-1), new_xmpp_stream = function(xmppstream.lua:224), stream_callbacks = table: 0x2009660, cross_domain = "*", set_cross_domain_headers = functio
n(mod_bosh.lua:97), st = table: 0x1eeb300, xmlns_bosh = "http://jabber.org/protocol/httpbind", xmlns_streams = "http://etherx.jabber.org/streams", sessions = table: 0x1fed7d0, inactive_sessions = table: 0x1fed
860, BOSH_HOLD = 1, t_concat = function([C]:-1), waiting_requests = table: 0x1feda40, os_time = function([C]:-1) }
-1: function(mod_http.lua:51)
POST localhost/xmpp-bind/
0: function(mod_bosh.lua:113)
{ log = function(logger.lua:24), tostring = function([C]:-1), new_xmpp_stream = function(xmppstream.lua:224), stream_callbacks = table: 0x2009660, cross_domain = "*", set_cross_domain_headers = functio
n(mod_bosh.lua:97), st = table: 0x1eeb300, xmlns_bosh = "http://jabber.org/protocol/httpbind", xmlns_streams = "http://etherx.jabber.org/streams", sessions = table: 0x1fed7d0, inactive_sessions = table: 0x1fed
860, BOSH_HOLD = 1, t_concat = function([C]:-1), waiting_requests = table: 0x1feda40, os_time = function([C]:-1) }
POST yalis.fr/xmpp-bind
0: function(mod_bosh.lua:113)
{ log = function(logger.lua:24), tostring = function([C]:-1), new_xmpp_stream = function(xmppstream.lua:224), stream_callbacks = table: 0x2009660, cross_domain = "*", set_cross_domain_headers = functio
n(mod_bosh.lua:97), st = table: 0x1eeb300, xmlns_bosh = "http://jabber.org/protocol/httpbind", xmlns_streams = "http://etherx.jabber.org/streams", sessions = table: 0x1fed7d0, inactive_sessions = table: 0x1fed
860, BOSH_HOLD = 1, t_concat = function([C]:-1), waiting_requests = table: 0x1feda40, os_time = function([C]:-1) }
-1: function(mod_http.lua:51)
POST yalis.fr/xmpp-bind/
0: function(mod_bosh.lua:113)
{ log = function(logger.lua:24), tostring = function([C]:-1), new_xmpp_stream = function(xmppstream.lua:224), stream_callbacks = table: 0x2009660, cross_domain = "*", set_cross_domain_headers = functio
n(mod_bosh.lua:97), st = table: 0x1eeb300, xmlns_bosh = "http://jabber.org/protocol/httpbind", xmlns_streams = "http://etherx.jabber.org/streams", sessions = table: 0x1fed7d0, inactive_sessions = table: 0x1fed
860, BOSH_HOLD = 1, t_concat = function([C]:-1), waiting_requests = table: 0x1feda40, os_time = function([C]:-1) }
PUT localhost/xmpp-upload
-1: function(mod_http.lua:51)
PUT yalis.fr/xmpp-upload
-1: function(mod_http.lua:51)
http-error
0: function(mod_http_errors.lua:74)
{ get_page = function(mod_http_errors.lua:60), show_private = false }
-1: function(server.lua:96)
{ codes = table: 0x2099740 }