Closed Egor-ADM closed 3 weeks ago
Hi,
Do your instances use HTTPS? Can you paste the webserver
section of your configuration? https://github.com/Chocobozzz/PeerTube/blob/develop/config/production.yaml.example#L6
Yes, https is used on both copies.
Configuration server 1:
Configuration server 2:
Can you display the output of curl -L -H 'Accept: application/ld+json; profile="https://www.w3.org/ns/activitystreams"' https://peertube-test.example.com/accounts/peertube
?
When entering this command, an error occurs:
Maybe my global CA is unknown and I have disabled SSL verification, in your command. This is what happened:
root@peertube-test:~# curl -L -H -k/ --insecure 'Accept: application/ld+json; profile="https://www.w3.org/ns/activitystreams"' https://peertube-test.example.com/accounts/peertube
curl: (3) URL using bad/illegal format or missing URL
<!DOCTYPE html>
<html lang="en" dir="ltr" data-critters-container>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#fff">
<meta property="og:platform" content="PeerTube">
<!-- Web Manifest file -->
<link rel="manifest" href="/manifest.webmanifest?4c1d856d7219519422f4de58c46f63e18b580057">
<link rel="icon" type="image/png" href="/client/assets/images/favicon.png?03d4882b8ec58d540c3eabb5cef8d0ed82803b35">
<link rel="apple-touch-icon" href="/client/assets/images/icons/icon-144x144.png" sizes="144x144">
<link rel="apple-touch-icon" href="/client/assets/images/icons/icon-192x192.png" sizes="192x192">
<!-- logo background-image -->
<style type="text/css">
.icon-logo {
background-image: url(/client/assets/images/logo.svg?b576dbf56ce881f0f54d62147fd118e23c720526);
}
</style>
<!-- base url -->
<base href="/client/en-US/">
<!-- /!\ The following comment is used by the server to prerender some tags /!\ -->
<title>peertube - example</title>
<meta name="description" content="My company" />
<style class="custom-css-style"></style>
<meta property="og:type" content="website" /><meta property="og:site_name" content="peertube" /><meta property="og:title" content="peertube" /><meta property="og:image" content="https://peertube-test.example.com/lazy-static/avatars/ecace52a-507f-4f72-a6e1-13248c0ee16e.jpg" /><meta property="og:image:width" content="1500" /><meta property="og:image:height" content="1500" /><meta property="og:url" content="https://peertube-test.example.com/a/peertube/video-channels" /><meta property="name" content="peertube" /><meta property="image" content="https://peertube-test.example.com/lazy-static/avatars/ecace52a-507f-4f72-a6e1-13248c0ee16e.jpg" /><meta property="twitter:card" content="summary" /><meta property="twitter:site" content="NO" /><meta property="twitter:title" content="peertube" /><meta property="twitter:image" content="https://peertube-test.example.com/lazy-static/avatars/ecace52a-507f-4f72-a6e1-13248c0ee16e.jpg" /><meta property="twitter:image:width" content="1500" /><meta property="twitter:image:height" content="1500" /><script type="application/ld+json">{"@context":"http://schema.org","@type":"ProfilePage","dateCreated":"2024-09-16T08:55:56.726Z","dateModified":"2024-09-16T08:55:56.726Z","mainEntity":{"@id":"#main-author","@type":"Person","name":"peertube","description":"","image":"https://peertube-test.example.com/lazy-static/avatars/ecace52a-507f-4f72-a6e1-13248c0ee16e.jpg"}}</script><link rel="canonical" href="https://peertube-test.example.com/a/peertube/video-channels" />
<script type="application/javascript">window.PeerTubeServerConfig = "{\"client\":{\"videos\":{\"miniature\":{\"displayAuthorAvatar\":false,\"preferAuthorDisplayName\":false},\"resumableUpload\":{\"maxChunkSize\":0}},\"menu\":{\"login\":{\"redirectOnSingleExternalAuth\":false}}},\"defaults\":{\"publish\":{\"downloadEnabled\":true,\"commentsPolicy\":1,\"commentsEnabled\":true,\"privacy\":1,\"licence\":null},\"p2p\":{\"webapp\":{\"enabled\":true},\"embed\":{\"enabled\":true}}},\"webadmin\":{\"configuration\":{\"edition\":{\"allowed\":true}}},\"instance\":{\"name\":\"example\",\"shortDescription\":\"mycompany\",\"isNSFW\":false,\"defaultNSFWPolicy\":\"do_not_list\",\"defaultClientRoute\":\"/videos/trending\",\"customizations\":{\"javascript\":\"\",\"css\":\"\"},\"avatars\":[{\"width\":48,\"path\":\"/lazy-static/avatars/31ed4184-f068-4f56-a310-c551ea915b90.jpg\",\"createdAt\":\"2024-09-20T01:19:09.099Z\",\"updatedAt\":\"2024-09-20T01:19:09.099Z\"},{\"width\":120,\"path\":\"/lazy-static/avatars/62fed27c-8fd7-4c61-8adf-fbc5df95b2e9.jpg\",\"createdAt\":\"2024-09-20T01:19:09.096Z\",\"updatedAt\":\"2024-09-20T01:19:09.096Z\"},{\"width\":600,\"path\":\"/lazy-static/avatars/4918d0bd-0776-47a4-b4aa-e2420a129f23.jpg\",\"createdAt\":\"2024-09-20T01:19:09.094Z\",\"updatedAt\":\"2024-09-20T01:19:09.094Z\"},{\"width\":1500,\"path\":\"/lazy-static/avatars/ecace52a-507f-4f72-a6e1-13248c0ee16e.jpg\",\"createdAt\":\"2024-09-20T01:19:09.086Z\",\"updatedAt\":\"2024-09-20T01:19:09.086Z\"}],\"banners\":[{\"width\":600,\"path\":\"/lazy-static/banners/d0b9e0af-f5d3-42c2-be1d-da87d8d42814.png\",\"createdAt\":\"2024-09-20T01:18:06.309Z\",\"updatedAt\":\"2024-09-20T01:18:06.309Z\"},{\"width\":1920,\"path\":\"/lazy-static/banners/d16f5cce-1481-4b5d-9262-052d70c3f643.png\",\"createdAt\":\"2024-09-20T01:18:06.297Z\",\"updatedAt\":\"2024-09-20T01:18:06.297Z\"}]},\"search\":{\"remoteUri\":{\"users\":true,\"anonymous\":false},\"searchIndex\":{\"enabled\":false,\"url\":\"\",\"disableLocalSearch\":false,\"isDefaultSearch\":false}},\"plugin\":{\"registered\":[{\"npmName\":\"peertube-plugin-auth-ldap\",\"name\":\"auth-ldap\",\"version\":\"0.0.14\",\"description\":\"Add LDAP support to login form in PeerTube.\",\"clientScripts\":{}},{\"npmName\":\"peertube-plugin-hide-publish-button\",\"name\":\"hide-publish-button\",\"version\":\"0.0.3\",\"description\":\"Hides publish button when video quota is 0.\",\"clientScripts\":{\"dist/common-client-plugin.js\":{\"script\":\"dist/common-client-plugin.js\",\"scopes\":[\"common\"]}}}],\"registeredExternalAuths\":[],\"registeredIdAndPassAuths\":[{\"npmName\":\"peertube-plugin-auth-ldap\",\"name\":\"auth-ldap\",\"version\":\"0.0.14\",\"authName\":\"ldap\",\"weight\":100}]},\"theme\":{\"registered\":[{\"npmName\":\"peertube-theme-bittube-light-mode\",\"name\":\"bittube-light-mode\",\"version\":\"2.3.3\",\"description\":\"BitTube light theme\",\"css\":[\"assets/style.css\"],\"clientScripts\":{\"client/common-client-plugin.js\":{\"script\":\"client/common-client-plugin.js\",\"scopes\":[\"common\"]}}}],\"default\":\"bittube-light-mode\"},\"email\":{\"enabled\":false},\"contactForm\":{\"enabled\":true},\"serverVersion\":\"6.2.1\",\"serverCommit\":\"\",\"transcoding\":{\"remoteRunners\":{\"enabled\":false},\"hls\":{\"enabled\":true},\"web_videos\":{\"enabled\":false},\"enabledResolutions\":[],\"profile\":\"default\",\"availableProfiles\":[\"default\"]},\"live\":{\"enabled\":false,\"allowReplay\":true,\"latencySetting\":{\"enabled\":true},\"maxDuration\":-1,\"maxInstanceLives\":20,\"maxUserLives\":3,\"transcoding\":{\"enabled\":true,\"remoteRunners\":{\"enabled\":false},\"enabledResolutions\":[],\"profile\":\"default\",\"availableProfiles\":[\"default\"]},\"rtmp\":{\"port\":1935}},\"videoStudio\":{\"enabled\":false,\"remoteRunners\":{\"enabled\":false}},\"videoFile\":{\"update\":{\"enabled\":false}},\"videoTranscription\":{\"enabled\":false,\"remoteRunners\":{\"enabled\":false}},\"import\":{\"videos\":{\"http\":{\"enabled\":false},\"torrent\":{\"enabled\":false}},\"videoChannelSynchronization\":{\"enabled\":false},\"users\":{\"enabled\":true}},\"export\":{\"users\":{\"enabled\":false,\"exportExpiration\":172800000,\"maxUserVideoQuota\":10737418240}},\"autoBlacklist\":{\"videos\":{\"ofUsers\":{\"enabled\":false}}},\"avatar\":{\"file\":{\"size\":{\"max\":4194304},\"extensions\":[\".png\",\".jpeg\",\".jpg\",\".gif\",\".webp\"]}},\"banner\":{\"file\":{\"size\":{\"max\":4194304},\"extensions\":[\".png\",\".jpeg\",\".jpg\",\".gif\",\".webp\"]}},\"video\":{\"image\":{\"extensions\":[\".png\",\".jpg\",\".jpeg\",\".webp\"],\"size\":{\"max\":4194304}},\"file\":{\"extensions\":[\".webm\",\".ogv\",\".ogg\",\".mp4\",\".mkv\",\".mov\",\".qt\",\".mqv\",\".m4v\",\".flv\",\".f4v\",\".wmv\",\".avi\",\".3gp\",\".3gpp\",\".3g2\",\".3gpp2\",\".nut\",\".mts\",\".m2ts\",\".mpv\",\".m2v\",\".m1v\",\".mpg\",\".mpe\",\".mpeg\",\".vob\",\".mxf\",\".mp3\",\".wma\",\".wav\",\".flac\",\".aac\",\".m4a\",\".ac3\"]}},\"videoCaption\":{\"file\":{\"size\":{\"max\":20971520},\"extensions\":[\".vtt\",\".srt\"]}},\"user\":{\"videoQuota\":-1,\"videoQuotaDaily\":-1},\"videoChannels\":{\"maxPerUser\":1},\"trending\":{\"videos\":{\"intervalDays\":7,\"algorithms\":{\"enabled\":[\"hot\",\"most-viewed\",\"most-liked\"],\"default\":\"most-viewed\"}}},\"tracker\":{\"enabled\":true},\"followings\":{\"instance\":{\"autoFollowIndex\":{\"indexUrl\":\"\"}}},\"broadcastMessage\":{\"enabled\":false,\"message\":\"\",\"level\":\"info\",\"dismissable\":false},\"homepage\":{\"enabled\":false},\"openTelemetry\":{\"metrics\":{\"enabled\":false,\"playbackStatsInterval\":15000}},\"views\":{\"videos\":{\"watchingInterval\":{\"anonymous\":5000,\"users\":5000}}},\"storyboards\":{\"enabled\":true}}"</script>
<!-- /!\ Do not remove it /!\ -->
<style>@charset "UTF-8";@layer primeng{@-webkit-keyframes p-fadein{0%{opacity:0}to{opacity:1}}}@-webkit-keyframes p-icon-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@font-face{font-family:Source Sans Pro;font-weight:200 900;font-style:normal;font-stretch:normal;font-display:swap;src:url("./media/SourceSans3VF-Roman.ttf-DPX3LM3Z.woff2") format("woff2")}@font-face{font-family:Source Sans Pro;font-weight:200 900;font-style:italic;font-stretch:normal;font-display:swap;src:url("./media/SourceSans3VF-Italic.ttf-5TVZFXMV.woff2") format("woff2")}:root{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#FF0000;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#38AB0B;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#38AB0B;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#FF0000;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13, 110, 253;--bs-secondary-rgb:108, 117, 125;--bs-success-rgb:56, 171, 11;--bs-info-rgb:13, 202, 240;--bs-warning-rgb:255, 193, 7;--bs-danger-rgb:255, 0, 0;--bs-light-rgb:248, 249, 250;--bs-dark-rgb:33, 37, 41;--bs-primary-text-emphasis:#052c65;--bs-secondary-text-emphasis:#2b2f32;--bs-success-text-emphasis:#164404;--bs-info-text-emphasis:#055160;--bs-warning-text-emphasis:#664d03;--bs-danger-text-emphasis:#660000;--bs-light-text-emphasis:#495057;--bs-dark-text-emphasis:#495057;--bs-primary-bg-subtle:#cfe2ff;--bs-secondary-bg-subtle:#e2e3e5;--bs-success-bg-subtle:#d7eece;--bs-info-bg-subtle:#cff4fc;--bs-warning-bg-subtle:#fff3cd;--bs-danger-bg-subtle:#ffcccc;--bs-light-bg-subtle:#fcfcfd;--bs-dark-bg-subtle:#ced4da;--bs-primary-border-subtle:#9ec5fe;--bs-secondary-border-subtle:#c4c8cb;--bs-success-border-subtle:#afdd9d;--bs-info-border-subtle:#9eeaf9;--bs-warning-border-subtle:#ffe69c;--bs-danger-border-subtle:#ff9999;--bs-light-border-subtle:#e9ecef;--bs-dark-border-subtle:#adb5bd;--bs-white-rgb:255, 255, 255;--bs-black-rgb:0, 0, 0;--bs-font-sans-serif:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace:SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-color-rgb:33, 37, 41;--bs-body-bg:#fff;--bs-body-bg-rgb:255, 255, 255;--bs-emphasis-color:#000;--bs-emphasis-color-rgb:0, 0, 0;--bs-secondary-color:rgba(33, 37, 41, .75);--bs-secondary-color-rgb:33, 37, 41;--bs-secondary-bg:#e9ecef;--bs-secondary-bg-rgb:233, 236, 239;--bs-tertiary-color:rgba(33, 37, 41, .5);--bs-tertiary-color-rgb:33, 37, 41;--bs-tertiary-bg:#f8f9fa;--bs-tertiary-bg-rgb:248, 249, 250;--bs-heading-color:inherit;--bs-link-color:#0d6efd;--bs-link-color-rgb:13, 110, 253;--bs-link-decoration:underline;--bs-link-hover-color:#0a58ca;--bs-link-hover-color-rgb:10, 88, 202;--bs-code-color:#d63384;--bs-highlight-color:#212529;--bs-highlight-bg:#fff3cd;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0, 0, 0, .175);--bs-border-radius:.375rem;--bs-border-radius-sm:.25rem;--bs-border-radius-lg:.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-xxl:2rem;--bs-border-radius-2xl:var(--bs-border-radius-xxl);--bs-border-radius-pill:50rem;--bs-box-shadow:0 .5rem 1rem rgba(0, 0, 0, .15);--bs-box-shadow-sm:0 .125rem .25rem rgba(0, 0, 0, .075);--bs-box-shadow-lg:0 1rem 3rem rgba(0, 0, 0, .175);--bs-box-shadow-inset:inset 0 1px 2px rgba(0, 0, 0, .075);--bs-focus-ring-width:.25rem;--bs-focus-ring-opacity:.25;--bs-focus-ring-color:rgba(13, 110, 253, .25);--bs-form-valid-color:#38AB0B;--bs-form-valid-border-color:#38AB0B;--bs-form-invalid-color:#FF0000;--bs-form-invalid-border-color:#FF0000}*,*:before,*:after{box-sizing:border-box}@media (prefers-reduced-motion: no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}h2,h1{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color)}h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width: 1200px){h1{font-size:2.5rem}}h2{font-size:calc(1.325rem + .9vw)}@media (min-width: 1200px){h2{font-size:2rem}}p{margin-top:0;margin-bottom:1rem}ul{padding-left:2rem}ul{margin-top:0;margin-bottom:1rem}a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, 1));text-decoration:underline}a:hover{--bs-link-color-rgb:var(--bs-link-hover-color-rgb)}:root{--bs-breakpoint-xs:0;--bs-breakpoint-sm:500px;--bs-breakpoint-md:800px;--bs-breakpoint-lg:900px;--bs-breakpoint-xl:1200px;--bs-breakpoint-xxl:1600px;--bs-breakpoint-fhd:1800px;--bs-breakpoint-qhd:2560px;--bs-breakpoint-uhd:3840px}.alert{--bs-alert-bg:transparent;--bs-alert-padding-x:1rem;--bs-alert-padding-y:1rem;--bs-alert-margin-bottom:1rem;--bs-alert-color:inherit;--bs-alert-border-color:transparent;--bs-alert-border:var(--bs-border-width) solid var(--bs-alert-border-color);--bs-alert-border-radius:var(--bs-border-radius);--bs-alert-link-color:inherit;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-light{--bs-alert-color:var(--bs-light-text-emphasis);--bs-alert-bg:var(--bs-light-bg-subtle);--bs-alert-border-color:var(--bs-light-border-subtle);--bs-alert-link-color:var(--bs-light-text-emphasis)}.mb-0{margin-bottom:0!important}.mb-3{margin-bottom:1rem!important}body{--bs-border-color-translucent:var(--inputBorderColor);--bs-body-color:var(--mainForegroundColor)}.alert p:last-child{margin-bottom:0}.link-orange{color:var(--mainForegroundColor);font-weight:600;border-bottom:.18em solid var(--mainColor);display:inline-block;line-height:1.1}.link-orange:hover{color:var(--mainForegroundColor);opacity:.8}body{--mainColor:hsl(24, 90%, 50%);--mainColorLighter:#f5873d;--mainColorLightest:#fce1cf;--mainColorVeryLight:#fff5eb;--mainHoverColor:#f47825;--mainBackgroundHoverColor:#e9ecef;--mainBackgroundColor:#fff;--mainForegroundColor:#212529;--greyForegroundColor:#585858;--greyBackgroundColor:#E5E5E5;--greySecondaryBackgroundColor:#EFEFEF;--menuBackgroundColor:#000;--menuForegroundColor:#fff;--submenuBackgroundColor:#F7F7F7;--channelBackgroundColor:#f6ede8;--inputForegroundColor:#212529;--inputBackgroundColor:#fff;--inputPlaceholderColor:#797676;--inputBorderColor:#C6C6C6;--textareaForegroundColor:#212529;--textareaBackgroundColor:#fff;--markdownTextareaBackgroundColor:#EFEFEF;--actionButtonColor:#585858;--supportButtonBackgroundColor:transparent;--supportButtonColor:var(--actionButtonColor);--supportButtonHeartColor:#e83e8c;--activatedActionButtonColor:#212529;--horizontalMarginContent:30px;--videosHorizontalMarginContent:6vw;--mainColWidth:calc(100vw - 240px) ;font-family:Source Sans Pro,sans-serif;font-weight:400;color:var(--mainForegroundColor);background-color:var(--mainBackgroundColor);font-size:1rem;overflow-y:scroll;text-align:start}noscript,#incompatible-browser{display:block;font-size:1.2rem;max-width:600px;margin:1rem auto}a{text-decoration:none}</style><link rel="stylesheet" href="styles-YV2BK5ZG.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles-YV2BK5ZG.css"></noscript><link rel="stylesheet" href="/plugins/global.css?hash=4a5ae3a768d822976dd5b71583f8032414f91d4545c118fb83011349401a175f" /></head>
<!-- 3. Display the application -->
<body id="custom-css">
<noscript class="alert alert-light">
<h1 class="alert-heading">PeerTube</h1>
<h2 class="mb-3">JavaScript required</h2>
<p>It seems JavaScript is either blocked or disabled in your web browser. We totally get that. However, this page will not work without it.</p>
<p>If you are concerned about the security and privacy (or lack thereof) of JavaScript web applications, you might want to review the source code of the instance you are trying to access, or look for security audits.</p>
<hr>
<h2 class="mb-3">Your options</h2>
<ul>
<li>Allow JavaScript in your browser</li>
<li>Use one of the <a class="link-orange" href="https://framagit.org/framasoft/peertube/documentation/-/raw/master/docs/use/third-party-application.md" target="_blank">third-party applications</a> to browse this instance</li>
<li>Review the source code on <a class="link-orange" href="https://github.com/Chocobozzz/PeerTube" target="_blank">GitHub</a> or <a class="link-orange" href="https://framagit.org/framasoft/peertube/PeerTube" target="_blank">Framasoft's GitLab</a>, and ask for modifications from the instance owner.
</li></ul>
</noscript>
<div id="incompatible-browser" class="alert alert-light" role="alert" style="display: none">
<h1 class="alert-heading">PeerTube</h1>
<h2 class="mb-3">Incompatible browser</h2>
<p>We are sorry but it seems that PeerTube is not compatible with your web browser.</p>
<hr>
<p>Please try with the latest version of <a class="link-orange" href="https://www.mozilla.org" target="_blank">Mozilla Firefox</a>.</p>
<p class="mb-0">If you think this is a mistake, please <a class="link-orange" href="https://github.com/Chocobozzz/PeerTube/issues/new" target="_blank">report it</a>.</p>
</div>
<script type="text/javascript">
function displayIncompatibleBrowser () {
var elem = document.getElementById('incompatible-browser')
if (elem.className.indexOf('browser-ok') === -1) {
elem.style.display = 'block'
}
}
window.onerror = function () {
displayIncompatibleBrowser()
}
if (/MSIE|Trident/.test(window.navigator.userAgent) ) {
displayIncompatibleBrowser()
}
</script>
<my-app>
</my-app>
<link rel="modulepreload" href="chunk-4EDEHPUS.js"><link rel="modulepreload" href="chunk-LU2XIJXA.js"><link rel="modulepreload" href="chunk-VGWHSSUL.js"><script src="polyfills-DKLCR6XS.js" type="module"></script><script src="main-Z6GMDOVJ.js" type="module"></script></body>
</html>
Correct command is curl -L -k -H 'Accept: application/ld+json; profile="https://www.w3.org/ns/activitystreams"' https://peertube-test.example.com/accounts/peertube
root@peertube-test:~# curl -L -k -H 'Accept: application/ld+json; profile="https://www.w3.org/ns/activitystreams"' https://peertube-test.example.com/accounts/peertube
{"@context":["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1",{"RsaSignature2017":"https://w3id.org/security#RsaSignature2017"},{"pt":"https://joinpeertube.org/ns#","sc":"http://schema.org/","playlists":{"@id":"pt:playlists","@type":"@id"},"support":{"@type":"sc:Text","@id":"pt:support"},"lemmy":"https://join-lemmy.org/ns#","postingRestrictedToMods":"lemmy:postingRestrictedToMods","icons":"as:icon"}],"type":"Application","id":"https://peertube-test.example/accounts/peertube","following":"https://peertube-test.example.com/accounts/peertube/following","followers":"https://peertube-test.example.com/accounts/peertube/followers","playlists":"https://peertube-test.example.com/accounts/peertube/playlists","inbox":"https://peertube-test.example.com/accounts/peertube/inbox","outbox":"https://peertube-test.example.com/accounts/peertube/outbox","preferredUsername":"peertube","url":"https://peertube-test.example.com/accounts/peertube","name":"peertube","endpoints":{"sharedInbox":"https://peertube-test.example.com/inbox"},"publicKey":{"id":"https://peertube-test.example.com/accounts/peertube#main-key","owner":"https://peertube-test.example.com/accounts/peertube","publicKeyPem":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAk4G/4cMpHdQXjZnClJT2\nBiP++FQjULn+cdLbOX2N0KsUwIdex6QbELMxWLdOuzPdSbnL4eCUUp853n2x5nOt\n5+Mknp3+o2YByDkXMS/9Mr8kxo3WwpeIdn4Yox4USu5rJ3bpVUHpzYaZDh4yZxU+\nx5EQQtzeqZ7CvkPIsEaS/1UZFYKFsoenSICyvI57Yvi4jSLhZnQQJ1vDHyVUXlpv\nI2b5gaeOf/fnETYBMe99xslKwLARcc6Te+ZNEbLx1mLMp+liim+KZqRQGJur9CL8\ntF4jdS2zuPTOBySa/EGKItnrfNce17WwSIbO8n87OwtGsXqz3zzCaDC4xr+QJHKG\n2wIDAQAB\n-----END PUBLIC KEY-----\n"},"published":"2024-09-16T08:55:56.628Z","icon":[{"type":"Image","mediaType":"image/jpeg","height":48,"width":48,"url":"https://peertube-test.example.com/lazy-static/avatars/31ed4184-f068-4f56-a310-c551ea915b90.jpg"},{"type":"Image","mediaType":"image/jpeg","height":120,"width":120,"url":"https://peertube-test.example.com/lazy-static/avatars/62fed27c-8fd7-4c61-8adf-fbc5df95b2e9.jpg"},{"type":"Image","mediaType":"image/jpeg","height":600,"width":600,"url":"https://peertube-test.example.com/lazy-static/avatars/4918d0bd-0776-47a4-b4aa-e2420a129f23.jpg"},{"type":"Image","mediaType":"image/jpeg","height":1500,"width":1500,"url":"https://peertube-test.example.com/lazy-static/avatars/ecace52a-507f-4f72-a6e1-13248c0ee16e.jpg"}],"summary":null}root@peertube-test:~#
Thanks, and
curl -L -k https://peertube.example.com/.well-known/nodeinfo
and
curl -L -k 'https://peertube.example.com/.well-known/webfinger?resource=acct:peertube@peertube.example.com'
root@peertube-test:~# curl -L -k https://peertube-test.example.com/.well-known/nodeinfo
{"links":[{"rel":"http://nodeinfo.diaspora.software/ns/schema/2.0","href":"https://peertube-test.example.com/nodeinfo/2.0.json"},{"rel":"https://www.w3.org/ns/activitystreams#Application","href":"https://peertube-test.example.com/accounts/peertube"}]}root@peertube-test:~#
And
root@peertube-test:~# curl -L -k 'https://peertube-test.example.com/.well-known/webfinger?resource=acct:peertube@peertube-test.example.com'
{"subject":"acct:peertube@peertube-test.example.com","aliases":["https://peertube-test.example.com/accounts/peertube"],"links":[{"rel":"self","type":"application/activity+json","href":"https://peertube-test.example.com/accounts/peertube"},{"rel":"http://ostatus.org/schema/1.0/subscribe","template":"https://peertube-test.example.com/remote-interaction?uri={uri}"}]}root@peertube-test:~#
I think the inavlid SSL cert is the cause of your problem. I think the instance can't fetch information from the other one because of the SSL verif failure displayed by curl
We have an SSL certificate wildcard: *domain.com
Could this be a problem?
I have connected .CRT and .KEY to each server
Thank you! The problem is solved. The intermediate certificate was missing and needed to be added to the main certificate example.crt
Describe the problem
There are two peertube instances, in the same network and domain. The instances have the same version 6.2.1. When trying to subscribe them to each other (using the dns name peertube.example.com and peertube-test.example.com), the following message appears: Success, tracking request sent! And that's it, nothing else happens, it is not displayed in subscriptions and subscribers. The same behavior is with the second server. The configuration of the two servers looks like this:
The logs contain the following message: warn [09/27/2024, 10:49:21] Do not follow undefined@peertube-test.example.com:443 because we could not find the actor URL (in database or using webfinger)
Tell me what Webfinger has to do with it if I want to subscribe instances, not individual channels?
P.s. I also tried to subscribe channels, the result is the same. The servers are in the domain, they see each other, SSL certificates are installed, the host is specified correctly.
P.s.s. Federation is extremely necessary, there are two domains that need to be authorized via LDAP.
What can be done to unite these instances into a federation?
Additional information