question

Saffan Prasla avatar image
Saffan Prasla asked ·

Clover Mini stops working after a while, USB transport error

I am having issues with my Clover Mini gen 2 periodically disconnecting in production. I am using the USB Connector SDK on windows 10. We have the USB Pay App installed, and the clover will work fine for a while. Then after a little time, it will randomly disconnect . When the POS goes to process a sale (semi-integrated environment) it will raise an error "Clover transport layer can see the USB device, but encountered an error... try physically disconnecting...". This happens daily after a few hours of running.

To get around this issue we have to restart the mini

Clover Minisemi-integrationsUSB Pay DisplayRemote Pay Windows
2 comments
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

It's been like that for years.


0 Likes 0 · ·

it is not fixed on SDK 4.0.3 either. I wonder if it is because of the USB driver or the SDK problem.

0 Likes 0 · ·
David Marginian avatar image
David Marginian answered ·

Update:

4.0.3 has been released - https://github.com/clover/remote-pay-windows/releases.

Original:

We are planning an SDK release (4.0.3) that should improve the stability of the USB connection. I will keep you posted on the release date.

Share
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

TrueOX avatar image
TrueOX answered ·

here is the error directory from my log


Log Entry : 2:31:49 PM Monday, August 3, 2020

*******************************

:ErrorCode: Win32Error The Clover transport layer can see the USB device, but encountered an error when attempting to send it a message. Try physically disconnecting/reconnecting the Clover device.


Details:

COMMUNICATION_ERROR, System.IO.IOException: ErrorCode: Win32Error The Clover transport layer can see the USB device, but encountered an error when attempting to send it a message. Try physically disconnecting/reconnecting the Clover device.

at com.clover.remotepay.transport.usb.CloverUsbDevice.Write(String message), -16379

-------------------------------


14 comments Share
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

What were you doing when this occurred? Is it reproducible?

0 Likes 0 · ·
TrueOX avatar image TrueOX David Marginian ♦♦ ·

My POS issue a sale request to the clover mini and the customer is going through their payment options ( tips, pin etc..) and press enter then a spinning icon occurs and it will not stop until I restart my app, which does a graceful disconnect. Once my app restarted, clover mini just goes back to the welcome screen and not present the option to print receipt like it normally would when everything is working. It is so random, that is hard to reproduce, I think it may have something to do with the type of card the customer is using maybe.

0 Likes 0 · ·

Can you reconnect or does the mini need to be rebooted?

0 Likes 0 · ·
Show more comments
TrueOX avatar image
TrueOX answered ·

It is random, sometimes it works for days without issue. Once in a while, while waiting for the sale result to come back, the clover mini screen just has a spinning icon, on my computer, I will this error" "Clover transport layer can see the USB device, but encountered an error... try physically disconnecting...

the charge typically will go through, My POS is not getting a result back from the clover mini because of the USB error. the only way to stop spinning icon on the clover mini is to disconnect my application from the clover then the clover mini goes back to the welcome screen and it is ready again. is there a way to fix that?

Share
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

BAERSAUTO avatar image
BAERSAUTO answered ·

not to highjack the thread but i get the same issue with USB between 2 clover minis and nothing else

1 comment Share
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

good to know, I am glad it is not my code. I think the clover mini USB itself is not stable. looks like the only way workaround this USB connection issue is to issue retrieve payment function after error encountered.

0 Likes 0 · ·
TrueOX avatar image
TrueOX answered ·

SDK 4.0.3 did not help much, we are having the same issue. It works fine for a while then "Clover transport layer can see the USB device, but encountered an error... try physically disconnecting.

restarting my our app stopped the spin wait on the mini clover but this is such annoying. We lost record each time this happens as we rely on the clover mini to send back the sale result so we can keep track of the transaction in our app.

1 comment Share
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

What is "awhile"? How often do you see this? Can you please provide the exact error? What type of device? You said restarting your app stops the spinning, what do you do to get reconnected?

As a side note, you should look at our best practices, you should be able to recover from this if you can get reconnected - https://docs.clover.com/docs/remote-pay-sdk-best-practices.

0 Likes 0 · ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community