You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was using heroku for messenger bot, now I want to move it to my own server. Because facebook wants webhook to be served from https, I am trying to setup ssl. But I don't have access to express server used in bootbot.
I tried to setup my own express server on port 3000 and bootbot server on 3100, then proxy all requests to port 3100 by using express-http-proxy module.
But I have ended up with this error: Couldn't validate the request signature.
I have checked other issues for this error(#14, #48, #84, #66, #67), mainly they say that problem originates from invalid APP_SECRET, but that's not the case with me.
So how can I setup ssl?
The text was updated successfully, but these errors were encountered:
I ended up using the second solution. I have created https server on port 3000, submitted that port as webhook, then redirected all requests to bootbot server on port 3100
You could put it behind nginx. Then have nginx handle the https. Or maybe something lighter weight like caddy which is https only (backed by letsencrypt):
Hi, I was using heroku for messenger bot, now I want to move it to my own server. Because facebook wants webhook to be served from https, I am trying to setup ssl. But I don't have access to express server used in bootbot.
I tried to setup my own express server on port 3000 and bootbot server on 3100, then proxy all requests to port 3100 by using
express-http-proxy
module.But I have ended up with this error:
Couldn't validate the request signature
.I have checked other issues for this error(#14, #48, #84, #66, #67), mainly they say that problem originates from invalid APP_SECRET, but that's not the case with me.
So how can I setup ssl?
The text was updated successfully, but these errors were encountered: