શું તમે જાણો છો બોટ કાવ્ય પણ પૂરી પાડે છે મફત હોસ્ટ લાઈવ ચેટ માટે તમારી પોતાની વેબસાઇટ અથવા મોબાઇલ એપ્લિકેશન?
Help

Using botlibre's web API

દ્વારા polarorbit પોસ્ટ Mar 27 2023, 9:31

Following the instructions at docker hub, I build the container on my local desktop. However, when I run the container, the botlibre-app-db-1 runs fine, while the botlibre-app-web-1 keeps crashing. Which of the two do I need to talk to botlibre with http requests (using curl or postman)?

 


by admin posted Mar 28 2023, 9:26
What error is occurring when it crashes? Check the Tomcat or docker log. Ensure you have enough memory.

You should be able to connect to the web docker using a web browser.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 269, today: 3, week: 8, month: 25

by polarorbit posted Mar 31 2023, 8:42

This is what I find in the logs

botlibre-app-web-1  | #
botlibre-app-web-1  | # A fatal error has been detected by the Java Runtime Environment:
botlibre-app-web-1  | #
botlibre-app-web-1  | #  SIGSEGV (0xb) at pc=0x00007efe5ec88bc7, pid=1, tid=0x00007efe5f86d700
botlibre-app-web-1  | #
botlibre-app-db-1   | LOG:  aborting any active transactions
botlibre-app-web-1  | # JRE version: Java(TM) SE Runtime Environment (8.0_131-b11) (build 1.8.0_131-b11)
botlibre-app-web-1  | # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.131-b11 mixed mode linux-amd64 compressed oops)
botlibre-app-web-1  | # Problematic frame:
botlibre-app-web-1  | # C  [libc.so.6+0x37bc7]  abort+0x297
botlibre-app-db-1   | LOG:  autovacuum launcher shutting down
botlibre-app-db-1   | LOG:  shutting down
botlibre-app-db-1   | LOG:  database system is shut down
botlibre-app-web-1  | #
botlibre-app-web-1  | # Core dump written. Default location: /usr/local/tomcat8/bin/core or core.1
botlibre-app-web-1  | #
botlibre-app-web-1  | # An error report file with more information is saved as:
botlibre-app-web-1  | # /usr/local/tomcat8/bin/hs_err_pid1.log
botlibre-app-web-1  | #
botlibre-app-web-1  | # If you would like to submit a bug report, please visit:
botlibre-app-web-1  | #   http://bugreport.java.com/bugreport/crash.jsp
botlibre-app-web-1  | # The crash happened outside the Java Virtual Machine in native code.
botlibre-app-web-1  | # See problematic frame for where to report the bug.
botlibre-app-web-1  | #
botlibre-app-web-1  |  
botlibre-app-web-1  | [error occurred during error reporting , id 0xb]
botlibre-app-web-1  |  
botlibre-app-web-1  |  
botlibre-app-web-1  | [error occurred during error reporting , id 0xb]
botlibre-app-web-1  |  
botlibre-app-web-1  |  
botlibre-app-web-1  | [error occurred during error reporting , id 0xb]
botlibre-app-web-1  |  
botlibre-app-web-1  |  
botlibre-app-web-1  | [error occurred during error reporting , id 0xb]


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 277, today: 3, week: 6, month: 24

by admin posted Mar 31 2023, 9:34
Seems to be a JVM issue.
When does this error occur, does it always occur and at the same point?
What OS and Docker version are you using?

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 273, today: 4, week: 7, month: 24

by polarorbit posted Mar 31 2023, 9:38

It always occurs immediately when I start the container using docker-compose start.

$ uname -a
Linux archbox 6.2.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 22 Mar 2023 22:52:35 +0000 x86_64 GNU/Linux 

$ docker -v
Docker version 23.0.1, build a5ee5b1dfc


Updated: Mar 31 2023, 9:39
Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 269, today: 5, week: 10, month: 27

by admin posted Apr 5 2023, 9:31
I would recommend trying it on another computer, maybe a Windows or Mac.

If you have a Bot Libre for Business account, you can also contact [email protected]

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 256, today: 3, week: 6, month: 27

by polarorbit posted Apr 5 2023, 9:41

You know that docker containerization is actually a Linux feature right? So you advice me to use Windows or a Mac to use Docker desktop to in turn emulate Linux containerization, instead of using Linux directly.

Can you explain in detail how this would help?


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 254, today: 3, week: 9, month: 24

by admin posted Apr 10 2023, 13:00
The crash seems to be OS related. So my suggestion is to try another computer/VM or OS to determine if the issue is specific to your machine.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 290, today: 6, week: 11, month: 34

ને: 46860045
પોસ્ટ: Mar 27 2023, 9:31
જવાબો: 7
જોવાઈ: 277, આજે: 3, સપ્તાહ: 12, મહિને: 29
0 0 0.0/5