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

"TypeError: Failed to fetch" from failed attempt to connect to remote lake #3125

Open
philrz opened this issue Jul 9, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@philrz
Copy link
Contributor

philrz commented Jul 9, 2024

Repro is with Zui commit 9d91dd3.

The attached video shows the same verification as in #1105 (comment), but in Dev mode which prominently displays unhandled errors as opposed to in production builds where they quietly go into the DevTools console. As this shows, when I attempt to connect to remote lake and it's accessible, an Unhandled Runtime Error "TypeError: Failed to fetch" is surfaced.

Repro.mp4

The full text of the Source and Call Stack shown:

Source
../packages/zed-js/src/client/client.ts (7:44) @ fetch

  5 | // @ts-ignore
  6 | // eslint-disable-next-line
> 7 | public fetch = (...args: any[]) => window.fetch(...args);
    |                                          ^
  8 | }
  9 | 
Call Stack
fetch
../packages/zed-js/src/client/base-client.ts (173:25)
request
../packages/zed-js/src/client/base-client.ts (186:28)
send
../packages/zed-js/src/client/base-client.ts (21:25)
version
src/js/flows/lake/buildLake.ts (17:35)
eval
../node_modules/redux-thunk/es/index.js (16:0)
dispatch
../node_modules/redux/es/redux.js (691:0)
dispatch
src/js/flows/lake/buildAndAuthenticateLake.ts (37:25)
eval
../node_modules/redux-thunk/es/index.js (16:0)
dispatch
src/js/components/LakeModals/LakeForm.tsx (103:39)
@philrz philrz added the bug Something isn't working label Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant