Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing posting authority #192

Closed
srpatel19590 opened this issue Jul 4, 2018 · 5 comments
Closed

Missing posting authority #192

srpatel19590 opened this issue Jul 4, 2018 · 5 comments
Labels

Comments

@srpatel19590
Copy link

We set up all required modules to start steemit on private network. That includes condenser, jussi, faucet, conveyor and steemd.
We are currently testing our setup. Everything looks good except one.
When I tried to post the article in a different language (e.g. thai ) it is giving “Missing posting authority” error.

Below is the post content:
นี่เป็นโพสต์ที่สองของฉันในภาษาไทย

We noticed that when the response is received on steemd, the message body is converted to Unicode. So Steemd is returning 'Missing posting authority'

message

Bypassing jussi resolved the issue. If I configure condenser to send request directly to steemd instance then 'Missing posting authority' didn't occur. That means Jussi is converting the post/comment content to Unicode.

We are still struggling with Jussi to not to translate content. or is it a bug in Jussi?

Thanks
-Sandip

@john-g-g john-g-g self-assigned this Jul 10, 2018
@john-g-g john-g-g added the bug label Jul 10, 2018
@john-g-g
Copy link
Contributor

Hi Sandip, Sorry to hear you're having a problem. Can you post the actual text of the transaction instead of a screenshot so I can look into your issue?

@roadscape
Copy link
Contributor

@srpatel19590 still having the issue?

@srpatel19590
Copy link
Author

Sorry for the delay in my response.

@john-g-g I do not have the setup access at the moment. I believe there is a problem in configuring Jussi. Here are the steps I followed.

Steps to setup Jussi

  • git clone https://github.com/steemit/jussi.git

  • cd jussi

  • Do following updates on docker file
    * Change ENVIRONMENT to DEV
    * Add the following line
    # ENV JUSSI_TEST_UPSTREAM_URLS False

  • update DEV_config.json file as shown in the sample below
    {
    "limits": {
    "blacklist_accounts": [
    "non-steemit"
    ]
    },
    "upstreams": [
    {
    "name": "steemd",
    "translate_to_appbase": false,
    "urls": [
    [
    "steemd",
    "http://steemd_ip:8090"
    ],
    [
    "steemd.database_api.get_account_history",
    "http://steemd_ip:8090"
    ],
    [
    "steemd.database_api.get_ops_in_block",
    "http://steemd_ip:8090"
    ]
    ],
    "ttls": [
    [
    "steemd",
    3
    ],
    [
    "steemd.login_api",
    -1
    ],
    [
    "steemd.network_broadcast_api",
    -1
    ],
    [
    "steemd.follow_api",
    10
    ],
    [
    "steemd.market_history_api",
    1
    ],
    [
    "steemd.database_api",
    3
    ],
    [
    "steemd.database_api.get_block",
    -2
    ],
    [
    "steemd.database_api.get_block_header",
    -2
    ],
    [
    "steemd.database_api.get_content",
    1
    ],
    [
    "steemd.database_api.get_state",
    1
    ],
    [
    "steemd.database_api.get_state.params=['/trending']",
    30
    ],
    [
    "steemd.database_api.get_state.params=['trending']",
    30
    ],
    [
    "steemd.database_api.get_state.params=['/hot']",
    30
    ],
    [
    "steemd.database_api.get_state.params=['/welcome']",
    30
    ],
    [
    "steemd.database_api.get_state.params=['/promoted']",
    30
    ],
    [
    "steemd.database_api.get_state.params=['/created']",
    10
    ],
    [
    "steemd.database_api.get_dynamic_global_properties",
    1
    ]
    ],
    "timeouts": [
    [
    "steemd",
    5
    ],
    [
    "steemd.network_broadcast_api",
    0
    ]
    ]
    },
    {
    "name": "conveyor",
    "urls": [
    [
    "conveyor",
    "http://conveyor_ip:8050"
    ]
    ],
    "ttls": [
    [
    "conveyor",
    3
    ]
    ],
    "timeouts": [
    [
    "conveyor",
    3
    ]
    ]
    },
    {
    "name": "appbase",
    "urls": [
    [
    "appbase",
    "http://steemd_ip:8090"
    ]
    ],
    "ttls": [
    [
    "appbase",
    -2
    ],
    [
    "appbase.block_api",
    -2
    ],
    [
    "appbase.database_api",
    1
    ]
    ],
    "timeouts": [
    [
    "appbase",
    3
    ],
    [
    "appbase.chain_api.push_block",
    0
    ],
    [
    "appbase.chain_api.push_transaction",
    0
    ],
    [
    "appbase.network_broadcast_api",
    0
    ],
    [
    "appbase.condenser_api.broadcast_block",
    0
    ],
    [
    "appbase.condenser_api.broadcast_transaction",
    0
    ],
    [
    "appbase.condenser_api.broadcast_transaction_synchronous",
    0
    ]
    ]
    }
    ]
    }

  • Build docker image
    * sudo docker build -t="$USER/jussi:$(git rev-parse --abbrev-ref HEAD)" .

  • Run docker
    * sudo docker run -itp 9000:8080 "$USER/jussi:$(git rev-parse --abbrev-ref HEAD)"

It would be helpful if you can add the setup guidelines in Jussi repository.

Thank you!

@jredbeard
Copy link
Contributor

jredbeard commented Aug 8, 2018

could be related based on the above config:

jussi does not (yet) support specific ports in the config file: #195

although, I suspect that it would have to be connecting to a steemd because that error is from steemd itself and not jussi

@jredbeard
Copy link
Contributor

@srpatel19590 Is this still an issue? Can this be closed? If it was related to #195 , that has been resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants