opendiffy / diffy

Other
1.25k stars 142 forks source link

Why proxy https gets 403 #98

Open N1neSun opened 1 year ago

N1neSun commented 1 year ago

I would like to ask why the following results appear when proxy https

<html>

<head>
    <title>403 Forbidden</title>
</head>

<body>
    <center>
        <h1>403 Forbidden</h1>
    </center>
    <hr>
    <center>openresty</center>
</body>

</html>
puneetkhanduri commented 1 year ago

This seems related to the auth used by your primary, secondary, and candidate instances. You may be missing an auth header in the request you are sending to Diffy's proxy port but I would suggest verifying by sending the same request directly to primary, secondary, and candidate, and then sharing the responses here.