Start application with settings
server listening on ngrok port 5000
Send message
Observed
my stack trace from cmd :
port 127.0.0.1:5000...","v":1}
TypeError: Data must be a string or a buffer
at Hmac.update (crypto.js:99:16)
at MessageValidator._calculateHmacFromMessage (D:\Testing\newvibertest\node_modules\@broid\viber\node_modules\viber-bot\lib\message\message-validator.js:17:54)
at MessageValidator.validateMessage (D:\Testing\newvibertest\node_modules\@broid\viber\node_modules\viber-bot\lib\message\message-validator.js:11:30)
at _app.use (D:\Testing\newvibertest\node_modules\@broid\viber\node_modules\viber-bot\lib\middleware.js:61:32)
at Layer.handle [as handle_request] (D:\Testing\newvibertest\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (D:\Testing\newvibertest\node_modules\express\lib\router\index.js:317:13)
at D:\Testing\newvibertest\node_modules\express\lib\router\index.js:284:7
at Function.process_params (D:\Testing\newvibertest\node_modules\express\lib\router\index.js:335:12)
at next (D:\Testing\newvibertest\node_modules\express\lib\router\index.js:275:10)
at textParser (D:\Testing\newvibertest\node_modules\body-parser\lib\types\text.js:60:7)
at Layer.handle [as handle_request] (D:\Testing\newvibertest\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (D:\Testing\newvibertest\node_modules\express\lib\router\index.js:317:13)
at D:\Testing\newvibertest\node_modules\express\lib\router\index.js:284:7
at Function.process_params (D:\Testing\newvibertest\node_modules\express\lib\router\index.js:335:12)
at next (D:\Testing\newvibertest\node_modules\express\lib\router\index.js:275:10)
at expressInit (D:\Testing\newvibertest\node_modules\express\lib\middleware\init.js:40:5)
{"pid":10832,"hostname":"Lord-Acedia","name":"adapter","level":50,"time":1530509685274,"status":1,"status_message":"Result[HttpRequest[POST / HTTP/1.1]@315256a8 > HttpResponse[HTTP/1.1 500 Internal Server Error]@60f707ff] null","v":1}
Something went wrong: {
"status": 1,
"status_message": "Result[HttpRequest[POST / HTTP/1.1]@315256a8 > HttpResponse[HTTP/1.1 500 Internal Server Error]@60f707ff] null"
}
Expected
to connect but it doesnt due to type error during connecting gives internal server error 500
Overview
Details
Feature Overview
Feature List/Objectives
Steps to Reproduce
My code :
Observed
my stack trace from cmd :
Expected
to connect but it doesnt due to type error during connecting gives internal server error 500