Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix custom_domain domain missing issue #133

Closed
wants to merge 1 commit into from

Conversation

jubrad
Copy link
Contributor

@jubrad jubrad commented Jan 9, 2024

    - checks for domain missing in retry loop
    - moves logging to tflog/slog where possible
   	* restclient: request failed: POST https://api.frontegg.com/vendors/custom-domains/verify: 404 Not Found: map[Cf-Cache-Status:[DYNAMIC] Cf-Ray:[8428a344dce59432-SJC] Content-Length:[39] Content-Security-Policy:[default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests] Content-Type:[application/json; charset=utf-8] Cross-Origin-Embedder-Policy:[require-corp] Cross-Origin-Opener-Policy:[same-origin] Cross-Origin-Resource-Policy:[same-origin] Date:[Tue, 09 Jan 2024 00:41:59 GMT] Frontegg-Trace-Id:[df41166e12da919e6b52082b6660e414] Origin-Agent-Cluster:[?1] Referrer-Policy:[no-referrer] Server:[cloudflare] Strict-Transport-Security:[max-age=15552000; includeSubDomains] X-Content-Type-Options:[nosniff] X-Dns-Prefetch-Control:[off] X-Download-Options:[noopen] X-Frame-Options:[SAMEORIGIN] X-Permitted-Cross-Domain-Policies:[none] X-Xss-Protection:[0]]: {"errors":["Custom domain is missing"]}

I suspect the only way to get into this loop is if the post to recreate (or initially create) the custom domain succeeded, which makes me think this may be some sort of consistency error that will be fixed by retry.

        - checks for domain missing in retry loop
        - moves logging to tflog/slog where possible
@jubrad jubrad closed this Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant