Comments (5)
Hi @gauthierpetetin.
We,@lydhvmo and I, built the Metamask app and found this message in the Android Studio - Logcat
E FATAL EXCEPTION: OkHttp Dispatcher
Process: io.metamask.flask, PID: 23779
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1975)
at okhttp3.JavaNetCookieJar.decodeHeaderAsJavaNetCookies(JavaNetCookieJar.kt:98)
at okhttp3.JavaNetCookieJar.loadForRequest(JavaNetCookieJar.kt:59)
at com.facebook.react.modules.network.ReactCookieJarContainer.loadForRequest(ReactCookieJarContainer.java:44)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:74)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
from metamask-mobile.
Detail:
OKHTTP_VERSION (react-native v0.71.15) : https://github.com/facebook/react-native/blob/5761ad6437b29dc559fce0914f2a8e71d02d25b3/ReactAndroid/gradle.properties#L17
from metamask-mobile.
Hi @lydhvmo , thanks for reporting this issue. How did you manage to identify square/okhttp#6897 as the root cause?
from metamask-mobile.
This is very probably due to the favicon code crashing when trying to fetch this page.
aside from the fact that the fetch to this page fails, the favicon code should not crash. It should properly just log and fallback to default icon.
This is a bug for @MetaMask/mobile-platform team and as I worked on this code already, I can be assigned to it.
from metamask-mobile.
Just comment that this doesn't happen on iOS
from metamask-mobile.
Related Issues (20)
- [Sentry] Error: [ethjs-rpc] rpc error with payload {"id":2109144632762,"jsonrpc":"2.0","params":[{"to":"**","data... HOT 2
- [Bug]: Transaction activity hangs indefinitely if Swap is initiated right before estimated gas fee starts flashing
- [Sentry] Error: {"code":-32603,"message":"Non-200 status code: '413'","data":{"jsonrpc":"2.0","id":592290256,"err...
- [Sentry] Error: {"code":-32603,"message":"Internal JSON-RPC error.","data":{"code":-32000,"message":"err: insuffi... HOT 1
- Abstract WC/SDK logic outside of BackgroundBridge and RPCMethodMiddleware
- [Bug]: NFTs displayed during the Send flow does not align with the NFT assets visible in the account's NFT tab
- [Bug]: The 'Transaction details' screen closes on its own, sometimes not providing users with sufficient time to interact with it.
- [Bug]: After attempting to send a transaction with a low nonce, any subsequent transactions with the correct nonce or a higher nonce result in an error message stating 'Approval request with id ****** not found'
- [Sentry] Error: Level: Error HD keyring missing while saving keyrings HOT 2
- [Sentry] Error: JsonRpcEngine: Response has no error or result for request: HOT 1
- [Sentry] TypeError: undefined is not an object (evaluating 'e.toUpperCase')
- [Bug]: Signed Swaps Transactions in Transactions History
- Upgrade design tokens to version 3.0
- [Bug]: Root error selectSelectedInternalAccount being displayed after recovering from SRP HOT 1
- [Bug]: Metamask wallet gets disconnected when navigated between pages. HOT 2
- Error: {"code":-32000,"message":"invalid sender"} HOT 1
- Encountering an issue where the pop-ups for connect
- Encountering an issue where the pop-ups for connect #9756 [Bug]: HOT 2
- wc:2886ec64d45553a106f066926c18db552369f835d02b9148e261841b10bcaa0b@2?expiryTimestamp=1716810982&relay-protocol=irn&symKey=82ebe0f96d63eaa06c998bc3a64d8f4ef32f5689c59b8e9c3541a649fac23aef
- Error: Could not find built-in network matching undefined
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metamask-mobile.