Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- czesio@gd-debian:~$ curl -L -v -k -d "username=xxx&password=yyy" https://cloud.seafile.com/api2/auth-token/
- * Hostname was NOT found in DNS cache
- * Trying 23.21.191.188...
- * Connected to cloud.seafile.com (23.21.191.188) port 443 (#0)
- * successfully set certificate verify locations:
- * CAfile: none
- CApath: /etc/ssl/certs
- * SSLv3, TLS handshake, Client hello (1):
- * SSLv3, TLS handshake, Server hello (2):
- * SSLv3, TLS handshake, CERT (11):
- * SSLv3, TLS handshake, Server key exchange (12):
- * SSLv3, TLS handshake, Server finished (14):
- * SSLv3, TLS handshake, Client key exchange (16):
- * SSLv3, TLS change cipher, Client hello (1):
- * SSLv3, TLS handshake, Finished (20):
- * SSLv3, TLS change cipher, Client hello (1):
- * SSLv3, TLS handshake, Finished (20):
- * SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
- * Server certificate:
- * subject: CN=seafile.com
- * start date: 2017-04-17 01:55:00 GMT
- * expire date: 2017-07-16 01:55:00 GMT
- * issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
- * SSL certificate verify ok.
- > POST /api2/auth-token/ HTTP/1.1
- > User-Agent: curl/7.38.0
- > Host: cloud.seafile.com
- > Accept: */*
- > Content-Length: 34
- > Content-Type: application/x-www-form-urlencoded
- >
- * upload completely sent off: 34 out of 34 bytes
- < HTTP/1.1 301 Moved Permanently
- * Server nginx/1.1.19 is not blacklisted
- < Server: nginx/1.1.19
- < Date: Mon, 22 May 2017 14:54:14 GMT
- < Content-Type: text/html
- < Content-Length: 185
- < Connection: keep-alive
- < Location: https://www.seafile.com/api2/auth-token/
- < Strict-Transport-Security: max-age=15768000
- <
- * Ignoring the response-body
- * Connection #0 to host cloud.seafile.com left intact
- * Issue another request to this URL: 'https://www.seafile.com/api2/auth-token/'
- * Switch from POST to GET
- * Hostname was NOT found in DNS cache
- * Trying 23.21.191.188...
- * Connected to www.seafile.com (23.21.191.188) port 443 (#1)
- * successfully set certificate verify locations:
- * CAfile: none
- CApath: /etc/ssl/certs
- * SSLv3, TLS handshake, Client hello (1):
- * SSLv3, TLS handshake, Server hello (2):
- * SSLv3, TLS handshake, CERT (11):
- * SSLv3, TLS handshake, Server key exchange (12):
- * SSLv3, TLS handshake, Server finished (14):
- * SSLv3, TLS handshake, Client key exchange (16):
- * SSLv3, TLS change cipher, Client hello (1):
- * SSLv3, TLS handshake, Finished (20):
- * SSLv3, TLS change cipher, Client hello (1):
- * SSLv3, TLS handshake, Finished (20):
- * SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
- * Server certificate:
- * subject: CN=seafile.com
- * start date: 2017-04-17 01:55:00 GMT
- * expire date: 2017-07-16 01:55:00 GMT
- * issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
- * SSL certificate verify ok.
- > GET /api2/auth-token/ HTTP/1.1
- > User-Agent: curl/7.38.0
- > Host: www.seafile.com
- > Accept: */*
- >
- < HTTP/1.1 404 NOT FOUND
- * Server nginx/1.1.19 is not blacklisted
- < Server: nginx/1.1.19
- < Date: Mon, 22 May 2017 14:54:14 GMT
- < Content-Type: text/html; charset=utf-8
- < Transfer-Encoding: chunked
- < Connection: keep-alive
- < Vary: Accept-Language
- < Content-Language: zh-CN
- <
- <!DOCTYPE html>
- <html>
- <head>
- Page not found
- <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
- <meta name="keywords" content="文件 共享 同步 企业云盘 云盘" />
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" type="text/css" href="/media/css/bootstrap.min.css" />
- <link rel="stylesheet" type="text/css" href="/media/css/seasite.css?t=27" />
- <link rel="icon" type="image/png" href="/media/img/favicon.png?t=3" />
- <script type="text/javascript" src="/media/js/ga.js"></script>
- </head>
- <body>
- <div id="wrapper">
- <div id="header">
- <nav class="navbar navbar-default navbar-fixed-top">
- <div class="container">
- <div class="navbar-header">
- <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse-1">
- <span class="sr-only">Toggle navigation</span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a href="/home/" id="logo" class="navbar-brand"><img src="/media/img/seafile-logo.png" alt="seafile logo" width="128"/></a>
- </div>
- <div class="collapse navbar-collapse" id="navbar-collapse-1">
- <ul class="nav navbar-nav navbar-right">
- <li>
- <a href="/features/">产品</a>
- </li>
- <li>
- <a href="/product/private_server/">购买</a>
- </li>
- <li>
- <a href="/download/">下载</a>
- </li>
- <li>
- <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">支持 <span class="caret"></span></a>
- <ul class="dropdown-menu" role="menu">
- <li><a href="/help/">使用帮助</a></li>
- <li><a href="http://manual-cn.seafile.com/">服务器手册</a></li>
- </ul>
- </li>
- <li>
- <a href="https://bbs.seafile.com">论坛</a>
- </li>
- <li>
- <a href="/about/">关于</a>
- </li>
- <li>
- <a href="https://blogs-cn.seafile.com">博客</a>
- </li>
- <li>
- <a href="#" class="lang" id="to-en"><img src="/media/img/en_flag.jpg" alt="English" /></a>
- </li>
- </ul>
- </div>
- </div>
- </nav>
- </div>
- <div id="main">
- <h1>Page not found</h1>
- <p>Sorry, but the requested page could not be found.</p>
- </div>
- <div id="footer">
- <div class="container">
- <div class="row">
- <div class="col-md-3 col-sm-3">
- <h4>社区</h4>
- <ul>
- <li><a href="/roadmap/">Roadmap</a></li>
- <li><a href="/filing_issues/">提交 Bug</a></li>
- <li><a href="/responsible_disclosure_policy/">安全问题报告</a></li>
- </ul>
- </div>
- <div class="col-md-2 col-sm-2">
- <h4>关于</h4>
- <ul>
- <li><a href="/about/">关于我们</a></li>
- <li><a href="/about/#about-team">团队信息</a></li>
- <li><a href="/about/#about-contact">联系方式</a></li>
- </ul>
- </div>
- <div class="col-md-4 col-sm-3">
- <h4>支持</h4>
- <ul>
- <li><a href="/help/">使用帮助</a></li>
- <li><a href="http://manual-cn.seafile.com/">服务器手册</a></li>
- </ul>
- </div>
- <div class="col-md-3 col-sm-4 copyright">
- <p>Copyright ©2017 海文互知.</p>
- <p>联系电话:400-819-0653.</p>
- <p>联系邮箱:seafile@vip.163.com</p>
- <p><a href="http://www.miibeian.gov.cn" class="beian" target="_blank">京ICP备12015883号-1</a></p>
- <a href="http://weibo.com/seafile" target="_blank"><img src="/media/img/weibo48.png" alt="新浪微博" title="新浪微博" width="20" /></a>
- <a href="https://github.com/haiwen/seafile" target="_blank"><img src="/media/img/github48.png" alt="github" title="github" width="20" style="margin-left:5px;" /></a>
- </p>
- </div>
- </div>
- </div>
- </div>
- </div><!-- wrapper -->
- <script type="text/javascript" src="/media/js/jquery-1.11.2.min.js"></script>
- <script type="text/javascript" src="/media/js/bootstrap.min.js"></script>
- <script type="text/javascript">
- // when the page is 'short', make the footer on the bottom
- $(window).load(function() {
- if ($(window).height() > $('#wrapper').height()) {
- $('#main').height($(window).height() - $('#header').outerHeight(true) - $('#footer').outerHeight(true));
- }
- });
- // turn to corresponding en page.
- $('#to-en').attr('href', '/en' + location.pathname); // e.g. '/home/' --> '/en/home/'
- $('#main').css({'margin-top': $('nav').outerHeight()});
- </script>
- </body>
- </html>
- * Connection #1 to host www.seafile.com left intact
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement