Unable to follow from mastodon (Apache/reverse proxy)

Hi there,
I saw that supposedly this bug was fixed in the latest release but I can’t seem to work it out. Requests to follow are “pending” from Mastodon.
I’m using 0.13.2 with Apache and followed the config thread posted on these forums.

My config files are as follows:

<VirtualHost *:80>
    ServerName blog.liedra.net

    ProxyPreserveHost On

    ProxyPass / http://127.0.0.1:8080/
    ProxyPassReverse / http://127.0.0.1:8080/
RewriteEngine on
RewriteCond %{SERVER_NAME} =blog.liedra.net
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]

ProxyPassMatch ^/.well-known/(webfinger|nodeinfo|host-meta) !
</VirtualHost>

(SSL is the same with the cert stuff included)

[server]
hidden_host          =
port                 = 8080
bind                 = localhost
tls_cert_path        =
tls_key_path         =
autocert             = false
templates_parent_dir =
static_parent_dir    =
pages_parent_dir     =
keys_parent_dir      =
hash_seed            =
gopher_port          = 0

[database]
type     = sqlite3
filename = writefreely.db
username =
password =
database =
host     = localhost
port     = 3306
tls      = false

[app]
site_name             = Catherine Flick: Publications, Media, and Thoughts
site_description      =
host                  = https://blog.liedra.net
theme                 = write
editor                =
disable_js            = false
webfonts              = true
landing               =
simple_nav            = false
wf_modesty            = false
chorus                = false
forest                = false
disable_drafts        = false
single_user           = true
open_registration     = false
open_deletion         = false
min_username_len      = 3
max_blogs             = 1
federation            = true
public_stats          = true
monetization          = false
notes_only            = false
private               = false
local_timeline        = false
user_invites          =
default_visibility    =
update_checks         = false
disable_password_auth = false

[then all the oauth stuff]

Any ideas? I don’t see any errors in my apache logs either. Thanks!

I’ve been fiddling around with things and a couple of follow ups:

  1. I don’t get any requests through HTTP/S when hitting the “follow” for my federated account on Mastodon. Nothing is logged in Apache at all.
  2. There is nothing at all in the writefreely logs on requesting a follow either.

So I can surmise either that a) I’ve set something up wrongly, or b) the requests don’t come through via HTTP/S, or c) there’s no register of follows in the logs. Sadly my Go knowledge is nil, so I can’t really work out how to drill this down further. I’m really excited about getting going with this so if there’s anything else I can fiddle with to further help with bug reporting please let me know :slight_smile:

I fixed it! I think what I did was to ensure

SSLProxyEngine on
SSLProxyVerify none

were in my ssl conf for Apache. But honestly I fiddled so much I can’t be sure that’s what it was and I don’t want to test it in case I break it lol
Thanks for coming on this journey with me!

(I got rid of all the activitypub specific lines too)

1 Like