S SISL docs PL

Diagnostics and errors

Start with SISL Optima → Diagnostyka (Diagnostics). It shows the state of the licence, address and secret, the connection to the service, the clock, warehouses, price levels, the document log, recent synchronisations and cron, and suggests a fix when there is a problem.

Common problems

Licence: "bound to …"

The key is assigned to a different store or server. Write to kontakt@sisl.pl and we will unbind it.

Service: HTTP 401

The HMAC secret in Magento differs from SharedSecret in the service, or the server clocks differ by more than 5 minutes.

Service: HTTP 402

The service did not confirm the licence. Check Sisl:License:Key and the server's access to https://license.sisl.pl.

Service: "Połączenie z bazą nie działa" (The database connection does not work)

Check Sisl:Optima:Server and Database. With Windows authentication, the NT SERVICE\SislSyncService account must have the db_datareader role in the company database. Running install-service.ps1 again grants it once more.

The stock level in Magento does not match Optima

The document must be approved. The stock level is the quantity minus reservations, minus the buffer from the configuration. Also check the mapping of the warehouse to the MSI source.

A document does not create an invoice or shipment

Message Cause
Czeka (Waiting) The document is in the buffer (draft)
Nie ma zamówienia (No such order) The number after the prefix does not exist in Magento
Porzucony (Abandoned) After 5 attempts. Cancel the document and issue a new one, or create the invoice manually
Nic do zafakturowania / wysłania (Nothing to invoice / ship) The order items have already been handled
Żadna pozycja nie pasuje (No item matches) The item codes on the document do not match the SKUs in the order

Magento cron: no module jobs

Add a system cron entry:

* * * * * php /var/www/html/bin/magento cron:run >> /var/www/html/var/log/cron.log 2>&1

Invoice e-mails do not arrive

The "Maile do klientów" (E-mails to customers) option is off by default. If you enabled it, check mail sending in Magento. An e-mail error does not stop synchronisation.

Logs

Magento:

grep Sisl_Optima /var/www/html/var/log/system.log | tail -50

Service, warnings and errors in Event Viewer:

Get-WinEvent -FilterHashtable @{LogName='Application'; ProviderName='Sisl.Sync.Service'} -MaxEvents 20

Service status, without logging in:

Invoke-RestMethod http://ADRES-USLUGI:5000/healthz

Support

Write to kontakt@sisl.pl. Attach a screenshot of Diagnostics and an excerpt of var/log/system.log.

Next step: Changelog →