Questions tagged [horizon]

For questions regarding the Horizon API.

47 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
2answers
106 views

Own stellar horizon is not showing data prior to own instance launch date

I run a stellar node using the docker quickstart image and due to some syncing error the underlying ec2 instance was terminated and restarted on 2018-12-28T10:45:19Z, state of core is Synced. ...
4
votes
1answer
222 views

Backfilling nodes that have ledger gaps

One more for you: What are the steps to make horizon db backfill to a specific elder ledger number? A core node may not be fully synced and may have ledger gaps.
3
votes
2answers
600 views

Horizon waiting for Stellar-core to sync

I have built stellar-core and horizon instances from source on Ubuntu 18.04 LTS. I managed to make them work for the test-net, yet now, whilst trying to configure stellar-core.cfg for the public ...
2
votes
0answers
32 views

How to set correct hostname in Horizon?

What is the correct way to set a hostname in Horizon? Hosting server is configured to horizon.stellar.domain.com but within Horizon the generated paths for all href attributes show http://horizon/......
2
votes
0answers
59 views

Is the Horizon Testnet Currently down?

Is the testnet currently functional? Is there an official status website or organisation that issues announcements related to the status of the testnet regarding downtimes, resets or outages? Thanks ...
2
votes
0answers
77 views

History buckets not found in history.stellar.org

After update to stellar-core 10.0.0rc4 I got history issue. Synchronization is stuck. Here is errors: 2018-09-14T14:08:36.090 GCUCN [default INFO] Loading last known ledger 2018-09-14T14:10:19....
2
votes
0answers
159 views

How to resolve 500 Internal Server Error on /transactions/<hash>/operations?

My node returns an error when I query the /operations endpoint in horizon. curl http://127.0.0.1:8000/transactions/73ce2618095d2c17bdaf08a6a6617cef549f974b1619f03b84eb46747e5e4eb0/operations { "...
1
vote
0answers
12 views

horizon ingest_latest_ledger doesn't update

I just run a new horizon instance. The horizon instance with Ingest=true is running this command: horizon db reingest range 1 latest && horizon serve I can see the history_latest_ledger ...
1
vote
0answers
23 views

I can not streaming trade from Horizon Server

I have setup one instance running Store core and Horizon (with ingest=true). This is Core node. One instance running Horizon server (with ingest=false). This is Horizon node. I can run streaming ...
1
vote
0answers
11 views

How to creating anchors for crypto currencies and mapping the native deposit addresses

Actually I want to create a crypto currency wallet using stellar anchors. I do not want to run a dedicated node for any crypto coin and also not want to depend on any 3rd party service that's why I ...
1
vote
0answers
43 views

Parallel ingestion with Horizon 1.0.0 is not working - second Horizon waits for the first to complete

Document https://github.com/stellar/go/blob/master/services/horizon/internal/docs/admin.md says: To reingest older ledgers (due to a version upgrade) or to ingest ledgers closed by the network before ...
1
vote
0answers
21 views

upgraded horizon version, newly added tables is not synchronising with stellar core private network

Stellar core version is 12.2.0. Recently i upgraded my horizon version from 0.17 to 0.23. while running, it showed me an error that i need to "horizon db migrate up". Post doing that it basically ...
1
vote
1answer
41 views

Too many open files from horizon

After sending few request to horizon or running horizon for sometime, getting too many open files:443 error. Then I have restarted the horizon then above error is removed.Is there any configuration I ...
1
vote
0answers
28 views

Why is the /paths endpoint on my custom Horizon deployment abnormally slow?

I was wondering if anyone has an idea what could be causing our Horizon (0.17.6) /paths endpoint to be extremely slow. A simple query takes 1m22s on our custom deployment. On public SDF Horizon the ...
1
vote
0answers
56 views

How to update the transaction fees in private network - normally it is 100 stroops

I have updated the config file by putting the below value COMMANDS=["upgrades?mode=set&upgradetime=1970-01-01T00:00:00Z&basefee=1&basereserve=1"] By using the command stellar-...
1
vote
0answers
42 views

Unable to get sequence number

