Openbravo Issue Tracking System - POS2
View Issue Details
0049588POS2Restaurantspublic2022-06-16 15:032022-06-18 00:47
timothee_catteeuw 
mtaal 
normalmajoralways
resolvedfixed 
5
 
 
No
0049588: JIRA 3082 - Stock server issues
Client raised that when the stockserver is not reachable, the till try every 1 sec to access to it. This intervall is too short, it has to be adapted.

In addition, when the stock server is offline for a while, a lot of message are logged in Chrome.

This needs to be changed, including making the ping timeout interval configurable.


Launch you stock server
open WebPos
stop you stock server
on you till, the web browser log this error every 1 sec :
WebSocket connection to 'ws://127.0.0.1:8090/wslib/stockserver' [^] failed:
y @ StockServerHandler.js:103
(anonymous) @ StockServerHandler.js:209
1) Add a preference allowing defining the interval between each call in order to increase the timeout value
No tags attached.
Issue History
2022-06-16 15:03timothee_catteeuwNew Issue
2022-06-16 15:03timothee_catteeuwAssigned To => Retail
2022-06-16 15:03timothee_catteeuwTriggers an Emergency Pack => No
2022-06-16 15:03timothee_catteeuwDescription Updatedbug_revision_view_page.php?rev_id=24301#r24301
2022-06-18 00:43mtaalAssigned ToRetail => mtaal
2022-06-18 00:46mtaalStatusnew => scheduled
2022-06-18 00:47mtaalNote Added: 0138533
2022-06-18 00:47mtaalStatusscheduled => resolved
2022-06-18 00:47mtaalResolutionopen => fixed

Notes
(0138533)
mtaal   
2022-06-18 00:47   
https://gitlab.com/obcustomers/AGAP/org.openbravo.stockserver/-/merge_requests/23 [^]