AlphaWallet / alpha-wallet-ios

An advanced Ethereum/EVM mobile wallet
https://www.alphawallet.com
MIT License
595 stars 366 forks source link

Error in the background (console while running a whitelabel version) #3812

Open hieronymus4826 opened 2 years ago

hieronymus4826 commented 2 years ago

Hey @hboon one of the devs is getting this error in the background when he runs in Simulator. Its not a critical error and doesnt stop it from working.

2022-01-25 15:07:29.093071-0700 PlayZap[33290:1010984] convertToUserFriendlyError error: responseError(APIKit.ResponseError.unacceptableStatusCode(403)) from: convertToUserFriendlyError(error:baseUrl:) 2022-01-25 15:07:29.326833-0700 PlayZap[33290:1010722] [connection] nw_proxy_resolver_create_parsed_array [C122 proxy pac] Evaluation error: NSURLErrorDomain: -1003 2022-01-25 15:07:29.914056-0700 PlayZap[33290:1010729] [boringssl] boringssl_metrics_log_metric_block_invoke(151) Failed to log metrics 2022-01-25 15:07:34.778681-0700 PlayZap[33290:1010728] convertToUserFriendlyError error: responseError(APIKit.ResponseError.unacceptableStatusCode(403)) from: convertToUserFriendlyError(error:baseUrl:) 2022-01-25 15:07:38.272247-0700 PlayZap[33290:1011086] [connection] nw_proxy_resolver_create_parsed_array [C123 proxy pac] Evaluation error: NSURLErrorDomain: -1003 2022-01-25 15:07:38.274951-0700 PlayZap[33290:1011086] [connection] nw_proxy_resolver_create_parsed_array [C124 proxy pac] Evaluation error: 2022-01-25 15:07:38.504070-0700 PlayZap[33290:1011086] [boringssl] boringssl_metrics_log_metric_block_invoke(151) Failed to log metrics 2022-01-25 15:07:40.777961-0700 PlayZap[33290:1010722] convertToUserFriendlyError error: responseError(APIKit.ResponseError.unacceptableStatusCode(403)) from: convertToUserFriendlyError(error:baseUrl:)

From my brief research it seems like he doesnt have access to one or a few API/URLs related to the wallet. Just want to make sure he (and I) understands whats missing from the setup.

Thank you!

hboon commented 2 years ago

@hieronymus4826 Thanks! This is helpful.

I have modified that logging so it includes the URL with #3818.

Pull from master and it should be included. So the log will go from:

2022-01-25 15:07:29.093071-0700 PlayZap[33290:1010984] convertToUserFriendlyError error: 

to something like:

2022-01-25 15:07:29.093071-0700 PlayZap[33290:1010984] convertToUserFriendlyError URL: https://google.com/bad/url/hope-it-helps-narrow-things-down error: