breezy-zebra-64533
06/26/2024, 2:42 PMTypeError: Converting circular structure to JSON
--> starting at object with constructor 'Socket'
| property '_httpMessage' -> object with constructor 'ClientRequest'
--- property 'socket' closes the circle
at JSON.stringify (<anonymous>)
at UserErrorCard$1 (/usr/src/app/node_modules/@ory/elements-markup/dist/index.umd.js:104:36900)
at _t (/usr/src/app/node_modules/@ory/elements-markup/dist/index.umd.js:169:3633)
at Nl (/usr/src/app/node_modules/@ory/elements-markup/dist/index.umd.js:169:4508)
at Ha (/usr/src/app/node_modules/@ory/elements-markup/dist/index.umd.js:169:7515)
at Wa (/usr/src/app/node_modules/@ory/elements-markup/dist/index.umd.js:169:9191)
at Rr (/usr/src/app/node_modules/@ory/elements-markup/dist/index.umd.js:169:8960)
at Ro (/usr/src/app/node_modules/@ory/elements-markup/dist/index.umd.js:169:7183)
at Ha (/usr/src/app/node_modules/@ory/elements-markup/dist/index.umd.js:169:7943)
at Wa (/usr/src/app/node_modules/@ory/elements-markup/dist/index.umd.js:169:9191)
chilly-king-10285
06/26/2024, 2:42 PMchilly-king-10285
06/26/2024, 2:43 PMbreezy-zebra-64533
06/27/2024, 10:54 AMchilly-king-10285
06/27/2024, 10:54 AMchilly-king-10285
06/27/2024, 10:54 AMyaml clients: http: disallow_private_ip_ranges: true
If this feature is enabled, all outgoing HTTP calls done by Ory Kratos will be checked whether they're against a private IP range. If that's the case, the request will fail with an error. You can find more information about this in the [Ory Kratos Production Guide](https://www.ory.sh/docs/kratos/guides/production). Also, ensure that the Admin API of Ory Hydra is not exposed to the internet unsecured. A good practice is to not expose the Admin API at all to the public internet and use a Zero Trust Networking Architecture within your intranet. You can find more information about this in the [Ory Kratos Production Guide](https://www.ory.sh/docs/kratos/guides/production). If you're still encountering issues, it might be helpful to review your network configuration in Azure and ensure that the appropriate firewall rules and security groups are in place.breezy-zebra-64533
06/28/2024, 8:42 AMchilly-king-10285
06/28/2024, 8:42 AMchilly-king-10285
06/28/2024, 8:42 AMdisallow_private_ip_ranges
configuration is set to true
. This configuration disallows all outgoing HTTP calls done by Ory Kratos to private IP ranges. If a request is made to a private IP range, the request will fail with the "prohibited IP address is not a permitted destination" error. Here is an example of how this configuration might look: yaml clients: http: disallow_private_ip_ranges: true
You can find more information about this in the [Ory Kratos Production Guide](https://www.ory.sh/docs/kratos/guides/production). Please note that this is a security feature designed to prevent Server Side Request Forgery (SSRF) attacks. If you're encountering this error, you should review your application's network requests to ensure they are not attempting to access private IP ranges.