cancel
Showing results for 
Search instead for 
Did you mean: 

Setup Custom Node for iota in B-L4S5I-IOT01A

DKosy.1
Associate II

Hello

I added a custom node and changed the default from the original code

(https://api.lb-0.testnet.chrysalis2.com/ ) ,but i noticed i get some error messages from the functions of the main menu .I would like to know if that has anything to do with the usertrust_thetangle.pem file , and if there is any specific configuration in the code for adding a custom node .

Thanks

5 REPLIES 5
Andrea Palmieri
ST Employee

Hello,

could you please provide the log messages you get on the serial terminal?

Thanks and regards

Andrea

DKosy.1
Associate II

When i try to send the sensor data to the tangle

{"Device":"B-L4S5I-IOT01A","time":1621853146,"temp":34.35,"humi":31.67}

Request:

GET /api/v1/tips HTTP/1.1

Host: iotabee.ddns.net

Content-Type: application/json

Request: POST /api/v1/messages HTTP/1.1

Host: iotabee.ddns.net

Content-Length: 533

Content-Type: application/json

Err response: access forbidden

message ID: 8z

Andrea Palmieri
ST Employee

Hello,

In my understanding, there is an issue with the message REST API on the Bee node side. In fact, if you try to use the "Client get info" test, it succeeds.

Regards

Andrea

DKosy.1
Associate II

Hello

Could you tell me what is the ACCOUNT_PATH which is defined in the test_config.h as #define ACCOUNT_PATH "m/44'/4218'/0'/0'" , and if that depends at any way with the TEST_NODE_ENDPOINT ?

Thanks

Dimitris

Andrea Palmieri
ST Employee

Hello

the ACCOUNT_PATH represents a base for the Address and Key generation as defined by BIP32 and BIP44 standards. This is included in the new IOTA 1.5 specification. The ACCOUNT_PATH is not related to the Node your Client interacts with.

Please, refer to the official Chrysalis documentation for further details on this topic.

Regards

Andrea