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

Troubleshooting Github access #71

Open
hunvreus opened this issue May 23, 2024 Discussed in #67 · 2 comments
Open

Troubleshooting Github access #71

hunvreus opened this issue May 23, 2024 Discussed in #67 · 2 comments

Comments

@hunvreus
Copy link
Member

Discussed in #67

Originally posted by alexander-entin May 10, 2024
I have done as described in Deploy on Cloudflare (using a custom domain in place of https://pages-cms-123.pages.dev).

Now, after granting it access to repositories the worker crashes.

{
  "outcome": "exception",
  "scriptName": "pages-worker--2616733-production",
  "diagnosticsChannelEvents": [],
  "exceptions": [
    {
      "stack": "    at onRequest (functionsWorker-0.9675910260731022.js:28:13)\n    at async next (functionsWorker-0.9675910260731022.js:478:26)\n    at async Object.fetch (functionsWorker-0.9675910260731022.js:492:14)",
      "name": "Error",
      "message": "Access token not found",
      "timestamp": 1715325717647
    }
  ],
  "logs": [],
  "eventTimestamp": 1715325717413,
  "event": {
    "request": {
      "url": "https://cms.***.org/auth/callback?code=ee05a9634ba3791f2a50",
      "method": "GET",
      "headers": {
        "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8",
        "accept-encoding": "gzip, br",
...

What could be the reason?
How to troubleshoot?
Is it possible to show a more descriptive error message instead of "Worker threw exception"?

Thank you!

@sacharose23
Copy link

I have run into a similar issue

@roycifer
Copy link

roycifer commented Jul 8, 2024

I as well. I had to do without the custom domain which is not a dealbreaker but ☹️.

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

No branches or pull requests

3 participants