librelist archives

« back to archive

Problem connecting to forum on new server

Problem connecting to forum on new server

From:
Madeleine St. Clair
Date:
2014-02-24 @ 05:42
Hello, all--

This is my first time posting here. I just recently discovered Friendica,
and I'm excited to be part of the open source social networking movement!

Anyway, I have set up my first Friendica server (for a small community
site), and have been trying out various things. The site seems to work
fine, except that I created a couple of community forums (i.e. accounts
where I selected "Community Forum/Celebrity Account" under "Advanced
Account/Page Type Settings." When logged in under my personal account, I
cannot connect to the forums. Here's what happens:

 1. I go to the Directory tab. The forums I created are shown in the
listing.
 2. I click on the link for one of the forums, and go to its page.
 3. I click the "Connect" button under the avatar on the left.
 4. "Friend/Connection Request," etc. appears on the right. Under "Your
Identity Address," the text box shows what appears to be my correct address
on this server.
 5. Without changing anything, I click "Submit."
 6. I get a blank page. The URI showing in the address bar is
     <https://${MY_HOSTNAME}/dfrn_request/${ACCOUNT_NICKNAME}>

(by the way, I thought that perhaps there was some issue caused by trying
to connect two accounts that use the same e-mail address, so I created a
dummy account using a different e-mail and tried to connect from that
account, but the result was the same)

Here are some technical details:

Server platform: Arch Linux VPS
Friendica 3.2.1748
php/php-fpm 5.5.9
MariaDB 5.5.35
nginx 1.4.5

For my PHP config, I simply followed the Friendica installation guide.
Likewise for the database setup. My Nginx configuration mostly follows the
example from the wiki, with an SSL-only policy; however there are a couple
of significant differences:

  * I have the FastCGI app listening on a Unix socket rather than TCP, and
have adjusted the nginx config accordingly.
  * I added the following directive:
    add_header Strict-Transport-Security max-age=63072000;

I'm an SSL newbie and don't thoroughly understand the above, but I've been
told by people with more expertise than me that strict TLS is generally a
good idea.

Thanks in advance for any tips!

--
Madeleine St. Clair

Re: [friendica] Problem connecting to forum on new server

From:
h0ost
Date:
2014-02-24 @ 05:54
Hi Madeleine,

Welcome to Friendica!
In addition to this list serv, I would recommend you post your question
within Friendica, on the Friendica Support and Friendica Developers
forums.  Just log in, and after typing @friendica you should see a drop
down menu, where you can select the above forums.  Those are much more
frequently read.

Also, you may consider adding Friendica public server admins as friends,
and ask them as well.  The community is very nice.

On 02/24/2014 12:42 AM, Madeleine St. Clair wrote:
> Hello, all--
> 
> This is my first time posting here. I just recently discovered Friendica,
> and I'm excited to be part of the open source social networking movement!
> 
> Anyway, I have set up my first Friendica server (for a small community
> site), and have been trying out various things. The site seems to work
> fine, except that I created a couple of community forums (i.e. accounts
> where I selected "Community Forum/Celebrity Account" under "Advanced
> Account/Page Type Settings." When logged in under my personal account, I
> cannot connect to the forums. Here's what happens:
> 
>  1. I go to the Directory tab. The forums I created are shown in the
> listing.
>  2. I click on the link for one of the forums, and go to its page.
>  3. I click the "Connect" button under the avatar on the left.
>  4. "Friend/Connection Request," etc. appears on the right. Under "Your
> Identity Address," the text box shows what appears to be my correct address
> on this server.
>  5. Without changing anything, I click "Submit."
>  6. I get a blank page. The URI showing in the address bar is
>      <https://${MY_HOSTNAME}/dfrn_request/${ACCOUNT_NICKNAME}>
> 
> (by the way, I thought that perhaps there was some issue caused by trying
> to connect two accounts that use the same e-mail address, so I created a
> dummy account using a different e-mail and tried to connect from that
> account, but the result was the same)
> 
> Here are some technical details:
> 
> Server platform: Arch Linux VPS
> Friendica 3.2.1748
> php/php-fpm 5.5.9
> MariaDB 5.5.35
> nginx 1.4.5
> 
> For my PHP config, I simply followed the Friendica installation guide.
> Likewise for the database setup. My Nginx configuration mostly follows the
> example from the wiki, with an SSL-only policy; however there are a couple
> of significant differences:
> 
>   * I have the FastCGI app listening on a Unix socket rather than TCP, and
> have adjusted the nginx config accordingly.
>   * I added the following directive:
>     add_header Strict-Transport-Security max-age=63072000;
> 
> I'm an SSL newbie and don't thoroughly understand the above, but I've been
> told by people with more expertise than me that strict TLS is generally a
> good idea.
> 
> Thanks in advance for any tips!
> 
> --
> Madeleine St. Clair
> 

Re: [friendica] Problem connecting to forum on new server

From:
Madeleine St. Clair
Date:
2014-02-24 @ 05:57
On Sun, Feb 23, 2014 at 10:54 PM, h0ost <host@mailoo.org> wrote:

>
> Welcome to Friendica!
> In addition to this list serv, I would recommend you post your question
> within Friendica, on the Friendica Support and Friendica Developers
> forums.  Just log in, and after typing @friendica you should see a drop
> down menu, where you can select the above forums.


Thanks, I'll try that.


>  Those are much more
> frequently read.
>

That's good. I just looked at the archive for this list and saw how few
posts there are.

--
Madeleine St. Clair

Re: [friendica] Problem connecting to forum on new server

From:
Madeleine St. Clair
Date:
2014-02-24 @ 06:10
On Sun, Feb 23, 2014 at 10:54 PM, h0ost <host@mailoo.org> wrote:


> In addition to this list serv, I would recommend you post your question
> within Friendica, on the Friendica Support and Friendica Developers
> forums.  Just log in, and after typing @friendica you should see a drop
> down menu, where you can select the above forums.


Ah, well, there's a problem with that. I just now tried to Connect to the
support forum. The support forum sent me back to a confirmation message on
my own server; when I try to respond to that, once again my server returns
a blank page.

Hmm ... I haven't checked my log files yet. I'll go do that now. If you
don't hear any more from me, assume I haven't found an answer.

--
Madeleine St. Clair

Re: [friendica] Problem connecting to forum on new server

From:
Michael Johnston
Date:
2014-02-24 @ 06:14
Hi Madeleine,

You might try this as a workaround. From your "Contacts" page, enter
the address of the forum into the box that reads "Enter address or web
location," then click "Connect," and follow through with connecting
that way. Sometimes this will work, even if the other method doesn't
for whatever reason.

Mike

On Mon, Feb 24, 2014 at 1:10 AM, Madeleine St. Clair
<msc@therebetygers.net> wrote:
>
>
>
> On Sun, Feb 23, 2014 at 10:54 PM, h0ost <host@mailoo.org> wrote:
>
>>
>> In addition to this list serv, I would recommend you post your question
>> within Friendica, on the Friendica Support and Friendica Developers
>> forums.  Just log in, and after typing @friendica you should see a drop
>> down menu, where you can select the above forums.
>
>
> Ah, well, there's a problem with that. I just now tried to Connect to the
> support forum. The support forum sent me back to a confirmation message on
> my own server; when I try to respond to that, once again my server returns a
> blank page.
>
> Hmm ... I haven't checked my log files yet. I'll go do that now. If you
> don't hear any more from me, assume I haven't found an answer.
>
> --
> Madeleine St. Clair
>

Re: [friendica] Problem connecting to forum on new server

From:
Madeleine St. Clair
Date:
2014-02-24 @ 06:33
Okay, I've fixed it. In my error log, I found:

PHP Fatal error:  Uncaught exception 'Exception' with message 'Not
implemented, please install mbstring or iconv' in
[redacted]/friendica/library/HTML5/InputStream.php:79

I thought I had mbstring ... but I'm a bit confused about that. The
installation instructions say to enable mbstring, but in my PHP
installation, it seems to be a compile-time option rather than a module:
Arch Linux does not have a php-mbstring package; there's no mbstring.so in
/usr/lib/php/modules; and there's no 'extension=mbstring.so' line in
php.ini. On the other hand, the PKGBUILD (which is Arch's package building
script) has --enable-mbstring . So I thought I was okay.

However, since I didn't know what to do about mbstring, I enabled the iconv
module, and the problem seems to be gone.

Thanks to h0ost and Michael for your suggestions.

--
Madeleine St. Clair





On Sun, Feb 23, 2014 at 11:14 PM, Michael Johnston <
michaelgeorgejohnston@gmail.com> wrote:

> Hi Madeleine,
>
> You might try this as a workaround. From your "Contacts" page, enter
> the address of the forum into the box that reads "Enter address or web
> location," then click "Connect," and follow through with connecting
> that way. Sometimes this will work, even if the other method doesn't
> for whatever reason.
>
> Mike
>
> On Mon, Feb 24, 2014 at 1:10 AM, Madeleine St. Clair
> <msc@therebetygers.net> wrote:
> >
> >
> >
> > On Sun, Feb 23, 2014 at 10:54 PM, h0ost <host@mailoo.org> wrote:
> >
> >>
> >> In addition to this list serv, I would recommend you post your question
> >> within Friendica, on the Friendica Support and Friendica Developers
> >> forums.  Just log in, and after typing @friendica you should see a drop
> >> down menu, where you can select the above forums.
> >
> >
> > Ah, well, there's a problem with that. I just now tried to Connect to the
> > support forum. The support forum sent me back to a confirmation message
> on
> > my own server; when I try to respond to that, once again my server
> returns a
> > blank page.
> >
> > Hmm ... I haven't checked my log files yet. I'll go do that now. If you
> > don't hear any more from me, assume I haven't found an answer.
> >
> > --
> > Madeleine St. Clair
> >
>