Error: Cannot send secure cookie over unencrypted connection, proxy is already set to true

Know this is old - but did you ever figure this out - running development is a workaround but that isn’t ideal.