I am trying to create a transaction op and I am not being able to get the sequence number. I tried on Stellar lab but it did not work. What's wrong? Below is my code: # print('Transferring fund to {}'...
1
vote
0answers
21 views

peer's txhistory table is not updating after making payment

I have successfully set up stellar-core in my private network using a different network passphrase with 3 nodes. When I run stellar-core -c 'info' output says state: Synced!. I have configured one ...
1
vote
0answers
20 views

How to properly update stellar-xdr and recreate docker image of stellar-horizon?

I want to increase the memo field from 28 bytes by changing this line in Stellar-transaction.x for my private network: MEMO_TEXT: string text<28>. I am able to pull the stellar-go repo into my ...
1
vote
0answers
52 views

postgres PANI[0000] connect failed: pq: role “root” does not exist pid=13863, postgres v 9.5 - Horizon

Getting below error when trying to connect to postgres (trying to start Horizon) PANI[0000] connect failed: pq: role "root" does not exist pid=13863 panic: (*logrus.Entry) (0xbcb320,0xc4200112c0) ...
1
vote
0answers
103 views

Horizon Error 6

I'm using the iOS SDK to attempt to submit a testnet transaction, but it fails with error 6, which I believe is BAD_AUTH, too few valid signatures/ wrong network. Here is my code: static func ...
1
vote
2answers
76 views

MEMO N/A after submitting to bridge endpoint /builder

curl -X POST \ http://localhost:8006/builder \ -H 'Content-Type: application/json' \ -d '{ "source": "GBJ6ONYK73A65BRW7SOGQYEDCN55NCYDH5WJTE7WZIZXF3RRX2GFI33T", "memo": { "text": "...
0
votes
0answers
10 views

Problem upgrading stellar-horizon

I'm trying to upgrade stellar-horizon according to the instructions here https://github.com/stellar/packages/blob/master/docs/upgrading.md However, after running "stellar-horizon-cmd db reingest&...
0
votes
0answers
16 views

Making a horizon account request with http_request?

I am trying to make a request for account data using stellar-core's boost/asio HttpClient. //https://horizon.stellar.org/accounts/GALAXYVOIDAOPZTDLHILAJQKCVVFMD4IKLXLSZV5YHO7VY74IWZILUTO std::string ...
0
votes
0answers
10 views

Stellar core Bad ledger-header history entry: claimed ledger

Stellar Core v13 stopped validating a few days ago. Unfortunately, I don't have the old logs anymore so I don't know what happened exactly. I can see there's an error in the core logs: 2020-06-08T17:...
0
votes
1answer
28 views

How to pull memo from a public key's historical transactions and save to an array?

Using Stellar's Javascript SDK Goal Output an array containing all the memos: ['324567567', 'anotherMemo', '239210923', '2349028509'] This array will be used to check against a database and ...
0
votes
1answer
20 views

stellar horizon docker install error -history-archive-urls must be set when --ingest is set

I'm trying to install stellar core and horizon via docker: and I get this error when start horizon_1 | 2020/05/26 23:50:15 --history-archive-urls must be set when --ingest is set $ docker ps ...
0
votes
0answers
3 views

Is it possible to execute a trade with amount 0?

Today I found a trade with "base_amount": "0.0000000" when browsing recent trades through Horizon API: https://horizon.stellar.org/trades?offer_id=226428548 At first I thought it could be Horizon bug ...
0
votes
0answers
12 views

“ingest_latest_ledger” and “history_latest_ledger” freezes, though “core_latest_ledger” increases

I am using "docker-stellar-core-horizon" on Ubuntu-18.04, RAM -16GB (I have also tried the entire thing on CentOS-7, please provide a solution that works for both Ubuntu and CentOS). Docker version- ...
0
votes
0answers
62 views

“still Ingesting” horizon error after upgrading stellar core to the latest version

I am running a stellar private network. Earlier my core and horizon version were too old. so, i upgraded it to the latest versions mentioned below "horizon_version": "v0.24.1", "core_version": "v12....
0
votes
0answers
35 views

Horizon history-retention-count command utility

I have got some references from this github link. Can I use --history-retention-count flag to remove older ledger from horizon db? If I set --history-retention-count=1024, will it keep last 1024 ...
0
votes
0answers
14 views

