diaspora/diaspora — Issue #2320: Search for people (webfinger) on other pods broken?
Author: tomka
Created: 2011-11-05 08:45:44+00:00
State: open

Hi,

my pod is running on commit 1ecdba9baede43b5330a4cf98390adcc1f813c73 and I want to search someone on a different pod. Doing that never gives me results. Looking into the logs I see the following (actual diaspora id changed to someone@pod.org):

```
event=request_started verb=GET path=/people?utf8=%E2%9C%93&q=someone%40pod.org ip=88.73.207.76 pid=15605 time=1320481936
template="shared/_invitations.haml" count=1 ms=2.683 total_ms=2.683 event=render pid=15605 time=1320481936
template="js/_websocket_js.haml" count=1 ms=1.064 total_ms=1.064 event=render pid=15605 time=1320481936
template="layouts/_header.html.haml" count=1 ms=260.628 total_ms=260.628 event=render pid=15605 time=1320481936
template="people/index.html.haml" count=1 ms=304.225 total_ms=304.225 event=render pid=15605 time=1320481936
status=200 Person=1 view_ms=305.878054626465 Profile=1 User=1 controller="PeopleController" db_ms=1.911 ms=327 total_ar_instances=3 format="HTML" event=request_completed params="{\"utf8\"=>\"\342\234\223\", \"q\"=>\"someone@pod.org\"}" ms_in_instantiate=0.295162200927734 action="index" pid=15605 time=1320481936
event=resque_setup rails_env=production pid=27959 time=1319577542
event=webfinger status=initialized target=someone@pod.org pid=15834 time=1320481939
event=receive status=abort recipient=someone@pod.org reason='undefined method `closed?' for nil:NilClass' pid=15834 time=1320481939
event=resque_job job=Jobs::SocketWebfinger ms=275.460004806519 arg1="2" arg2="someone@pod.org" arg3="" status=complete pid=15834 time=1320481939
```

Now the last lines show the problem, there seems to be an undefined method. The pod on the other side seems to produce an error like:

```
event=http_multi_fail sender_id=1 url=https://diaspora.myownpod.net/receive/users/5e7173dadd7a925f/ response_code='0' pid=10213 time=1320479454
```

If this is of interest: my pod uses SSL with a CAcert certificate (which is treated as self-signed by most of the browsers, because not being included by default).