Hello,
I try to use status.net on my server : installation seems OK . I use my identi.ca account to test , then i found a problem.
Server : code
http://shnoulle.net , user
http://shnoulle.net/shnoulleidenti.ca :
http://identi.ca/shnoulle (
http://identi.ca/user/54255 )
My server see the subscription , but don't send the status to the subscriber.
in the log:
polgara statusnet: [shnoulle.net:4153.fcbefbad POST /main/salmon/user/1] Setting up subscription from remote http://identi.ca/user/54255 to local shnoulle
Sep 8 21:10:39 polgara statusnet: [shnoulle.net:4161.2738fd27 POST /notice/new] No PuSH subscribers for http://shnoulle.net/api/statuses/user_timeline/1.atom
Sep 8 21:13:19 polgara statusnet: [shnoulle.net:4178.fd7de140 POST /notice/new] No PuSH subscribers for http://shnoulle.net/api/statuses/user_timeline/1.atom
I have another problem , maybe it's the same: i made some test before last installation, first without the fancyurl, activate fancyurl after installation, and if i try to subscribe via identi.ca to shnoulleshnoulle.net, log send me this error:
Sep 8 21:22:04 polgara statusnet: [shnoulle.net:4212.dc1d5374 POST /index.php/main/push/hub] Not a user or group feed? http://shnoulle.net/index.php/api/statuses/user_timeline/1.atom http://shnoulle.net/api/statuses/user_timeline/1.atom http://shnoulle.net/api/statusnet/groups/timeline/1.atom
Sep 8 21:22:04 polgara statusnet: [shnoulle.net:4212.dc1d5374 POST /index.php/main/push/hub] LOST http://shnoulle.net/index.php/api/statuses/user_timeline/1.atom
and in identi.ca i receive :
Could not set up remote subscription.
Any idea ?
Thank you
PS: installation on a personal CentOS box, mod_rewrite OK
PHP Version 5.2.10 -
Test with
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1]
And without
Comments
updateavatarurl.php
and
updateprofileurl.php
That should do it.
now i can subscribe from shnoulle@identi.ca to shnoulle@shnoulle.net
Receive in the log But when i post this:
#test shnoulle@identi.ca : do you receive this
Log : But if i answer from a Dent from identi.ca, shnoulle@identica receive ...
(see conversations :
http://identi.ca/conversation/49699313
and
http://shnoulle.net/conversation/10
)
Thank again
For answer , it's OK. shnoulle@identi.ca receive the answer. I can send message to @shnoulle@identi.ca without problem, and answer too.
But the "global" message like this one for example http://shnoulle.net/notice/17 aren't send to shnoulle@identi.ca.
Subscribtion of @shnoulle@identi.ca : http://identi.ca/shnoulle/subscriptions
Subscriber of @shnoulle@shnoulle.net : http://shnoulle.net/shnoulle/subscribers
@shnoulle@identi.ca is a subscriber of @shnoulle@shnoulle.net but Dent aren't "push" to him.
Thank you
What difference i can see:
is the GET /api/statusnet/tags/timeline/statusnet.rss
for the good accountSep 17 18:57:28 polgara statusnet: [shnoulle.net:4543.fdbbf232 POST /main/salmon/user/5] Setting up subscription from remote http://identi.ca/user/54255 to local gsill
Sep 17 18:57:38 polgara statusnet: [shnoulle.net:4546.655e6b4d GET /api/statusnet/tags/timeline/statusnet.rss] apitimelinetag prepare()
Sep 17 18:57:38 polgara statusnet: [shnoulle.net:4546.655e6b4d GET /api/statusnet/tags/timeline/statusnet.rss] self link is: http://shnoulle.net/api/statusnet/tags/timeline/statusnet.rss
Sep 17 18:59:00 polgara statusnet: [shnoulle.net:4550.bbe15f94 POST /notice/new] Preparing 1 PuSH distribution(s) for http://shnoulle.net/api/statuses/user_timeline/5.atom
Sep 17 18:59:00 polgara statusnet: [shnoulle.net:4550.bbe15f94 POST /notice/new] Queuing PuSH: http://shnoulle.net/api/statuses/user_timeline/5.atom to http://identi.ca/main/push/callback/2484
Sep 17 18:59:00 polgara statusnet: [shnoulle.net:4550.bbe15f94 POST /notice/new] About to push feed to http://identi.ca/main/push/callback/2484 for http://shnoulle.net/api/statuses/user_timeline/5.atom, HMAC 86a523845f194cdb46c6a90635af339c3ea9e31b
Sep 17 18:59:01 polgara statusnet: [shnoulle.net:4550.bbe15f94 POST /notice/new] HTTPClient: HTTP POST http://identi.ca/main/push/callback/2484 - 200 OK
Sep 17 18:59:01 polgara statusnet: [shnoulle.net:4550.bbe15f94 POST /notice/new] Queuing PuSH batch: http://shnoulle.net/api/statuses/user_timeline/5.atom to 0 sites
and for the bad account:
no GET /api ...
Sep 17 19:01:43 polgara statusnet: [shnoulle.net:4576.c1b4118a POST /main/salmon/user/1] Setting up subscription from remote http://identi.ca/user/54255 to local shnoulle
Sep 17 19:02:12 polgara statusnet: [shnoulle.net:4589.5d76ac61 POST /notice/new] No PuSH subscribers for http://shnoulle.net/api/statuses/user_timeline/1.atom
In mysql
subscription information are the same for the 2 account
in hubsub, i have only information for user #5
I test too to subscribe with another account to user #1, but no way ...
Thanks for all help/advice.
Again, i don't have the Dent of @shnoulle@shnoulle.net but this of @gsill@shnoulle.net.
I update this mornig with the same config.php
Sep 24 09:53:04 shnoulle.gsill.net statusnet: [shnoulle.net:11398.23686ffd POST /main/salmon/user/1] Canceling subscription from remote http://identi.ca/user/54255 to local shnoulle
Sep 24 09:53:25 shnoulle.gsill.net statusnet: [shnoulle.net:11400.4e1d8df8 POST /main/salmon/user/1] HTTPClient: HTTP GET http://identi.ca/.well-known/host-meta - 200 OK
Sep 24 09:53:26 shnoulle.gsill.net statusnet: [shnoulle.net:11400.4e1d8df8 POST /main/salmon/user/1] HTTPClient: HTTP GET http://identi.ca/main/xrd?uri=http://identi.ca/user/54255 - 200 OK
Sep 24 09:53:26 shnoulle.gsill.net statusnet: [shnoulle.net:11400.4e1d8df8 POST /main/salmon/user/1] Adding public key: (kFEGDi9JkbU0eoBM_slxCZA6n6vXlTYIMah2ROjKDEYGDBYSMSN6y07Ec31KQ60OyT8NalczMC05XwGy8cOzlzMl2abHWrJCQvbol1iWo7jPaK9snWsnueol9notZ-ad1fjIdVbln4jyJDPq-NJ7IghcTYOo90a3OlAuscsEU6E=, AQAB)
Sep 24 09:53:26 shnoulle.gsill.net statusnet: [shnoulle.net:11400.4e1d8df8 POST /main/salmon/user/1] Looking up location for 50.7 3.1666667 from georss point
Sep 24 09:53:26 shnoulle.gsill.net statusnet: [shnoulle.net:11400.4e1d8df8 POST /main/salmon/user/1] HTTPClient: HTTP GET http://ws.geonames.org/findNearbyPlaceName?lat=50.7&lng=3.1666667&lang=fr - 200 OK
Sep 24 09:53:26 shnoulle.gsill.net statusnet: [shnoulle.net:11400.4e1d8df8 POST /main/salmon/user/1] Got a http://activitystrea.ms/schema/1.0/follow
Sep 24 09:53:26 shnoulle.gsill.net statusnet: [shnoulle.net:11400.4e1d8df8 POST /main/salmon/user/1] Looking up location for 50.7 3.1666667 from georss point
Sep 24 09:53:26 shnoulle.gsill.net statusnet: [shnoulle.net:11400.4e1d8df8 POST /main/salmon/user/1] Updating OStatus profile 3 from remote info http://identi.ca/user/54255: ActivityObject::__set_state(array(
Sep 24 09:53:26 shnoulle.gsill.net statusnet: [shnoulle.net:11400.4e1d8df8 POST /main/salmon/user/1] Setting up subscription from remote http://identi.ca/user/54255 to local shnoulle
Sep 24 09:54:24 shnoulle.gsill.net statusnet: [shnoulle.net:11407.54a174db POST /notice/new] No PuSH subscribers for http://shnoulle.net/api/statuses/user_timeline/1.atom
And again : remove/add subscription to gsill is good ....
Maybe had to made a new installation ....
Made again a new fresh installation on http://shnoulle.net , admin user : shnoulle (user 1), and again : no status sent.
Try another method : remove all installation, admin user: administrator, add a new user (shnoulle@shnoulle.net).
Trye to connect to shnoulle@shnoulle.net via shnoulle@identi.ca , but identi.ca send :
Setting up subscription from remote http://identi.ca/user/54255 to local adminshnoulleLike identi.ca stay in old format (without htaccess maybe ?)
Then i try with me.shnoulle.net/shnoulle and it work good.
-----
And again, i trye to make a fresh installation.
Remove all database, reinstall with a good htaccess, launch updateprofileurl script.
But again, i can subscribe to shnoulle@shnoulle.net, but when i post something: No Push subscriber.
setconfig.php -a : http://fr.pastebin.ca/1973482
Some var/log with $config['site']['logdebug'] = true; : http://fr.pastebin.ca/1973486
Some var/log with $config['db']['debug'] = create_function('$class, $message, $logtype, $level','common_log(LOG_DEBUG,"DBDO: $class / $message / $logtype");'); :
http://fr.pastebin.ca/1973496
And again, i test with shnoulle.net/test and all is OK
Can i have a solution to have a good shnoulle@shnoulle.net subscription from identi.ca ?
Or did i have to set a new server on another url ?
That makes me think that the rest of the remote profile is broken. On identi.ca and on shnoulle.net unfollow yourself on both sites, then re-follow. That might create a new working remote profile.
I think there are some errors from the various different ways you've tried to set up the site that have carried over and are broken. It might be best to completely start over from scratch.
Also for now, Ostatus will only work from the root directory, not in a subdirectory.
(drop my database before backup ....) and me.shnoulle.net are gone now ....
(actually me.shnoulle.net redirect to shnoulle.net)
But i found an alternative solution.
I start from scratch , rename my .htaccess with RewriteBase / on shnoulle.net VirtualHost.
Owner : shnoulle@shnoulle.net : no way : again have No PuSH subscribers in the log (and have subscriber in the database).
Then i adding a user shnoullebis : rename the first user to administrateur. rename the second user at shnoulle (phpupdateurlprofile each time).
Unfollow the administrateur@shnoulle.net and add follow to shnoulle@shnoulle.net. Set the new shnoulle@shnoulle.net administator and owner in database. And now it works ...
I really don't understand why it don't work with user 1 and work with user 4 ....
Next time, i rename th htaccess before installing maybe ?
Thanks a lot !
(there is a solution to remove all the shnoulle at identi.ca ??? ;p )
"all the shnoulle at identi.ca" ?
profile-308971 : The first is the good (actual me), please keep it.
profile-307932 : Second: http://me.shnoulle.net/shnoulle Bad (cause i made a big mistake) () : no existance
profile-253026 : Third : aternative shnoulle@shnoulle ??? : no existance
profile-252934 : 4th : i think it's the first shnoulle@shnoulle, but first created without the .htaccess and after put the fancyurl : and it's the drama ; : no existance
profile-225999 : not a reality, it's in my imaginary ;) : no existance
profile-91162 : spip.org profile : it's OK, even if this profile is dead, but it's not a mistake.
profile-81769 : just for testing, you can keep, but it's not interesting.
profile-54255 : identi.ca profile : good to keep.
Actually this profile are inexistant :
307932 , 253026 , 252934, 225999
Other are existant profile.
You are very kind to offer to remove inexistant profile. I don't know how to thank you !!
:)
PS: is there a way for this kind of problem when other idiot like me try to install status.net ?