{"action":"created","issue":{"url":"https://api.github.com/repos/friendica/friendica/issues/4592","repository_url":"https://api.github.com/repos/friendica/friendica","labels_url":"https://api.github.com/repos/friendica/friendica/issues/4592/labels{/name}","comments_url":"https://api.github.com/repos/friendica/friendica/issues/4592/comments","events_url":"https://api.github.com/repos/friendica/friendica/issues/4592/events","html_url":"https://github.com/friendica/friendica/issues/4592","id":304550413,"number":4592,"title":"Add ActivityPub support to connect with PeerTube","user":{"login":"Rudloff","id":840125,"avatar_url":"https://avatars0.githubusercontent.com/u/840125?v=4","gravatar_id":"","url":"https://api.github.com/users/Rudloff","html_url":"https://github.com/Rudloff","followers_url":"https://api.github.com/users/Rudloff/followers","following_url":"https://api.github.com/users/Rudloff/following{/other_user}","gists_url":"https://api.github.com/users/Rudloff/gists{/gist_id}","starred_url":"https://api.github.com/users/Rudloff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rudloff/subscriptions","organizations_url":"https://api.github.com/users/Rudloff/orgs","repos_url":"https://api.github.com/users/Rudloff/repos","events_url":"https://api.github.com/users/Rudloff/events{/privacy}","received_events_url":"https://api.github.com/users/Rudloff/received_events","type":"User","site_admin":false},"labels":[{"id":330509614,"url":"https://api.github.com/repos/friendica/friendica/labels/Federation","name":"Federation","color":"c7def8","default":false},{"id":46563604,"url":"https://api.github.com/repos/friendica/friendica/labels/New%20Feature","name":"New Feature","color":"ea9ab4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-03-12T21:40:14Z","updated_at":"2018-03-27T00:36:37Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\n[PeerTube](https://github.com/Chocobozzz/PeerTube) claims it is compatible with the Fediverse and can indeed interact with Mastodon.\r\n\r\nBut it seems Friendica doesn't know how to add a PeerTube user (`The network type couldn't be detected. Contact can't be added.`):\r\n```\r\n2018-03-12T21:36:53Z@hsm0tai8fhdh50pqlmm8bnkg64\t[DEBUG]:Probe.php:111:hostMeta\tProbing for peertube.cpy.re\r\n2018-03-12T21:36:53Z@hsm0tai8fhdh50pqlmm8bnkg64\t[DATA]:Network.php:198:curl\thttps://peertube.cpy.re/.well-known/host-meta: 404 HTTP/1.1 404 Not Found\r\nServer: nginx/1.10.3\r\nDate: Mon, 12 Mar 2018 21:36:53 GMT\r\nTransfer-Encoding: chunked\r\nConnection: keep-alive\r\nX-Powered-By: Express\r\n\r\n\r\n2018-03-12T21:36:53Z@hsm0tai8fhdh50pqlmm8bnkg64\t[DEBUG]:Network.php:251:curl\terror: https://peertube.cpy.re/.well-known/host-meta: 404 - \r\n2018-03-12T21:36:53Z@hsm0tai8fhdh50pqlmm8bnkg64\t[DATA]:Network.php:252:curl\tdebug: Array\r\n(\r\n    [url] => https://peertube.cpy.re/.well-known/host-meta\r\n    [content_type] => \r\n    [http_code] => 404\r\n    [header_size] => 160\r\n    [request_size] => 199\r\n    [filetime] => -1\r\n    [ssl_verify_result] => 0\r\n    [redirect_count] => 0\r\n    [total_time] => 0.214854\r\n    [namelookup_time] => 0.060406\r\n    [connect_time] => 0.092847\r\n    [pretransfer_time] => 0.181765\r\n    [size_upload] => 0\r\n    [size_download] => 0\r\n    [speed_download] => 0\r\n    [speed_upload] => 0\r\n    [download_content_length] => -1\r\n    [upload_content_length] => -1\r\n    [starttransfer_time] => 0.214827\r\n    [redirect_time] => 0\r\n    [redirect_url] => \r\n    [primary_ip] => 2a01:4f8:13b:20d6::99\r\n    [certinfo] => Array\r\n        (\r\n        )\r\n\r\n    [primary_port] => 443\r\n    [local_ip] => 2a01:cb0c:3:1a00:1521:6f2f:fa32:95db\r\n    [local_port] => 46696\r\n)\r\n\r\n2018-03-12T21:36:59Z@hsm0tai8fhdh50pqlmm8bnkg64\t[DATA]:Network.php:198:curl\thttp://peertube.cpy.re/.well-known/host-meta: 301 HTTP/1.1 301 Moved Permanently\r\nServer: nginx/1.10.3\r\nDate: Mon, 12 Mar 2018 21:36:59 GMT\r\nContent-Type: text/html\r\nContent-Length: 185\r\nConnection: keep-alive\r\nLocation: https://peertube.cpy.re/.well-known/host-meta\r\nStrict-Transport-Security: max-age=15768000\r\n\r\n<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>nginx/1.10.3</center>\r\n</body>\r\n</html>\r\n\r\n2018-03-12T21:36:59Z@hsm0tai8fhdh50pqlmm8bnkg64\t[DATA]:Network.php:198:curl\thttps://peertube.cpy.re/.well-known/host-meta: 404 HTTP/1.1 404 Not Found\r\nServer: nginx/1.10.3\r\nDate: Mon, 12 Mar 2018 21:36:59 GMT\r\nTransfer-Encoding: chunked\r\nConnection: keep-alive\r\nX-Powered-By: Express\r\n\r\n\r\n2018-03-12T21:36:59Z@hsm0tai8fhdh50pqlmm8bnkg64\t[DEBUG]:Network.php:251:curl\terror: https://peertube.cpy.re/.well-known/host-meta: 404 - \r\n2018-03-12T21:36:59Z@hsm0tai8fhdh50pqlmm8bnkg64\t[DATA]:Network.php:252:curl\tdebug: Array\r\n(\r\n    [url] => https://peertube.cpy.re/.well-known/host-meta\r\n    [content_type] => \r\n    [http_code] => 404\r\n    [header_size] => 160\r\n    [request_size] => 199\r\n    [filetime] => -1\r\n    [ssl_verify_result] => 0\r\n    [redirect_count] => 0\r\n    [total_time] => 0.169493\r\n    [namelookup_time] => 3.9E-5\r\n    [connect_time] => 0.032811\r\n    [pretransfer_time] => 0.136297\r\n    [size_upload] => 0\r\n    [size_download] => 0\r\n    [speed_download] => 0\r\n    [speed_upload] => 0\r\n    [download_content_length] => -1\r\n    [upload_content_length] => -1\r\n    [starttransfer_time] => 0.169458\r\n    [redirect_time] => 0\r\n    [redirect_url] => \r\n    [primary_ip] => 2a01:4f8:13b:20d6::99\r\n    [certinfo] => Array\r\n        (\r\n        )\r\n\r\n    [primary_port] => 443\r\n    [local_ip] => 2a01:cb0c:3:1a00:1521:6f2f:fa32:95db\r\n    [local_port] => 46736\r\n)\r\n\r\n2018-03-12T21:36:59Z@hsm0tai8fhdh50pqlmm8bnkg64\t[DATA]:XML.php:426:parseString\tlibxml: parse: error: \r\n2018-03-12T21:36:59Z@hsm0tai8fhdh50pqlmm8bnkg64\t[DEBUG]:Probe.php:131:hostMeta\tNo xrd object found for peertube.cpy.re\r\n2018-03-12T21:36:59Z@hsm0tai8fhdh50pqlmm8bnkg64\t[DEBUG]:Probe.php:593:detect\tNo XRD data was found for root@peertube.cpy.re\r\n2018-03-12T21:37:24Z@hsm0tai8fhdh50pqlmm8bnkg64\t[DEBUG]:Probe.php:1564:mail\tsearching root@peertube.cpy.re, 0 messages found.\r\n2018-03-12T21:37:24Z@hsm0tai8fhdh50pqlmm8bnkg64\t[DEBUG]:Profile.php:117:load\tprofile error: follow?url=root%40peertube.cpy.re&submit=Connect\r\n2018-03-12T21:37:25Z@hsm0tai8fhdh50pqlmm8bnkg64\t[DATA]:dba.php:960:delete\tDELETE FROM `session` WHERE `expire` < 1520890645\r\n```\r\n\r\n(I have tested this with 4a0781db1.)"},"comment":{"url":"https://api.github.com/repos/friendica/friendica/issues/comments/376356802","html_url":"https://github.com/friendica/friendica/issues/4592#issuecomment-376356802","issue_url":"https://api.github.com/repos/friendica/friendica/issues/4592","id":376356802,"user":{"login":"MrPetovan","id":925415,"avatar_url":"https://avatars1.githubusercontent.com/u/925415?v=4","gravatar_id":"","url":"https://api.github.com/users/MrPetovan","html_url":"https://github.com/MrPetovan","followers_url":"https://api.github.com/users/MrPetovan/followers","following_url":"https://api.github.com/users/MrPetovan/following{/other_user}","gists_url":"https://api.github.com/users/MrPetovan/gists{/gist_id}","starred_url":"https://api.github.com/users/MrPetovan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrPetovan/subscriptions","organizations_url":"https://api.github.com/users/MrPetovan/orgs","repos_url":"https://api.github.com/users/MrPetovan/repos","events_url":"https://api.github.com/users/MrPetovan/events{/privacy}","received_events_url":"https://api.github.com/users/MrPetovan/received_events","type":"User","site_admin":false},"created_at":"2018-03-27T00:36:37Z","updated_at":"2018-03-27T00:36:37Z","author_association":"COLLABORATOR","body":"I think it is better if we can track both tasks separately because they just are loosely related."}}
{"actor":{"display_login":"MrPetovan"}}