You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue
Sometimes it is not immediately possible to connect to some nodes. For example, the Basilisk node sometimes interrupts the connection attempt. In this case, the program freezes during its execution on 'await', without throwing an error through 'throws'
Run the project several times before reproducing the connection error (accompanied by a characteristic log) [Alternative option: run without internet access]
Expected result
The program comes to print("Success") or print("Error: \(error)").
Actual result
The program does not reach the above lines and freezes
Example of a failed connection log
Task <4BCC6AB0-15A0-4D42-98A5-A81127830B66>.<1> finished with error [18 446 744 073 709 550 607] Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." UserInfo={NSErrorFailingURLStringKey=wss://rpc.basilisk.cloud/, NSErrorFailingURLKey=wss://rpc.basilisk.cloud/, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalWebSocketTask <4BCC6AB0-15A0-4D42-98A5-A81127830B66>.<1>"
), _NSURLErrorFailingURLSessionTaskErrorKey=LocalWebSocketTask <4BCC6AB0-15A0-4D42-98A5-A81127830B66>.<1>, NSLocalizedDescription=The Internet connection appears to be offline.}
The text was updated successfully, but these errors were encountered:
Issue
Sometimes it is not immediately possible to connect to some nodes. For example, the Basilisk node sometimes interrupts the connection attempt. In this case, the program freezes during its execution on 'await', without throwing an error through 'throws'
A project with functionality for playback
SubstrateSdkApiIssue.zip
Steps to reproduce the issue
Expected result
The program comes to
print("Success")
orprint("Error: \(error)")
.Actual result
The program does not reach the above lines and freezes
Example of a failed connection log
Task <4BCC6AB0-15A0-4D42-98A5-A81127830B66>.<1> finished with error [18 446 744 073 709 550 607] Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." UserInfo={NSErrorFailingURLStringKey=wss://rpc.basilisk.cloud/, NSErrorFailingURLKey=wss://rpc.basilisk.cloud/, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalWebSocketTask <4BCC6AB0-15A0-4D42-98A5-A81127830B66>.<1>"
), _NSURLErrorFailingURLSessionTaskErrorKey=LocalWebSocketTask <4BCC6AB0-15A0-4D42-98A5-A81127830B66>.<1>, NSLocalizedDescription=The Internet connection appears to be offline.}
The text was updated successfully, but these errors were encountered: