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

Run a robust faucet and document the usage #16

Closed
2 tasks done
schemar opened this issue Apr 23, 2019 · 17 comments
Closed
2 tasks done

Run a robust faucet and document the usage #16

schemar opened this issue Apr 23, 2019 · 17 comments
Assignees
Milestone

Comments

@schemar
Copy link
Contributor

schemar commented Apr 23, 2019

This is a follow-up ticket to #12.

#12 already created all necessary keys, funded them, and started the faucet to run with the new chains
(@gulshanvasnani please confirm).

Tasks in this issue:

  • Run the faucet in a way where it automatically restarts whenever the process crashes.
  • Document privately for OST how to use the faucet (especially address and port).
@schemar
Copy link
Contributor Author

schemar commented Apr 26, 2019

@gulshanvasnani can you please confirm the assumptions above?

@schemar
Copy link
Contributor Author

schemar commented Apr 26, 2019

First, I had to fix the linting setup. See #17.

@schemar
Copy link
Contributor Author

schemar commented Apr 26, 2019

I am working on figuring out the right ports. Comparing with the nodes machine.

@schemar
Copy link
Contributor Author

schemar commented Apr 26, 2019

@benjaminbollen your nodes server does not have enough memory to run nodes for four chains (3, 1406, 1407, 1414). How to proceed?

@schemar
Copy link
Contributor Author

schemar commented Apr 29, 2019

Do you want to increase the node or should we run fewer chains on this one?

@benjaminbollen
Copy link
Contributor

let's only run testnet nodes, so excluding 1414 already

@schemar
Copy link
Contributor Author

schemar commented Apr 29, 2019

In order for the faucet to automatically restart, there must be an option to run it non-interactively. It requires hidden input of multiple passwords (one per faucet), which must become non-interactive.

@schemar schemar added this to the Sprint 0 milestone May 2, 2019
@schemar
Copy link
Contributor Author

schemar commented May 8, 2019

The faucet is documented here: https://hackmd.io/WIzt8cufQXG2JsMEmY6lYA

@schemar
Copy link
Contributor Author

schemar commented May 8, 2019

If you pick this up for review, please check the documentation link: https://hackmd.io/WIzt8cufQXG2JsMEmY6lYA
You may also check how the faucet is running on the server in tmux. I created a script endless.sh which restarts the faucet whenever it crashes.

@gulshanvasnani
Copy link
Collaborator

I liked the endless.sh script to restart the faucet.
I tried the faucet for all the 3 chainId's. The error is error: could not fill address. Could you also check whether wiring for port forwarding is correct.

@0xsarvesh
Copy link
Collaborator

Documentation LGTM ✅
I couldn't review other things due to lack of access to the server.

@schemar
Copy link
Contributor Author

schemar commented May 10, 2019

I liked the endless.sh script to restart the faucet.
I tried the faucet for all the 3 chainId's. The error is error: could not fill address. Could you also check whether wiring for port forwarding is correct.

That's weird, it worked for me 🤔 I will check the server to see the error log.

@schemar
Copy link
Contributor Author

schemar commented May 10, 2019

Someone messed with the SSH connection on the faucet server inside tmux. I restarted it. Can you please try again @gulshanvasnani ?

@schemar
Copy link
Contributor Author

schemar commented May 10, 2019

Also added a warning to https://hackmd.io/WIzt8cufQXG2JsMEmY6lYA

@deepesh-kn
Copy link
Collaborator

If you pick this up for review, please check the documentation link: https://hackmd.io/WIzt8cufQXG2JsMEmY6lYA

Documentation looks good 👍

You may also check how the faucet is running on the server in tmux. I created a script endless.sh which restarts the faucet whenever it crashes.

I was not able to find endless.sh. Can you point it to me?

@schemar
Copy link
Contributor Author

schemar commented May 14, 2019

ssh into faucet, then:

cd ./faucet
cat endless.sh

@pgev
Copy link
Collaborator

pgev commented May 15, 2019

Robust implementation (+ detailed documentation) for the faucet is in place (the corresponding PR #17 is merged).

Closing this ticket: new tickets should be created for next improvements and bug fixes for the faucet.

@pgev pgev closed this as completed May 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants