Proxying Botpress with Apache

Alles, was den Apache betrifft, kann hier besprochen werden.

Proxying Botpress with Apache

Postby smalldragoon » 18. April 2020 23:06

Hi,
I have currently a chatbot ( botpress) , running on port 3005.
I tried
this :

Code: Select all
ProxyPreserveHost On

    ProxyPass / http://127.0.0.1:3005/
    ProxyPassReverse / http://127.0.0.1:3005/


So, per suggestion from another post in this forum, I tried the Websockets :

Code: Select all
 <Proxy *>
Require all granted
</Proxy>

  RewriteEngine on
  RewriteCond ${HTTP:Upgrade} websocket [NC]
  RewriteCond ${HTTP:Connection} upgrade [NC]
  RewriteRule .* "wss:/172.22.2.18:3005/$1" [P,L]
 
  ProxyPass / http://127.0.0.1:3005/
  ProxyPassReverse / http://127.0.0.1:3005/
  ProxyRequests off



The behavior I get is that
-the admin part works perfectly
-in the chat window, there is no "feedback" from the chatbot, BUT , I see in the logs that the chatbot is receiving what I'm typing and acting.
any suggestion ?
thanks
smalldragoon
 
Posts: 18
Joined: 29. May 2019 23:47
XAMPP version: 1.0
Operating System: ubuntu

Return to Apache

Who is online

Users browsing this forum: No registered users and 63 guests