Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V20Error on transactions #98

Closed
siruku6 opened this issue Aug 30, 2020 · 1 comment · Fixed by #128
Closed

V20Error on transactions #98

siruku6 opened this issue Aug 30, 2020 · 1 comment · Fixed by #128
Labels
enhancement New feature or request
Projects

Comments

@siruku6
Copy link
Owner

siruku6 commented Aug 30, 2020

Followomg error occured.

Traceback (most recent call last):
  File "beta_cord.py", line 105, in <module>
    start_test_menu()
  File "beta_cord.py", line 79, in start_test_menu
    transactions = libra.request_massive_transactions()
  File "/home/sasaki/lab/py_fx/models/history_librarian.py", line67, in request_massive_transactions
    from_id, to_id = self.__client.request_transaction_ids()
  File "/home/sasaki/lab/py_fx/models/oanda_py_client.py", line 332, in request_transaction_ids
    response = self.__api_client.request(request_obj)
  File "/usr/local/pyenv/versions/20200222/lib/python3.8/site-packages/oandapyV20/oandapyV20.py", line 305, in request
    response = self.__request(method, url,
  File "/usr/local/pyenv/versions/20200222/lib/python3.8/site-packages/oandapyV20/oandapyV20.py", line 242, in __request
    raise V20Error(response.status_code,
oandapyV20.exceptions.V20Error: <!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->
<head>
<meta http-equiv="refresh" content="0">

<title>api-fxpractice.oanda.com | 504: Gateway time-out</title>
<meta charset="UTF-8" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
<meta name="robots" content="noindex, nofollow" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/cf.errors.css" type="text/css" media="screen,projection" />
<!--[if lt IE 9]><link rel="stylesheet" id='cf_styles-ie-css' href="/cdn-cgi/styles/cf.errors.ie.css" type="text/css" media="screen,projection" /><![endif]-->
<style type="text/css">body{margin:0;padding:0}</style>




</head>
<body>
<div id="cf-wrapper">

    

    <div id="cf-error-details" class="cf-error-details-wrapper">
        <div class="cf-wrapper cf-error-overview">
            <h1>
              
              <span class="cf-error-type">Error</span>
              <span class="cf-error-code">504</span>
              <small class="heading-ray-id">Ray ID: 5cad60b3ea83e11a &bull; 2020-08-30 09:10:26 UTC</small>
            </h1>
            <h2 class="cf-subheadline">Gateway time-out</h2>
        </div><!-- /.error-overview -->
        
        <div class="cf-section cf-highlight cf-status-display">
            <div class="cf-wrapper">
                <div class="cf-columns cols-3">
                  
<div id="cf-browser-status" class="cf-column cf-status-item cf-browser-status ">
  <div class="cf-icon-error-container">
    <i class="cf-icon cf-icon-browser"></i>
    <i class="cf-icon-status cf-icon-ok"></i>
  </div>
  <span class="cf-status-desc">You</span>
  <h3 class="cf-status-name">Browser</h3>
  <span class="cf-status-label">Working</span>
</div>

<div id="cf-cloudflare-status" class="cf-column cf-status-item cf-cloudflare-status ">
  <div class="cf-icon-error-container">
    <i class="cf-icon cf-icon-cloud"></i>
    <i class="cf-icon-status cf-icon-ok"></i>
  </div>
  <span class="cf-status-desc">Ashburn</span>
  <h3 class="cf-status-name">Cloudflare</h3>
  <span class="cf-status-label">Working</span>
</div>

<div id="cf-host-status" class="cf-column cf-status-item cf-host-status cf-error-source">
  <div class="cf-icon-error-container">
    <i class="cf-icon cf-icon-server"></i>
    <i class="cf-icon-status cf-icon-error"></i>
  </div>
  <span class="cf-status-desc">api-fxpractice.oanda.com</span>
  <h3 class="cf-status-name">Host</h3>
  <span class="cf-status-label">Error</span>
</div>

                </div>
              
            </div>
        </div><!-- /.status-display -->

        <div class="cf-section cf-wrapper">
            <div class="cf-columns two">
                <div class="cf-column">
                    <h2>What happened?</h2>
                    <p>The web server reported a gateway time-out error.</p>
                </div>
              
                <div class="cf-column">
                    <h2>What can I do?</h2>
                    <p>Please try again in a few minutes.</p>
                </div>
            </div>
              
        </div><!-- /.section -->

        <div class="cf-error-footer cf-wrapper">
  <p>
    <span class="cf-footer-item">Cloudflare Ray ID: <strong>5cad60b3ea83e11a</strong></span>
    <span class="cf-footer-separator">&bull;</span>
    <span class="cf-footer-item"><span>Your IP</span>: 18.188.185.246</span>
    <span class="cf-footer-separator">&bull;</span>
    <span class="cf-footer-item"><span>Performance &amp; security by</span> <a href="https://www.cloudflare.com/5xx-error-landing?utm_source=error_footer" id="brand_link" target="_blank">Cloudflare</a></span>
    
  </p>
</div><!-- /.error-footer -->


    </div><!-- /#cf-error-details -->
</div><!-- /#cf-wrapper -->
</body>
</html>
@siruku6 siruku6 added the enhancement New feature or request label Aug 30, 2020
@siruku6 siruku6 added this to To do in Task board via automation Aug 30, 2020
@siruku6 siruku6 linked a pull request Feb 7, 2021 that will close this issue
@siruku6
Copy link
Owner Author

siruku6 commented Feb 7, 2021

Image of the above error

image

Task board automation moved this from To do to Done Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Task board
  
Done
Development

Successfully merging a pull request may close this issue.

1 participant