Hi Tom, good to hear from you!
The short response is that I updated the card you cited (Special Urls and Ports) with a solution that may help.
The extra context is that those instructions were clearly out of date, as wagn.rb (ruby-based configuration) was replaced by wagn.yml (simpler YAML configuration) quite a while ago. I apologize for the oversite. However, generally speaking, explicitly setting this configuration should not be necessary. Wagn generally derives the hostname used in redirects (eg patterns.transitionresearchnetwork.org) from the request environment. I'm not sure why this is not happening correctly for you or where the "localhost" issue is coming from, unless you already have something like "host: localhost:3000" in wagn.yml?
I don't know what your current set up looks like, but if you have not already had a look at this, I would also suggest you look closely at Wagn in production, which offers some key hints for making wagn run more speedily. If, for example, you are not using memcache, I would *strongly* recommend it!!
Please let me know how things go. If there's a deeper problem here, I'd certainly like to see it fixed.
Happy New Year!
Thanks for the quick response Ethan.
We've updated wagn.yml as you suggested (and deleted the redundant wagn.rb), but the account creation page now redirects to https://patterns.transitionresearchnetwork.org/httpspatterns.transitionresearchnetwork.org/Invite_Success
The same extra text goes into redirect addresses from other site admin cards (like deleting cards).
Looking forward to your thoughts!
Tom
We've now identified and removed the source of the problem: details at https://tech.transitionnetwork.org/trac/ticket/665#comment:3 if you are interested.
Thanks for all this info, Tom. Clearly the protocol/host handling on our end needs a little work, even if it wasn't ultimately the source of this problem.