Skip to content

bug(forge test): --fork-url etherscan: Failed to deserialize response #6651

@slordua

Description

@slordua

Component

Forge

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

forge 0.2.0 (73fb616 2023-12-19T00:16:21.131413571Z)

What command(s) is the bug in?

forge test --fork-url $SEPOLIA_RPC_URL

Operating System

Linux

Describe the bug

i found #3621 which is very similar to my issue to be closed in lieu of #6079, so i apologize if this is dup issue,

there is nothing special about my test, and everything passes and completes without issues. unlike @amusingaxl however, trace shows no problems with rate limiting, traces all look pretty standard:

Screenshot 2023-12-21 162915

2023-12-21T23:26:59.714575Z  WARN etherscanidentifier: could not get etherscan info: Serde(Error("expected value", line: 1, column: 1))

response (captcha):

<!DOCTYPE html>
<html lang="en-US">
<head>
    <title>Just a moment...</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <meta name="robots" content="noindex,nofollow">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <link href="/cdn-cgi/styles/challenges.css" rel="stylesheet">
    <meta http-equiv="refresh" content="375">
</head>
<body class="no-js">
    <div class="main-wrapper" role="main">
        <div class="main-content">
            <noscript>
                <div id="challenge-error-title">
                    <div class="h2">
                        <span class="icon-wrapper">
                            <div class="heading-icon warning-icon"></div>
                        </span>
                        <span id="challenge-error-text">Enable JavaScript and cookies to continue</span>
                    </div>
                </div>
            </noscript>
        </div>
    </div>
    <script>
        (function(){
            // challenge function
        }());
    </script>
</body>
</html>

i am working on a remote server thru vscode remote ssh, not sure if that's a factor

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Completed

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions