Project

General

Profile

Actions

Bug #5450

open

rhodecode-api get_license_info no longer works

Added by Gildas Fargeas about 6 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
19.03.2018
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

Description

I just noticed that but it seems the method get_license_info no longer works in the api.
I get the same error using either a curl request or rhodecode-api bin. I also checked get_users and it works fine.
Can you reproduce this error ?

ERROR: Backend server at `http://127.0.0.1:10002/_admin/api` returned non 2XX http code (500). Please make sure it is running and accepting connections. Original response: <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>Error - 500 Internal Server Error</title>
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
        <meta name="robots" content="index, nofollow"/>
        <link rel="icon" href="/_static/rhodecode/images/favicon.ico" sizes="16x16 32x32" type="image/png" />

        <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

        <link rel="stylesheet" type="text/css" href="/_static/rhodecode/css/style.css" media="screen"/>
        <!--[if IE]>
            <link rel="stylesheet" type="text/css" href="/_static/rhodecode/css/ie.css" media="screen"/>
        <![endif]-->
        <style>body { background:#eeeeee; }</style>
        <script type="text/javascript">
            // register templateContext to pass template variables to JS
            var templateContext = {timeago: {}};
        </script>
        <script type="text/javascript" src="/_static/rhodecode/js/scripts.js"></script>
    </head>
    <body>

        <div class="wrapper error_page">
            <div class="sidebar">
                <a href="/"><img class="error-page-logo" src="/_static/rhodecode/images/RhodeCode_Logo_Black.png" alt="RhodeCode"/></a>
            </div>
            <div class="main-content">
                <h1>
                    <span class="error-branding">
                        RhodeCode
                    </span><br/>
                    500 Internal Server Error | <span class="error_message">The server has either erred or is incapable of performing the requested operation.</span>
                </h1>
                <div class="inner-column">
                    <h4>Possible Causes</h4>
                    <ul>
                            <li>Server is overloaded.</li>
                            <li>Server database connection is lost.</li>
                            <li>Server expected unhandled error.</li>
                    </ul>
                </div>
                <div class="inner-column">
                    <h4>Support</h4>
                    <p>For support, go to <a href="https://rhodecode.com/help/" target="_blank">Support</a>.
                       It may be useful to include your log file; see the log file locations <a href="https://rhodecode.com/r1/enterprise/docs/admin-system-overview/">here</a>.
                    </p>
                </div>
                <div class="inner-column">
                    <h4>Documentation</h4>
                    <p>For more information, see <a href="https://rhodecode.com/r1/enterprise/docs/">docs.rhodecode.com</a>.</p>
                </div>
            </div>
        </div>

    </body>

</html>
None
Actions

Also available in: Atom PDF