-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android and iOS errors #9
Comments
Hi, Sorry, have been busy this week. The iOS problem sounds similar to an issue that occurred on Android initially, but I didn't think applied to iOS. Unfortunately I don't have access to any Apple equipment this week to investigate. Could you please try the same code, but initialising the NtpClient class with the IP address of the server rather than name? i.e NtpClient client = new NtpClient("64.99.80.121") and let me know if that works or not? Thanks. |
Hi!
Thanks for the tip. Unfortunately I switched to a different solution for
NTP already. I'd also prefer to avoid hardcoding IPs for NTP lookup...
That's not best practice according to NTP resources.
Sent from mobile
Vikas O'Reilly-Shah, MD, PhD
Assistant Professor of Anesthesiology
Division of Pediatric Anesthesiology
Emory University School of Medicine and Children's Healthcare of Atlanta
…On Wed, Mar 21, 2018, 03:03 Troy Willmot ***@***.***> wrote:
Hi,
Sorry, have been busy this week. The iOS problem sounds similar to an
issue that occurred on Android initially, but I didn't think applied to
iOS. Unfortunately I don't have access to any Apple equipment this week to
investigate.
Could you please try the same code, but initialising the NtpClient class
with the IP address of the server rather than name? i.e
NtpClient client = new NtpClient("64.99.80.121")
and let me know if that works or not?
Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ASQatEy3_wTq4-lOKhX3evLJe9IgB8loks5tgfsmgaJpZM4Ss2o7>
.
|
That's ok. |
Works OK in Android. I frequently/occasionally get this error:
[0:] Yort.Ntp.NtpNetworkException: OperationAborted
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in :0
at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in :0
at DMRxForPrimaryCare.SA_AsyncCalls+d__11.MoveNext () [0x000a2] in C:\Xamarin\DMRxForPrimaryCare\DMRxForPrimaryCare\DMRxForPrimaryCare\SA_AsyncCalls.cs:379
On iOS, no luck. Stacktrace:
Yort.Ntp.NtpNetworkException: This method is not implemented by this class. ---> System.NotImplementedException: This method is not implemented by this class.
at System.Net.EndPoint.Serialize () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.8.0.20/src/Xamarin.iOS/mcs/class/referencesource/System/net/System/Net/EndPoint.cs:40
at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x00070] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.8.0.20/src/Xamarin.iOS/mcs/class/System/System.Net.Sockets/Socket.cs:868
at Yort.Ntp.NtpClient.SendTimeRequest () [0x00092] in :0
Implementation:
The text was updated successfully, but these errors were encountered: