Giter Site home page Giter Site logo

docker-stellar-integration-test-network's People

Contributors

zulucrypto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-stellar-integration-test-network's Issues

How to use from the sdk?

First: Thanks for this Docker image!! You have opened the door for me to explore Stellar on my Mac!

Question: I am using the Javascript SDK, and attempting to connect to the instance on my machine.

EDIT: I solved my problem.I leave this information here for anyone who may be trying this Docker image and using the Javascript SDK. See my third post below for how I resolved.

I have begun this way:

sdk.Network.use(new sdk.Network('Integration Test Network ; zulucrypto'))
const server = new sdk.Server('http://localhost:8000')

The problem is that I get an error:

Error: Cannot connect to insecure horizon server

Now, this surprises me because the Horizon server is running insecure HTTP because I can access it via curl just fine:

curl  -X GET http://localhost:8000/accounts/GAPSWEVEZVAOTW6AJM26NIVBITCKXNOMGBZAOPFTFDTJGKYCIIPVI4RJ
{
  "_links": {
    "self": {
      "href": "http://localhost:8000/accounts/GAPSWEVEZVAOTW6AJM26NIVBITCKXNOMGBZAOPFTFDTJGKYCIIPVI4RJ"
    },

Are you able to get the Java SDK to make connections to an insecure Horizon server?

Fixtures fails on startup sometimes

Sometimes fixtures completes and some times it fails:

INFO exited: fixtures (exit status 22; not expected)

I can't tell why this is happening but restarting a few times I can usually get it to complete.

Horizon db / history not saving the 1st ledger (standalone network)

I had a lot of difficulties to set up my private network but it works now. However i spent lot of time trying to understand why the Horizon API can't find the accounts/transactions created in the "genesis block".
The answer was that the history started to ingest only at the 2nd ledger, so I had to use the command "horizon db rebase " to be able to have all the transactions/operations and accounts in the horizon database. Do not use the option "--newdb" before to do "horizon db rebase" or it will delete the genesis block from databases.

components update

you might want to update the component versions:

  • up to date Horizon is 0.11.1
  • up to date Bridge is 0.0.30

Currently some Horizon endpoints (/trades and /assets) are not working.

Change version Postgres from 9.4 to 9.6

Start script used version 9.4. Now same apt package changed to version 9.6.

Path PGING: /usr/lib/postgresql/9.4/bin compares /usr/lib/postgresql/9.6/bin

Can you update a part of Postgres script in master branch from 9.4 to 9.6?

STELLAR/BRIDGE version update HORIZON download location changed

Hello,
New version as following
ENV STELLAR_CORE_VERSION 9.2.0-551-7561c1d5
ENV HORIZON_VERSION 0.13.0
ENV BRIDGE_VERSION 0.0.31

The HORIZON download location was changed, so new downloaded path is:
wget -O horizon.tar.gz https://github.com/stellar/go/releases/download/horizon-v${HORIZON_VERSION}/horizon-v${HORIZON_VERSION}-linux-amd64.tar.gz
P.S is some one interested , i update existing running docker as following:
export STELLAR_CORE_VERSION=9.2.0-551-7561c1d5
Run update:

wget -O stellar-core.deb https://s3.amazonaws.com/stellar.org/releases/stellar-core/stellar-core-${STELLAR_CORE_VERSION}_amd64.deb \
&& dpkg -i stellar-core.deb \
&& rm stellar-core.deb \

export HORIZON_VERSION=0.13.0
Run update:

wget -O horizon.tar.gz https://github.com/stellar/go/releases/download/horizon-v${HORIZON_VERSION}/horizon-v${HORIZON_VERSION}-linux-amd64.tar.gz \
    && tar -zxvf horizon.tar.gz \
    && mv /horizon-v${HORIZON_VERSION}-linux-amd64/horizon /usr/local/bin \
    && chmod +x /usr/local/bin/horizon \
    && rm -rf horizon.tar.gz /horizon-v${HORIZON_VERSION}-linux-amd64 \

export BRIDGE_VERSION=0.0.31
Run update:

curl -L https://github.com/stellar/bridge-server/releases/download/v${BRIDGE_VERSION}/bridge-v${BRIDGE_VERSION}-linux-amd64.tar.gz \
        | tar -xz -C /opt/stellar/bridge --strip-components=1 \

Friendbot

Hi Team,

I am getting below error for this command in private integration network:-
Command:-
curl http://localhost:8004?addr=GA56F3HTRQ5JALYN4C36J4LPV5LH2LXCGZOBB734LVJUVKSWMR7KUXVH

Error:-
time="2018-12-06T06:58:05.472Z" level=info msg="Finished request" bytes=325 duration=0.000893881 forwarded_ip= host="localhost:8000" ip=127.0.0.1 ip_port="127.0.0.1:40532" method=GET path="/accounts/GBH2M7PZBC6GK4Q4AQLMK3MZ4WKUJ73NYHBCW5VCYOSZTAJFB2QLRCKZ" pid=144 req="11e6173b4662/h7gxQ4pOlO-000016" route="/accounts/{account_id}/" status=404 streaming=false

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.