Questions tagged [horizon]

For questions regarding the Horizon API.

54 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
2answers
127 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
246 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
0answers
13 views

What are the Horizon 2.0 PostgreSQL settings required to vacuum the DB regularly

Need guidelines on how to best manage the size of the horizon captive-core postrgesql DB. We're currently at 1TB of disk for horizon DB only ingesting ledgers from June 2020.
3
votes
2answers
663 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
46 views

Horizon 2.0 Captive Core Reingestion Issues

Ive successfully installed and started horizon 2.0 but I am having problems reingesting ledgers. Id like to reingest ledgers from [30000000, present]. Ive attempted to do so following the instruction ...
2
votes
0answers
33 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 ...
2
votes
0answers
36 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
65 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
84 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
181 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
1answer
20 views

Horizon captive core disk requirements and practice

Having installed and ran horizon with captive-core, it seems that memory consumption is stable (~ 4.5 G). The disk space is though increasing while transactions keep coming. Around 10G/day. From my ...
1
vote
1answer
28 views

List of Anchors for Sep31 and SEP24?

Is there a list of anchors available that I can access to see if I'm interested in using any of them? It is proving rather tedious to find anchors through a google search. I am already making API ...
1
vote
0answers
35 views

Docker quickstart - Error ingesting history archive: ledger does not exists

I'm trying to run the quickstart docker tutorial but I am getting a 503 still ingesting when access the accounts/ACCOUNT_ID on my localhost:8000 (horizon). Looking over my horizon logs I keep ...
1
vote
0answers
65 views

What is the correct way of preventing transaction duplication?

We faced the problem when horizonclient returned errors while sending an envelope but transaction has been created. Please bash my thoughts and tell me where I'm wrong and how you do that. The process ...
1
vote
0answers
38 views

stellar-horizon db size

maybe someone could help me. I have a node with the config below: CATCHUP_RECENT=362880 # approximately 3 weeks (5sec per ledger closing) - stellar HISTORY_RETENTION_COUNT=362880 # ...
1
vote
1answer
87 views

`tx_bad_auth` when submit transaction to TestNet

I submit a transaction to the TestNet by using the official horizon API (https://horizon-testnet.stellar.org/), and it returns tx_bad_auth. This is my code: Server server = new Server("...
1
vote
0answers
30 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
16 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
57 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
24 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
48 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
33 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
61 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
22 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
21 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
57 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
113 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
82 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
7 views

How to reopen transaction builder after passing transaction JSON

Can anyone help me understand how to "reopen" a transaction object to add more operations? If given a partially built transaction JSON (has 1 operation but isn't signed) - how do I get back ...
0
votes
0answers
9 views

Is there Prometheus Exporter available for Stellar Horizon? I am getting 404 error while accessing https://horizon-testnet.stellar.org/metrics

I see Prometheus Exporters are available for Stellar Core and Postgres. However couldn't find one for Stellar Horizon. I was reading this link https://developers.stellar.org/docs/run-api-server/...
0
votes
0answers
25 views

Stellar Private Network: Waiting for ledger to be available in stellar-core

I have launched Private Network by tutorial https://github.com/stellar/packages#sdf---packages and published full validators. I can't understand where my mistake and why I see ledger version = 0 ...
0
votes
1answer
34 views

How to set up a anchor on stellar?

As I working on stellar Blockchain, can anyone guide me on how to create an anchor on stellar? and How it will give a withdraw amount in fiat currency & which protocol is it used to convert ...
0
votes
0answers
2 views

Account' object has no attribute 'sign_decorated

I am trying to pay 2 tokens and I am getting this error: sig = signer.sign_decorated(tx_hash) AttributeError: 'Account' object has no attribute 'sign_decorated' My code given below: def ...
0
votes
1answer
32 views

Performance problem with ingesting Horizon

We want to setup Stellar Full Archive with Horizon Using the https://github.com/satoshipay/stellar-core-parallel-catchup we managed to synchronized Stellar Core DB and build full archive. After ...
0
votes
1answer
27 views

How to fix a stuck stellar node after picking up an incorrect block?

I run two different watcher stellar nodes and they have both gotten stuck after picking up an invalid / incorrect block (i.e. the block hash of my node's top block does not match the block of the same ...
0
votes
0answers
17 views

Balance of Stellar at some point in time

I'd like to know about balance of Stellar address at some point in time. However, it's not going very well. So, please give me some advices or comments about how to do that. Now, I'm using horizon ...
0
votes
0answers
14 views

xff.Handler() does not exist

go version go1.14.6 When installing or running horizon I receive an error: # github.com/stellar/go/services/horizon/internal/httpx github.com/stellar/go/services/horizon/internal/httpx/router.go:77:8: ...
0
votes
0answers
21 views

Full ledgers for Horizon

I'm trying to launch horizon with full history from 1 ledger. How I can do it? stellar testnet config: HTTP_PORT=11626 PUBLIC_HTTP_PORT=true LOG_FILE_PATH="" NETWORK_PASSPHRASE="Test ...
0
votes
0answers
19 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
20 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
36 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
80 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
7 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
55 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
1answer
51 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
10 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
61 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
45 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
1answer
173 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 ...