How to use stellar dashboard with private network

I want to use stellar dashboard with my private network. I have a horizon instance running and accepting requests on localhost:8000. I have tried to change horizon url in the source code of the ...
0
votes
0answers
24 views

pathPaymentStrictSend giving “op_too_few_offers” error when offers already exist even after defining path in the function

Stellar-core version is 12 and horizon version is 0.23.1, stellar-sdk version 3.3.0. i have created few offers between asset A and B, B and C, C and D and the last D and E. Now, i am using Stellar....
0
votes
1answer
26 views

Getting exception while establishing Trust Line

I am working on Stellar Python SDK after a year. When I ran my old script I got the error: TypeError: __init__() got an unexpected keyword argument 'opts' The code given below: from stellar_base....
0
votes
0answers
12 views

Horizon-Go Returns [Resource is missing] Exception

I'm using stellar-core last stable release & stellar/go last stable applications. Stellar Core : v12.2.0rc1 Horizon : https://github.com/stellar/go OS : Ubuntu 16.04 I installed stellar-core ...
0
votes
0answers
8 views

/Trades API throwing 404 Error

I am running a private stellar network and placed few offers of a pair (Ex-- XLM/USD).Before doing trade if I call /trades api of XLM/USD pair its showing 404 error. After trade data is showing. Now ...
0
votes
0answers
10 views

Regarding test errors in horizon service

It would be good anyone help me in this . None of the DB test cases are passing. It doesn't ask for system password and in the end of test case i can see authorization failed for user.
0
votes
0answers
13 views

ı can not see local horizon api account detail

ı create public key with stellar sdk with node js; StellarSdk.Networks.TESTNET; const server = new StellarSdk.Server('http://10.5.0.6:8000',{allowHttp:true}); //const server = new StellarSdk.Server('...
0
votes
0answers
18 views

Why do I have to backfill nodes each time?

I just created a new deployment of Stellar Core, Horizon-Ingest and Horizon nodes. My Core is at the top of the chain and fully synced. After confirming that it was indeed synced, I started the ...
0
votes
0answers
9 views

What is the difference between the preconfigured packages and the binaries

We have different options for installing the stellar-core and horizon specially. What is the difference and where shall a new user start to be able to configure a custom anchor?
0
votes
1answer
35 views

How to setup an anchor in Stellar network using Windows?

While there is a great deal of documentation on installing the packages, however, I couldn't follow it properly to install the stellar-core, horizon and Postgres database in windows. There is not ...
0
votes
1answer
32 views

Exchanging fiat tether on SDEX

We have fiat tether tokens that we issued, each token is backed up by an equivalent amount on our bank account, currently we are able to switch between one tether into another using our own exchange ...
0
votes
0answers
12 views

How to clean up PostgreSQL database safely?

The storage of VM which installed stellar core and horizon is full. It cannot update latest ledger anymore. How can I safely to clean PostgreSQL database? The stellar core is installed in docker.
0
votes
1answer
143 views

Friendbot request fails with 400 (Bad Request)

I am trying to create an account on the stellar Test Network. I am using ASP .Net framework. But whenever I make a request and pass in the public key, I always get this error: Response status code ...
0
votes
1answer
132 views

Transaction failure when using Stellar Go SDK

receiving the following errors related to horizon server: handshake-1 env.sh[19791]: 2019/04/25 12:03:24 handlers.go:180: [ERR] Horizon error: "Transaction Failed". Check horizon.Error.Problem for ...
0
votes
0answers
140 views

Select failed: pq: relation “signers” does not exist

I have set up private Stellar Core and Horizon with 2 nodes. I am following this tutorial. I am first creating an account and then I am executing the code below. It is showing select failed: pq: ...
0
votes
1answer
185 views

transaction is not submitting on stellar network!

load account is working fine and giving details of accounts means horizon is giving response but on transaction submitting getting error. local node setup done using docker image of stellar code ...
0
votes
1answer
96 views

Minimum account balance Changed?

The base_reserve_in_stroops says 5,000,000 (0.05 XLM) in the following URL. This is a recent ledger entry. Does this mean it only takes 0.1 XLM (2 * 0.5 XLM) to create an account now? https://horizon....