mastodon.social/@heurekus/1041…
♲ @heurekus@mastodon.social: Yay, made my first XMPP Video Call with Conversations over my own Prosody + TURN serves. SO NICE! #xmpp #prosody #conversations #videocall
♲ @heurekus@mastodon.social: Yay, made my first XMPP Video Call with Conversations over my own Prosody + TURN serves. SO NICE! #xmpp #prosody #conversations #videocall
TIL that you can spoof an incoming host header to an application server.
Let's say you have an XMPP server alice.example.com with BOSH and Websockets enabled and proxied through Nginx.
Let's say you have a web client on bob.example.com. You configure it to contact alice.example.com, but the HTTP requests pertaining to the web client send the host header bob.example.com, which the XMPP server is not configured to listen for.
So, configure Nginx to spoof and not forward the Host header:
proxy_set_header Host alice.example.com;
Restart Nginx and it should work.
How did I figure this out? Prosody's mod_http_errors.lua module returns idiosyncratic error messages ("Whatever you were looking for is not here.") Once I figured out that those were not Nginx errors but Prosody errors I knew where to start looking.
For the record, when I write code that should be proxied through a web server, I need to remember to make it clear what's throwing the error when one is thrown ("The Doctor's web application - {error}") to save people some kinetic pattern baldness.
I should write this up.
♲ @rra@post.lurk.org: During #36C3 #prosody devs created a module that would allow your #XMPP server to expose some #nodeinfo2 statistics to the-federation.info. This contributes to a better understanding of the size of #XMPP based federated services. After a week there are already 49 nodes with a little less than 470k registered users (0.1 MAU ratio).
The module:
modules.prosody.im/mod_nodeinf…
The stats so far:
the-federation.info/prosody
Testing an upcoming feature during the #Stockholm XMPP sprint: Leave a group chat on #Dino and #Conversations will leave as well, join a new group chat on Conversations and Dino will join too. The underlying protocol extension was also implemented by #Gajim and #prosody during the sprint. #XMPP
Wow, the #Prosody developers have really nice hgweb #Mercurial templates, which make browsing their source code look like the rest of their website.
Here is Mercurial serving its web interface to their repos:
Here is the rest of their website, presumably just static files:
Really nice when I see people really integrating Mercurial!
Aujourd'hui, je vais essayer l'outil migrate de #Prosody histoire d'apprendre comment basculer une db interne vers Postresql et m'y habituer au truc en suivant vos tutos :).
Edited*
Aujourd'hui, je vais essayer l'outil migrate de #Prosody histoire d'apprendre comment basculer une db interne vers Posresql et m'y habituer au truc en suivant vos tutos :)
Ummm... this is a server-side module?
If you use #prosody the #XMPP server, the devs are running a survey!
https://docs.google.com/forms/d/e/1FAIpQLSfDAfFivg9Jv5cdReMjT8fHUODK2b1V7L0RHuIZzlT93vl2Xg/viewform
Did you experience failing file uploads in the past?
This issue is now resolved! 🎉
(will be merged into the next official "Prosody Filer" release, soon.)
umeHack social is a social network, courtesy of Umeå Hackerspace. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.
All umeHack social content and data are available under the Creative Commons Attribution 3.0 license.