[Solved] Multi-terminal / Message Server woes?

A post was split to a new topic: Message Server Test Chat (MSTC)

That should be a good thing since 5.1.62 includes improvements to connectivity. What version were you running before?

I guess it’s time for you to show some screenshots of your configuration:

  • Messaging Server Service Tool
  • Message Server settings on Client/Server Terminal

Thanks for the message test db. I will load up and give that a test. Entity screen values get updated I guess via the database so any changes on one terminal get updated on other terminals providing I force a refresh i.e. logout and back in or select a different entity screen and then back.

Getting a screen shot off the Server is logistically challenging at the moment as its in another building and does not have a screen and keyboard connected. I will do that tomorrow morning however the message server settings are exactly like yours and I get the Green connected on all terminals.

I always keep SambaPos well updated so I updated from 5.1.61 at the time of the server change. I like to use all the new features and developments so that’s important to me. I have a pretty bespoke setup here using modified versions of your customer account and statement screens and a modded version of @JTRTech hotel implementation so I am pretty comfortable with the nuts and bolts of the program and it gives me a well tailored system. In fact seem to spend most of my time developing simplification automation because staff here are not very computer literate so I have to ask a lot of confirm questions.

I am trying 8585 port on this screenshot as I have tried a few in case windows has grabbed them for anything 9000 didnt work, 8383 neither.

I recommend you make a Static DHCP reservation on your Router for POSSERVER so that it always receives the same IP Address, at the very least.

Then try using the IP Address for the Server instead of the Hostname.

Also, disable IPv6 on your machines so they are always forced to use IPv4. I have seen issues with IPv6 in the past when it comes to Messaging.

Of course, ensure you can ping or tracert the server by IP. Ping it by name as well, and note the resolved address which will indicate the IPV being used.

1 Like

Thanks. Will give all that a go and let you know.

I am more and more convinced that Auto Refresh is fundamentally broken.

I have done the following to the system

All Terminals including the Server are Fixed IP configured on IP4 protocol.

All terminals and Server have IP6 disabled.

All Terminals and Server Messaging Clients now point to the fixed IP of the server (

All Message Server Clients show connected and ping from every device is solid and between 2 and 5 ms

Widgets still do not Auto refresh.

I am running a Testing instance (SAMBATEST) on the Database because the main Instance is live and I have 2 machines setup to connect to this instance to try prove a few things.

Firstly I installed the Message automation @QMcKay provided and installed on the testing instance of the database. Restarted both machines and this automation worked first time perfectly. I guess this tells me that the messaging is working.

Using these 2 machines I carried out a test for my table layout (which was open on both screens) and created a ticket. As expected on the Terminal entering the ticket Table state changed and widget colour changed to orange.


Nothing happened on the second machine until I logged out and then logged back in at which time the Table state updated. The table timer incorporated into the state display does not update until the screen is manually refreshed in some way. NOTE timer says 12mins only because I manually refreshed the Entity Screen

So there are NO auto updates (even on the Terminal the ticket was created by) and there are no State updates being broadcast. ALL my widgets are Auto Refresh interval zero. I have tested with the table Entity Screen as this is what I would call the Standard automation built into Sambapos in regard to updating of widgets and entities etc.

As previously stated this was working fine before updating to 5.1.62 and moving the Server

Try turning auto refresh off. Restart then send a ticket. SambaPOS refreshes with message server when ticket is created.

OK I have tried this. Switched off Auto Refresh on Table 3 Widget. Created a ticket and of course nothing happened. Table state not updated and widget not changed to Orange on the terminal the order was entered. Manually refreshed by logout login or reload Entity screen, Table goes Orange , timer is updated but then stops until manually refreshing entity screen.

Nothing on other terminal Entity Screen.

So this tells me the refresh that is coded into a create ticket operation works but only on the terminal it is entered on. There are still no further refresh operations happening i.e. nothing appearing on other terminals or no state updates to show ticket open time on any widgets.

Turned auto refresh back on on this Table widget. Still nothing refreshing on any terminal.

Partial Success!

Firstly I found a conflicting instance on the previous server I was using which I thought I had disabled. I fully deleted SQL Express 2014 on the previous server and double confirmed no other server activity and no message service installed on other machines. I then shut all the terminals down and rebooted the server. MY BAD here and sorry for wasting anyone’s time.

Refresh across the network worked for Table widgets state display i.e. when raising an order table on terminal one went Orange and this was mirrored on Terminal 2 instantly. All good.

However the Table Entity Button has a ticket open timer on the Label value incorporated in the State Display as below

This does not update on any Terminal unless the Entity Screen is reloaded and then it remains static until the next screen reload.

I also have inconsistent results when working with my Room Account Screen (modified version of @QMcKay Custom Account Reporting Tutorial) when loaded the screen gives the following information

This screen consists of two Key elements. The transaction lister which is a custom report widget (Account Statement) and a label widget (Entity Details) as the header section.



When I settle a transaction on a separate terminal and charge the room account the Account Statement widget refreshes immediately and adds new transaction. This is good.
Unfortunately the Label widget Balance does not refresh as per example below

Do label widgets refresh without a ticket? I am using the expression
which works fine when screen is loaded but does not refresh.

Any ideas?

Label widgets refresh when screen does meaning tickets will refresh it or auto refresh setting with a value greater than 0 Will Both Work

Any Entity Screen will not refresh unless it is configured for a particular Entity Type.

Entity Screens set to View Mode Custom or Layout do not require Entity Type selection, but you can set the Entity Type if you want. Even then, they will only refresh if there is a Ticket-related event that is triggered and that Entity Type is attached to the Ticket.

The way the Account Statements Screen (which has not associated Entity Type set) should be refreshing is via Action Navigate Module, which forces a reload of the screen.

So the Program Setting in the Label should update if you ensure you update the Program Setting before the Navigate Action.

1 Like