#twafiq_error

1 messages ยท Page 1 of 1 (latest)

humble ravenBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1385041562538610720

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

full junco
#

Hi ๐Ÿ‘‹

silk raven
#

Hey

full junco
#

So you are trying to simulate the required Updates we document here?

silk raven
#

No

#

I am trying to simulate the security reboot that occurs every 24 hours.

full junco
#

And you are saying that this is not resettting the 24 hour reboot timer?

silk raven
#

no i am saying that my app does not handle this 24 hour reboot properly

full junco
#

Sorry I'm not getting what it is you are trying to do here

silk raven
#

so I want to find a way to simulate/reproduce this issue as opposed to waiting for the 24 hour security reboot to happen again.

#

My app breaks when the 24 hour security reboot happens.
Looking for a better way to fix this issue as opposed to implementing a fix and waiting for the 24 hour reboot to happen to see if it works.

full junco
#

I think you would need simulate this yourself by calling the rebootReader method. I'm looking through our docs and SDK but I don't see any method to simulate the 24 hour reboot other than manually triggering a reboot

silk raven
#

hmm. When i call the rebootReader() method it works properly

full junco
#

When you say your app isn't handling this well, does it fail to reconnect?

silk raven
#

Yeah

#

But it works fine whenever i call the disconnectReader and rebootReader methods which is why I am trying to simulate the security_reboot

full junco
#

Yeah, as far as I know there shouldn't be any difference between the security reboot and a manual reboot. I assume you've got logging statements in both Success and Failure callback functions.

silk raven
#

There are no callback functions for the security reboot

#

Since the command seems to be programmed into the OS of the terminal

full junco
#

You should still have your MobileReaderListener class firing onDisconnect so you can attempt reconnection

silk raven
#

hmmm ok

full junco
#

I would start by adding logging statements to that callback function to get the disconnection reason

silk raven
#

So the failure should theoretically be logged in the onFailure callback in this class.

full junco
silk raven
#

Alright.

#

I will look into this

#

Thanks.