-
Notifications
You must be signed in to change notification settings - Fork 49
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
Connection error and transaction failed #190
Comments
Thanks for opening the issue.
|
1.Yes,I called it by a button click on mono here is a log today for this issue: [WebSocketConnection-daced119-da82-4851-b815-f203d47a8847] Got payload: |
I see that you are using |
Hi,thanks for the reply。 |
Can you access web3modal.com from your browser without VPN? |
Yes,I can do this without vpn, 5G and wifi both work |
Describe the bug
We try to send smart contract transaction,and we meet some issues,it works not stable,sometimes it works and sometimes didnot
the first issue is :
#186
the second one is: Error Unity WebSocketException: The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived'
and here is the log:
2024/03/25 11:46:50.455 19933 20000 Error Unity WebSocketException: The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived'
2024/03/25 11:46:50.455 19933 20000 Error Unity at System.Net.WebSockets.WebSocketValidate.ThrowIfInvalidState (System.Net.WebSockets.WebSocketState currentState, System.Boolean isDisposed, System.Net.WebSockets.WebSocketState[] validStates) [0x00000] in <00000000000000000000000000000000>:0
2024/03/25 11:46:50.455 19933 20000 Error Unity at System.Net.WebSockets.ManagedWebSocket.SendPrivateAsync (System.ReadOnlyMemory
1[T] buffer, System.Net.WebSockets.WebSocketMessageType messageType, System.Boolean endOfMessage, System.Threading.CancellationToken cancellationToken) [0x00000] in <00000000000000000000000000000000>:0 2024/03/25 11:46:50.455 19933 20000 Error Unity at System.Net.WebSockets.ManagedWebSocket.SendAsync (System.ArraySegment
1[T] buffer, System.Net.WebSockets.WebSocketMessageType messageType, System.Boolean endOfMessage, System.Threading.CancellationToken cancellationToken) [0x00000] in <00000000000000000000000000000000>:02024/03/25 11:46:50.455 19933 20000 Error Unity at NativeWebSocket.WebSocket.SendMessage (System.Collections.Generic.List`1[T] q
To Reproduce
connect the wallet with metamask
and send a transaction to smart contract
Expected behavior
succsse to send a transaction
Environment
Is this happening in Unity Editor or on a player like Android, iOS, Windows?
Both on Editor and Android
Wallets used for testing
Metamask
Additional context
My code is here:
Nethereum.ABI.Model.Parameter[] parameters = new Nethereum.ABI.Model.Parameter[] {
The text was updated successfully, but these errors were encountered: