This bot can be used to test if connections can be established with the atoms you are creating and if messages can be sent via those connections. For each atom created by you, the Bot will generate a connection request and a random socket hint message. Additionally, some actions can be triggered by sending text messages on those connections. Check supported actions for more information.
The Debug Bot is a Spring Boot Application.
cd won-debugbot
export WON_NODE_URI="https://hackathonnode.matchat.org/won"
mvn clean package
java -jar target/bot.jar
won.bot.skeleton.EchoBotAppWON_NODE_URI pointing to your node uri (e.g. https://hackathonnode.matchat.org/won without quotes)to your run configuration.
If you get a message indicating your keysize is restricted on startup (JCE unlimited strength encryption policy is not enabled, WoN applications will not work. Please consult the setup guide.), refer to Enabling Unlimited Strength Jurisdiction Policy to increase the allowed key size.
docker command to run or build idk yadayadayadadocker pull blablablaNow create an debug-atom to see the bot in action. to create a debug atom you have to click "Turn on Debugmode" in the Footer
EXTRACTED FROM won-bot README.md Changes pending
Make sure this location contains the relevant property files, and you have specified the values of the properties relevant for the system being tested, i.e.:
NOTE: Use a separate keystore (and key pair) for your bot, especially if you are running another owner application locally - this will result in the node not delivering messages correctly because the queues used for delivery are defined based on certificates. If multiple applications from the same source share a certificate, there will be errors.
NOTE: For the same reason as above, do not run several bot applications at the same time, - stop one before running another or separate their configurations.
NOTE: Keystore and truststore paths have to be specified, but the files themselves do not have to exist initially, they will be created automatically. If you registered to a node using a different certificate before, the keystore and truststore need to be deleted to be able to register correctly again.
Content type
Image
Digest
Size
309.2 MB
Last updated
over 6 years ago
docker pull webofneeds/won-debugbot