Closed gokumar closed 2 years ago
UPDATE
Error: Could not fetch languages: connect EHOSTUNREACH 104.21.47.251:443
at /snapshot/botpress/packages/bp/dist/admin/management/languages/languages-router.js
03/25/2022 08:53:42.981 HTTP [Languages] [Error, Could not fetch languages: connect EHOSTUNREACH 104.21.47.251:443]
STACK TRACE
Error: Could not fetch languages: connect EHOSTUNREACH 104.21.47.251:443
at /snapshot/botpress/packages/bp/dist/admin/management/languages/languages-router.js
I see these errors in container logs when I go to "http://localhost:3000/admin/server/languages"
Are you hosting your own language server ? and is it accessible ?
If not, are you running botpress behind a strict firewall ?
More specifically, 104.21.47.251:443 seems to be unreachable from your botpress server.
Thanks @EFF for the response. Below are my answers to your questions;
Are you hosting your own language server
No. I am using the default language server, infact I am new to botpress, this is the first time I have installed it on my laptop to learn
If not, are you running botpress behind a strict firewall ?
I have deployed botpress on my docker engine on my laptop, there are no strict firewall configuration (to my knowledge). Its a Ubuntu machine. I can't ping this IP as well. What could be wrong?
PING lang-01.botpress.io (104.21.47.251) 56(84) bytes of data.
From 121.240.243.210.STATIC-Mumbai.vsnl.net.in (121.240.243.210) icmp_seq=1 Time to live exceeded
From 121.240.243.210.STATIC-Mumbai.vsnl.net.in (121.240.243.210) icmp_seq=2 Time to live exceeded
From 121.240.243.210.STATIC-Mumbai.vsnl.net.in (121.240.243.210) icmp_seq=3 Time to live exceeded
From 121.240.243.210.STATIC-Mumbai.vsnl.net.in (121.240.243.210) icmp_seq=4 Time to live exceeded
Any help to resolve this is appreciated.
@EFF your questions led me to resolve the issue. I switched the container to run in a different network instead of running on 'bridge'. Now, my bots are getting trained. Thanks for your help.
I have installed docker version of 12.26.12 botpress.
But it gives error saying "Cannot train Chatbot".
In the botpress logs, here is what I see;