Git Product home page Git Product logo

Comments (6)

bonustrack avatar bonustrack commented on August 23, 2024

Can you try with http:// prefix?
You could keep the code unchanged and use this method:
steem.api.setWebSocket('http://127.0.0.1:8090');

from steem-js.

dacom-dark-sun avatar dacom-dark-sun commented on August 23, 2024

No, this is not work, cause library still trying connection to wss://steemit.com/wspa.
And second problem. When i try convert private key to pub key, i have preffix like: "STM", but we use "GLS". So, i have changed it, but broadcast still going throw Steemit.

So, better i ask team about official node, which works throw websocket? Or you have one more solution?

from steem-js.

bonustrack avatar bonustrack commented on August 23, 2024

Yes you could try with this WS wss://ws.golos.io see if it solve the issue.

from steem-js.

dacom-dark-sun avatar dacom-dark-sun commented on August 23, 2024

I have changed node to url: "wss://ws.golos.io" and connection establishment successful. I change prefix STM to GLS everywhere. But when i broadcast vote, i see:
Error: 3030008 tx_missing_posting_auth: missing required posting authority

And reason - i see different keys in 'ops' segment with real authority keys

Error: 3030008 tx_missing_posting_auth: missing required posting authority
Missing Posting Authority dark.sun
{"id":"dark.sun","posting":{"weight_threshold":1,"account_auths":[],"key_auths":[["GLS77wx6Remi2hiG8zVaDAfJJGcWWkXCQjooYeqUXNqMcy3ceEWL5",1]]},"active":{"weight_threshold":1,"account_auths":[],"key_auths":[["GLS6DpEiFL9wUCcU5i1px32bg3JRfuj6b2cAQJDe6LXEAEau3h4Hu",1]]},"owner":{"weight_threshold":1,"account_auths":[],"key_auths":[["GLS5SuW1agnFV86Fb3zKMrax4sRXUq6gdUhZt8Wqwv7PdeVEhE4dh",1]]}} th_a transaction.cpp:132 verify_authority

{"ops":[["vote",{"voter":"dark.sun","author":"lesnik","permlink":"sobranie-khudozhestvennyi-rasskaz","weight":10000}]],"sigs":["GLS7X2yxbRbna7ExBS9kSq7frmYCyVPtNp1Lf2hf51xaWT44t6yD3"]} th_a transaction.cpp:174 verify_authority

{"*this":{"ref_block_num":49728,"ref_block_prefix":1673285747,"expiration":"2016-12-13T21:20:32","operations":[["vote",{"voter":"dark.sun","author":"lesnik","permlink":"sobranie-khudozhestvennyi-rasskaz"...8432226f44424bcbb5f02f586dafd"]}} th_a transaction.cpp:287 verify_authority

{"trx":{"ref_block_num":49728,"ref_block_prefix":1673285747,"expiration":"2016-12-13T21:20:32","operations":[["vote",{"voter":"dark.sun","author":"lesnik","permlink":"sobranie-khudozhestvennyi-rasskaz","weight":10000}]],"extensions":[],"signatures":["…

Any suggestions? When i command
getKeyReferences - in answer i have name my account

from steem-js.

dacom-dark-sun avatar dacom-dark-sun commented on August 23, 2024

So, what can i do?
Always, when i sign vote transaction, i have different key in error message:

{"ops":[["vote",{"voter":"dark.sun","author":"natka2","permlink":"zharkii-ogon","weight":10000}]],"sigs":["GLS7bSTdfLrNVLYe7GE1JLrXXqBPnk4edvg3RLwiGcHzhQuJ5bHBU"]}
th_a transaction.cpp:174 verify_authority

{"ops":[["vote",{"voter":"dark.sun","author":"natka2","permlink":"zharkii-ogon","weight":10000}]],"sigs":["GLS6euRymsEN1X96d4r7c2eLd76tLw3ENTWyucBTymhFUcKFtVyGS"]}
th_a transaction.cpp:174 verify_authority

How i can fix it?

from steem-js.

dacom-dark-sun avatar dacom-dark-sun commented on August 23, 2024

After change chain-id all works fine. Thanks for attention. %)

from steem-js.

Related Issues (20)

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.