# ERROR - Error broadcasting the transaction through the Bitpay API. and HTTP Error 503: Service Temporarily Unavailable

**URL:** <https://community.blockcerts.org/t/error-error-broadcasting-the-transaction-through-the-bitpay-api-and-http-error-503-service-temporarily-unavailable/2232>\
**Category:** Uncategorized\
**Created:** [December 20, 2019, 4:24am UTC](https://community.blockcerts.org/t/error-error-broadcasting-the-transaction-through-the-bitpay-api-and-http-error-503-service-temporarily-unavailable/2232 "2019-12-20T04:24:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LuckyLQD](https://avatars.discourse-cdn.com/v4/letter/l/a6a055/32.png) [@LuckyLQD](https://community.blockcerts.org/u/LuckyLQD)\
**Post date:** [December 20, 2019, 4:24am UTC](https://community.blockcerts.org/t/error-error-broadcasting-the-transaction-through-the-bitpay-api-and-http-error-503-service-temporarily-unavailable/2232/1 "2019-12-20T04:24:17Z")

</div>

Hi, I am trying to issue certificates on bitcoin test-net using the command “python cert-issuer -c conf.ini”. But I meet some problems. I see the transaction is launched to myself. Here is the information of terminal. Could you tell me what should I don

WARNING - Your app is configured to skip the wifi check when the USB is plugged in. Read the documentation to ensure this is what you want, since this is less secure  
INFO - This run will try to issue on the bitcoin\_testnet chain  
INFO - Set cost constants to recommended\_tx\_fee=0.000600,min\_per\_output=0.000028,satoshi\_per\_byte=250  
INFO - Processing 2 certificates  
INFO - Processing 2 certificates under work path=/home/qidonglai2/LAI Qidong/blockcerts\_test/venv/lib/python3.7/site-packages/cert\_issuer-2.0.20-py3.7.egg/work  
WARNING - HTTP Error 503: Service Temporarily Unavailable  
INFO - trying to get spendables from blockcypher  
INFO - Total cost will be 133500 satoshis  
INFO - Starting finalizable signer  
WARNING - app is configured to skip the wifi check when the USB is plugged in. Read the documentation to ensure this is what you want, since this is less secure  
INFO - Stopping finalizable signer  
WARNING - app is configured to skip the wifi check when the USB is plugged in. Read the documentation to ensure this is what you want, since this is less secure  
INFO - here is the op\_return\_code data: a3751ae633847540ae8e48a20303f51e9416e4a5d63b527df0a601864242712a  
WARNING - HTTP Error 503: Service Temporarily Unavailable  
INFO - trying to get spendables from blockcypher  
INFO - Unsigned hextx=0100000001a46d36aac9cd24480bdf82b8acc73e6d53e65f1c97bee89831d617053e8dd45a0000000000ffffffff02b8582200000000001976a914f5a0163ffef6e4d4d8f53b8ed8bad0be511ba75d88ac0000000000000000226a20a3751ae633847540ae8e48a20303f51e9416e4a5d63b527df0a601864242712a00000000  
INFO - Preparing tx for signing  
INFO - Starting finalizable signer  
WARNING - app is configured to skip the wifi check when the USB is plugged in. Read the documentation to ensure this is what you want, since this is less secure  
INFO - Stopping finalizable signer  
WARNING - app is configured to skip the wifi check when the USB is plugged in. Read the documentation to ensure this is what you want, since this is less secure  
INFO - The actual transaction size is 235 bytes  
INFO - Signed hextx=0100000001a46d36aac9cd24480bdf82b8acc73e6d53e65f1c97bee89831d617053e8dd45a000000006b483045022100f0f3dab580b7cfdc118ef04a86aad4f3eb5c5e1643521c5d306563de433ed7d8022079e3556620384f5614aaa256396d9de98afad0ef883f6b8ae5c8c0b4d2c0ac01012102e5c2d022c537b2307b09d033d5cc1a047b92b639028ce2425b067eb103f0f45cffffffff02b8582200000000001976a914f5a0163ffef6e4d4d8f53b8ed8bad0be511ba75d88ac0000000000000000226a20a3751ae633847540ae8e48a20303f51e9416e4a5d63b527df0a601864242712a00000000  
INFO - Signed hextx=0100000001a46d36aac9cd24480bdf82b8acc73e6d53e65f1c97bee89831d617053e8dd45a000000006b483045022100f0f3dab580b7cfdc118ef04a86aad4f3eb5c5e1643521c5d306563de433ed7d8022079e3556620384f5614aaa256396d9de98afad0ef883f6b8ae5c8c0b4d2c0ac01012102e5c2d022c537b2307b09d033d5cc1a047b92b639028ce2425b067eb103f0f45cffffffff02b8582200000000001976a914f5a0163ffef6e4d4d8f53b8ed8bad0be511ba75d88ac0000000000000000226a20a3751ae633847540ae8e48a20303f51e9416e4a5d63b527df0a601864242712a00000000  
INFO - verifying op\_return value for transaction  
INFO - verified OP\_RETURN  
INFO - Broadcasting succeeded with method\_provider=\<bound method BlockcypherProvider.broadcast\_tx of \<cert\_issuer.blockchain\_handlers.bitcoin.connectors.BlockcypherProvider object at 0x7f22a70a8590\>\>, txid=d1e15dc8e7fe7312818fb7913567eff773a8179c1631d9f999c7cea8dfe88d3d  
INFO - Broadcasting succeeded with method\_provider=\<bound method BlockExplorerBroadcaster.broadcast\_tx of \<cert\_issuer.blockchain\_handlers.bitcoin.connectors.BlockExplorerBroadcaster object at 0x7f22a70a8610\>\>, txid=d1e15dc8e7fe7312818fb7913567eff773a8179c1631d9f999c7cea8dfe88d3d  
INFO - Broadcasting succeeded with method\_provider=\<bound method BlockstreamBroadcaster.broadcast\_tx of \<cert\_issuer.blockchain\_handlers.bitcoin.connectors.BlockstreamBroadcaster object at 0x7f22a70a8b50\>\>, txid=d1e15dc8e7fe7312818fb7913567eff773a8179c1631d9f999c7cea8dfe88d3d  
ERROR - Error broadcasting the transaction through the Bitpay API. Error msg:

 test-insight.bitpay.com | 525: SSL handshake failed body{margin:0;padding:0}

```
<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">525</span>
          <small class="heading-ray-id">Ray ID: 547e4bc2ec05d1b3 &bull; 2019-12-20 02:48:12 UTC</small>
        </h1>
        <h2 class="cf-subheadline">SSL handshake failed</h2>
    </div><!-- /.error-overview -->
    
    <div class="cf-section cf-highlight cf-status-display">
        <div class="cf-wrapper">
            <div class="cf-columns cols-3">

```

You
### Browser
Working

Hong Kong
### Cloudflare
Working

test-insight.bitpay.com
### Host
Error

```
            </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>Cloudflare is unable to establish an SSL connection to the origin server.</p>
            </div>
          
            <div class="cf-column">
                <h2>What can I do?</h2>
                      <h5>If you're a visitor of this website:</h5>
  <p>Please try again in a few minutes.</p>

  <h5>If you're the owner of this website:</h5>
  <p><span>It appears that the SSL configuration used is not compatible with Cloudflare. This could happen for a several reasons, including no shared cipher suites.</span> <a href="https://support.cloudflare.com/hc/en-us/articles/200278659">Additional troubleshooting information here.</a></p>
            </div>
        </div>
          
    </div><!-- /.section -->

    <div class="cf-error-footer cf-wrapper">

```

Cloudflare Ray ID: **547e4bc2ec05d1b3** •Your IP: 144.214.22.137•Performance & security by [Cloudflare](https://www.cloudflare.com/5xx-error-landing?utm_source=error_footer)

```
</div><!-- /#cf-error-details -->

```

WARNING - Caught exception trying provider \<bound method BitpayBroadcaster.broadcast\_tx of \<cert\_issuer.blockchain\_handlers.bitcoin.connectors.BitpayBroadcaster object at 0x7f22a709ab50\>\>. Trying another. Exception=

 test-insight.bitpay.com | 525: SSL handshake failed body{margin:0;padding:0}

```
<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">525</span>
          <small class="heading-ray-id">Ray ID: 547e4bc2ec05d1b3 &bull; 2019-12-20 02:48:12 UTC</small>
        </h1>
        <h2 class="cf-subheadline">SSL handshake failed</h2>
    </div><!-- /.error-overview -->
    
    <div class="cf-section cf-highlight cf-status-display">
        <div class="cf-wrapper">
            <div class="cf-columns cols-3">

```

You
### Browser
Working

Hong Kong
### Cloudflare
Working

test-insight.bitpay.com
### Host
Error

```
            </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>Cloudflare is unable to establish an SSL connection to the origin server.</p>
            </div>
          
            <div class="cf-column">
                <h2>What can I do?</h2>
                      <h5>If you're a visitor of this website:</h5>
  <p>Please try again in a few minutes.</p>

  <h5>If you're the owner of this website:</h5>
  <p><span>It appears that the SSL configuration used is not compatible with Cloudflare. This could happen for a several reasons, including no shared cipher suites.</span> <a href="https://support.cloudflare.com/hc/en-us/articles/200278659">Additional troubleshooting information here.</a></p>
            </div>
        </div>
          
    </div><!-- /.section -->

    <div class="cf-error-footer cf-wrapper">

```

Cloudflare Ray ID: **547e4bc2ec05d1b3** •Your IP: 144.214.22.137•Performance & security by [Cloudflare](https://www.cloudflare.com/5xx-error-landing?utm_source=error_footer)

```
</div><!-- /#cf-error-details -->

```

INFO - Broadcast transaction with txid d1e15dc8e7fe7312818fb7913567eff773a8179c1631d9f999c7cea8dfe88d3d  
INFO - Your Blockchain Certificates are in /home/qidonglai2/LAI Qidong/blockcerts\_test/venv/cert-issuer/output/

---

<div class="post-metadata">

**Author:** ![aronning](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@aronning](https://community.blockcerts.org/u/aronning)\
**Post date:** [December 20, 2019, 10:23pm UTC](https://community.blockcerts.org/t/error-error-broadcasting-the-transaction-through-the-bitpay-api-and-http-error-503-service-temporarily-unavailable/2232/2 "2019-12-20T22:23:55Z")

</div>

There’s multiple backup API’s in case there’s issues with one or the other.

> [@LuckyLQD](#):
>
> INFO - Broadcast transaction with txid d1e15dc8e7fe7312818fb7913567eff773a8179c1631d9f999c7cea8dfe88d3d  
> INFO - Your Blockchain Certificates are in /home/qidonglai2/LAI Qidong/blockcerts\_test/venv/cert-issuer/output/

You can see that it did pass with another API and the issued certificate is located at that location on your computer.

---

<div class="post-metadata">

**Author:** ![LuckyLQD](https://avatars.discourse-cdn.com/v4/letter/l/a6a055/32.png) [@LuckyLQD](https://community.blockcerts.org/u/LuckyLQD)\
**Post date:** [December 21, 2019, 4:27am UTC](https://community.blockcerts.org/t/error-error-broadcasting-the-transaction-through-the-bitpay-api-and-http-error-503-service-temporarily-unavailable/2232/3 "2019-12-21T04:27:50Z")

</div>

Thanks for your reply. I got the certificate on my computer, but when I tried to verify it, I failed. According to the transaction d1e15dc8e7fe7312818fb7913567eff773a8179c1631d9f999c7cea8dfe88d3d, I sent the information of certification to myself instead of the address of recipient. I guess it is the reason for failure. I do not know how to do to fix this bug. Could you help me? I could show more information if you need.
