Questions tagged [horizon]

For questions regarding the Horizon API.

Filter by
Sorted by
Tagged with
-1
votes
1answer
5 views

What type of UNIX to install horizon server?

It should use Sun Solaris, GNU/Linux or MacOS X? Thanks
1
vote
1answer
35 views

How to connect to a stellar stand alone node?

My goal was to set up a small test network with two stellar nodes. Therefor, I forked the quickstart repo and made some small adjustments. I changed the public key and the network passphrase. On my ...
1
vote
0answers
29 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
1answer
33 views

How to find a duplicated transaction or operation when receiving op_already_exists

Sometimes our back end is able to create a transaction in the stellar network, but for some instability or bug or unknown problem, discards the transaction hash. When retrying the transaction after ...
1
vote
1answer
16 views

Duplicate operation in transaction?

I'm having trouble understanding the operations of this transaction: https://horizon.stellar.org/transactions/f06c6a478b0caac5c8b33512100f70c1aa192bee3af7084f2b693df7f75689bd/operations It seems the ...
0
votes
0answers
27 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....
5
votes
1answer
35 views

What state is a transaction in after being succesfully posted?

Related to how to trace the state of a transaction after submit? After a transaction has been sent to the Post Transaction endpoint and it returns a successful response: A successful response (i.e....
0
votes
1answer
38 views

Path payment is taking only 4 hops BUT stellar is mentioning upto 6 hops

Let assets are A,B,C,D,E,F I have created few orders like A->B B->C C->D D->E E->F Now, i have created an order where user1 is selling "F" to a destination user2 and the ...
0
votes
0answers
21 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
13 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 ...
1
vote
0answers
17 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 ...
0
votes
0answers
22 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....
1
vote
1answer
21 views

Given a public key, is there a way to find the assets issued by the account?

I'd like to know if there is a way to query all the assets of which the account is the issuer.
0
votes
2answers
14 views

Horizon returns a 404 error upon querying just-submitted transactions

Upon the successful confirmation of a transaction submission, my app immediately queries the link to the transaction in the response. But I often receive a 404 error from Horizon. Sometimes I get a ...
0
votes
1answer
21 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
1answer
21 views

How does one use a certain version of Horizon when requesting?

I would like to use the 0.23 version of Horizon in this particular query below. How does one do that? var server = new StellarSdk.Server("https://horizon.stellar.org"); var sourceAsset = new ...
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 ...
1
vote
1answer
44 views

strictReceivePaths not the same as strictSendPaths when reversed

I would assume that the strictReceivePaths would be the same as strictSendPaths when reversed. For example, query these: strictReceivePaths: https://horizon.stellar.org/paths/strict-receive?...
1
vote
1answer
53 views

`pathPaymentStrictSend` transaction produces error `op_under_dest_min` howmuchever the `destMin`

Recreate this transaction on the Stellar laboratory (view XDR to see parameters): AAAAAJ2XxPOBZhImQhYvufkgoiaUvlcAA3oYpZpxw4uO/...
1
vote
1answer
25 views

Viewing trustlines for authorization required assets from an asset issuer perspective

From an asset holder perspective seeing which trustlines are approved or unapproved for authorization required assets is straightforward - we can see this with the is_authorized boolean on the account ...
1
vote
1answer
18 views

How is operation ID calculated?

I am trying to understand how the integer operation ID returned by horizon REST API is calculated. I found this answer which mentions the inputs of the calculation but does not show how to perform ...
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
10 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
1answer
56 views

Connection refused error in Horizon

Launching Horizon with stellar/quickstart docker image: horizon db init --db-url postgres://stellar:123456789@127.0.0.1:5432/core --stellar-core-db-url postgres://stellar:123456789@127.0.0.1:5432/...
0
votes
0answers
15 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 ...
1
vote
2answers
18 views

How do I return more than 200 entities at a time from Horizon?

I am running my own stellar node and horizon instance. When I try to get over 200 entities at once I get the error curl -X GET "http://localhost:8000/transactions?cursor=&limit=201" { "type": "...
1
vote
1answer
36 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 ...
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
25 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

Getting up and running with a Stellar-Core and Horizon with a Database

I am new to the Stellar world and wanted to set up a node (Stellar Core, Horizon and a Database) for the first time to run as an anchor. However, I couldn't figure it out from the documentation how to ...
0
votes
1answer
26 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
9 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.
2
votes
2answers
51 views

Getting all offers for a particular Asset (pair)

For a while now I'm trying to figure out how to get all offers for a particular Asset (or pair). As an example, StellarExpert lists all offers of MOBI on the following page: https://stellar.expert/...
0
votes
1answer
65 views

Run core with catchup complete

I have a new stellar core instance with CATCHUP COMPLETE true and one stellar horizon instance with INGEST true. I'm totally new with stellar. I've started the core node and it's catching up the data....
0
votes
1answer
56 views

How to provide password when running horizon db migrate up command inside docker container?

I have issues with horizon, when inside the docker container I run horizon db clear and I get the output There are 18 migrations to apply in the "up" direction. ... 2019/06/20 10:44:26 A database ...
2
votes
1answer
45 views

Why failed transactions are not shown in Horizon in any way?

Anything I can get of the Horizon about the failed transactions is their count in a ledger. No other info is shown about them. Currently, no one can calculate lumen balance using horizon only because ...
1
vote
0answers
25 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 ...
3
votes
1answer
68 views

Why horizon cursors are so obfuscated?

I wonder if there is any system in values for stellar horizon cursors. I tried to ask testnet horizon for ledgers, starting from https://horizon-testnet.stellar.org/ledgers/ and then pressing next ...
1
vote
1answer
21 views

the history-stale-threshold flag - what exactly happens when history is stale?

A recent(ish?) addition to the horizon configuration is the viper.BindEnv("history-stale-threshold", "HISTORY_STALE_THRESHOLD") the doc says: "the maximum number of ledgers the history db is ...
0
votes
1answer
117 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 ...
1
vote
0answers
55 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-...
2
votes
1answer
67 views

How to relaunch a Testnet node to use the new Testnet after a reset while using the Docker quickstart container?

What are the recommended steps that should be taken to get a stellar testnet node using the quickstart docker reset on the new testnet? Currently it is still using the old network by the looks of it,...
0
votes
1answer
115 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 ...
2
votes
1answer
46 views

Does AUTO_MAINTENANCE setting clear Horizon DB?

I want to have in my node information only about the last 300000 ledgers. Should I always manually clean the DB or can I automate it? I'm especially interested in the autocleaning of the Horizon DB.
0
votes
0answers
129 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: ...
2
votes
1answer
50 views

How to create an account on a private network?

I have already started a stellar private network. I need to generate an account on a stellar private network. I have a secret key and private key also. But I have a question about what should I enter ...
1
vote
2answers
77 views

Exception while send Transaction using Java stellar SDK “TimeBounds has to be set or you must call setTimeout(TIMEOUT_INFINITE)”

I am getting the following Exception while performing send transaction using the Java Stellar SDK. This is my send transaction code: import org.stellar.sdk.AssetTypeNative; import org.stellar.sdk....
0
votes
1answer
38 views

Connecting private set of quorum of 3 nodes on stellar test network

I have a 3 nodes running on a private network paraphrase and all of them are validators. Able to send the transactions over horizon. Now, can I connect my quorum of 3 validators with test-network ? ...
0
votes
1answer
34 views

Do I Need to fund Stellar with Lumens for custom token based wallets too?

I want to create custom token for my system but it seems that I can not create a wallet unless I fund it with 1 XLM? Is it true? If not why my wallet is not being created? Thanks