activitypub controller: note that the HTTP Host header must be forwarded for http...
authorWilliam Pitcock <nenolod@dereferenced.org>
Mon, 21 May 2018 19:19:40 +0000 (19:19 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Mon, 21 May 2018 19:22:30 +0000 (19:22 +0000)
lib/pleroma/web/activity_pub/activity_pub_controller.ex

index 80aae4f0feca146717a9f9bbc2470542e518dfa4..c7d50893f2b852764c6ac86e9ff5bba4157aae07 100644 (file)
@@ -93,7 +93,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubController do
       Logger.info("Signature not from author, relayed message, fetching from source")
       ActivityPub.fetch_object_from_id(params["object"]["id"])
     else
-      Logger.info("Signature error")
+      Logger.info("Signature error - make sure you are forwarding the HTTP Host header!")
       Logger.info("Could not validate #{params["actor"]}")
       Logger.info(inspect(conn.req_headers))
     end