Closed gmachtel closed 4 years ago
I can access it on https://geertincubaid3bot-mytube.tfgw-testnet-01.gateway.tf
Potential duplicate of #842
when curling with nl value in Accept-Langauge header
➜ ~ curl geertincubaid3bot-mytube.tfgw-testnet-01.gateway.tf -H 'Accept-Language: nl,en-US;q=0.7,en;q=0.3' -L
➜ ~ curl geertincubaid3bot-mytube.tfgw-testnet-01.gateway.tf -H 'Accept-Language: nl,en-US;q=0.7,en;q=0.3' -v
* Trying 185.69.166.120...
* TCP_NODELAY set
* Connected to geertincubaid3bot-mytube.tfgw-testnet-01.gateway.tf (185.69.166.120) port 80 (#0)
> GET / HTTP/1.1
> Host: geertincubaid3bot-mytube.tfgw-testnet-01.gateway.tf
> User-Agent: curl/7.62.0-DEV
> Accept: */*
> Accept-Language: nl,en-US;q=0.7,en;q=0.3
>
< HTTP/1.1 301 Moved Permanently
< Server: nginx/1.14.0 (Ubuntu)
< Date: Mon, 07 Sep 2020 17:02:10 GMT
< Content-Type: text/html
< Content-Length: 194
< Connection: keep-alive
< Location: https://geertincubaid3bot-mytube.tfgw-testnet-01.gateway.tf/
<
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx/1.14.0 (Ubuntu)</center>
</body>
</html>
* Connection #0 to host geertincubaid3bot-mytube.tfgw-testnet-01.gateway.tf left intact
When removed nl language from Accept-Language header
➜ ~ curl geertincubaid3bot-mytube.tfgw-testnet-01.gateway.tf -H 'Accept-Language: en-US;q=0.7,en;q=0.3' -L
<!DOCTYPE html>
<html>
<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?b5bae40bd96c625c7c289e2963dec2c9dd06fc3e">
<link rel="icon" type="image/png" href="/client/assets/images/favicon.png?84641486af09a8fb7dd282ddd7fdfeedd9d08620" />
<!-- logo background-image -->
<style type="text/css">
.icon-logo {
background-image: url(/client/assets/images/logo.svg?45b6aa6db4608d887a29ccd7a4be33ec4a0ff14b);
}
</style>
<!-- base url -->
<base href="/">
<!-- /!\ The following comment is used by the server to prerender some tags /!\ -->
<title>PeerTube</title>
<meta name="description" content="PeerTube, a federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular." />
<style class="custom-css-style"></style>
<!-- meta tags -->
<!-- /!\ Do not remove it /!\ -->
<link rel="stylesheet" href="/client/en-US/styles.ef9a7809bf9d73c61a2e.css"></head>
<!-- 3. Display the application -->
<body id="custom-css">
<noscript>
<p>It seems you are either <strong>blocking or disabling Javascript</strong> on your browser, and we totally get that. However this endpoint uses Angular, so the front end is in full JavaScript and won't work without it.</p>
<p>There might be numerous reasons you refuse to use JavaScript. If it just has to do with security (or lack thereof) of JavaScript-based web applications, then depending on your threat menace you might want to go through the code running on the node you are trying to access, and look for security audits.</p>
<p>There are other non JS-based unofficial clients to access PeerTube. You can find a list maintained by the PeerTube project in <a href="https://framagit.org/framasoft/peertube/documentation/-/raw/master/use-third-party-application.md">the thid-party applications section</a>. You can also develop your own as our code is open source and libre software under the <a href="https://github.com/Chocobozzz/PeerTube/blob/develop/LICENSE" target="_blank" rel="noopener">GNU AGPLv3.0</a> and documented on <a href="https://docs.joinpeertube.org/api-rest-reference.html">docs.joinpeertube.org</a>.</p>
</noscript>
<div id="incompatible-browser" class="alert alert-danger" style="display: none">
<p>We are sorry but it seems that PeerTube is not compatible with your web browser.</p>
<p>Please try with the latest version of <a href="https://www.mozilla.org" target="_blank">Mozilla Firefox</a>.</p>
<p>If you think this is a mistake, do not hesitate <a href="https://github.com/Chocobozzz/PeerTube/issues/new" target="_blank">to report it</a>.</p>
</div>
<script type="text/javascript">
window.onerror = function () {
var elem = document.getElementById('incompatible-browser')
if (elem.className.indexOf('browser-ok') === -1) {
elem.style.display = 'block'
}
}
</script>
<my-app>
</my-app>
<script src="/client/en-US/runtime-es2015.349d8b394b1941f1f20a.js" type="module"></script><script src="/client/en-US/runtime-es5.349d8b394b1941f1f20a.js" nomodule defer></script><script src="/client/en-US/polyfills-es5.cdc8d9bd522290c445a0.js" nomodule defer></script><script src="/client/en-US/polyfills-es2015.0757034ed7723bc6779e.js" type="module"></script><script src="/client/en-US/main-es2015.727fe5df1a3e0de95f63.js" type="module"></script><script src="/client/en-US/main-es5.727fe5df1a3e0de95f63.js" nomodule defer></script></body>
</html>
It’s a peertube issue, reported to them.
I deployed a peertube solution on demo.grid.tf. The chatflow went well but the resulting url is inaccessible.