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

On Firefox, false Export error #3323

Open
imnasnainaec opened this issue Aug 23, 2024 · 0 comments
Open

On Firefox, false Export error #3323

imnasnainaec opened this issue Aug 23, 2024 · 0 comments
Labels
bug Something isn't working import/export

Comments

@imnasnainaec
Copy link
Collaborator

On Firefox, when you export a project, it succeeds, but then throws an error:

Unable to connect to server. Check your network settings. http://localhost:5000/v1/projects/nonempty/lift/deleteexport

And in the console:

Object { stack: "AxiosError@http://localhost:3000/static/js/bundle.js:112382:18\nhandleAbort@http://localhost:3000/static/js/bundle.js:111746:14\nEventHandlerNonNull*dispatchXhrRequest@http://localhost:3000/static/js/bundle.js:111742:5\n./node_modules/axios/lib/adapters/xhr.js/__WEBPACK_DEFAULT_EXPORT__<@http://localhost:3000/static/js/bundle.js:111671:10\ndispatchRequest@http://localhost:3000/static/js/bundle.js:112867:10\n_request@http://localhost:3000/static/js/bundle.js:112299:77\nrequest@http://localhost:3000/static/js/bundle.js:112190:25\nwrap@http://localhost:3000/static/js/bundle.js:113436:15\n./src/api/common.ts/createRequestFunction/<@http://localhost:3000/static/js/bundle.js:8692:18\n./src/api/api/lift-api.ts/deleteLiftFile/<@http://localhost:3000/static/js/bundle.js:1928:118\npromise callback*deleteLiftFile@http://localhost:3000/static/js/bundle.js:1928:95\ndeleteLift@http://localhost:3000/static/js/bundle.js:11889:17\n./src/components/ProjectExport/Redux/ExportProjectActions.ts/asyncResetExport/<@http://localhost:3000/static/js/src_components_App_AppLoggedIn_tsx.chunk.js:2302:62\n./node_modules/redux-thunk/es/index.js/createThunkMiddleware/middleware/</<@http://localhost:3000/static/js/bundle.js:103620:18\n./node_modules/@reduxjs/toolkit/dist/redux-toolkit.esm.js/createImmutableStateInvariantMiddleware/</</<@http://localhost:3000/static/js/bundle.js:48431:36\n./node_modules/@reduxjs/toolkit/dist/redux-toolkit.esm.js/createActionCreatorInvariantMiddleware/</</<@http://localhost:3000/static/js/bundle.js:48173:16\n./src/components/ProjectExport/DownloadButton.tsx/DownloadButton/reset<@http://localhost:3000/static/js/src_components_App_AppLoggedIn_tsx.chunk.js:2078:11\n./src/components/ProjectExport/DownloadButton.tsx/DownloadButton/</<@http://localhost:3000/static/js/src_components_App_AppLoggedIn_tsx.chunk.js:2093:11\npromise callback*./src/components/ProjectExport/DownloadButton.tsx/DownloadButton/<@http://localhost:3000/static/js/src_components_App_AppLoggedIn_tsx.chunk.js:2090:145\ncommitHookEffectListMount@http://localhost:3000/static/js/bundle.js:84996:30\ncommitPassiveMountOnFiber@http://localhost:3000/static/js/bundle.js:86489:42\ncommitPassiveMountEffects_complete@http://localhost:3000/static/js/bundle.js:86461:38\ncommitPassiveMountEffects_begin@http://localhost:3000/static/js/bundle.js:86451:45\ncommitPassiveMountEffects@http://localhost:3000/static/js/bundle.js:86441:38\nflushPassiveEffectsImpl@http://localhost:3000/static/js/bundle.js:88324:32\nflushPassiveEffects@http://localhost:3000/static/js/bundle.js:88277:18\n./node_modules/react-dom/cjs/react-dom.development.js/commitRootImpl/<@http://localhost:3000/static/js/bundle.js:88092:13\nworkLoop@http://localhost:3000/static/js/bundle.js:104790:46\nflushWork@http://localhost:3000/static/js/bundle.js:104768:18\nperformWorkUntilDeadline@http://localhost:3000/static/js/bundle.js:105005:25\nEventHandlerNonNull*./node_modules/scheduler/cjs/scheduler.development.js/<@http://localhost:3000/static/js/bundle.js:105041:7\n./node_modules/scheduler/cjs/scheduler.development.js@http://localhost:3000/static/js/bundle.js:105091:5\noptions.factory@http://localhost:3000/static/js/bundle.js:123782:31\n__webpack_require__@http://localhost:3000/static/js/bundle.js:123181:32\nfn@http://localhost:3000/static/js/bundle.js:123440:21\n./node_modules/scheduler/index.js@http://localhost:3000/static/js/bundle.js:105106:20\noptions.factory@http://localhost:3000/static/js/bundle.js:123782:31\n__webpack_require__@http://localhost:3000/static/js/bundle.js:123181:32\nfn@http://localhost:3000/static/js/bundle.js:123440:21\n./node_modules/react-dom/cjs/react-dom.development.js/<@http://localhost:3000/static/js/bundle.js:64964:40\n./node_modules/react-dom/cjs/react-dom.development.js@http://localhost:3000/static/js/bundle.js:90723:5\noptions.factory@http://localhost:3000/static/js/bundle.js:123782:31\n__webpack_require__@http://localhost:3000/static/js/bundle.js:123181:32\nfn@http://localhost:3000/static/js/bundle.js:123440:21\n./node_modules/react-dom/index.js@http://localhost:3000/static/js/bundle.js:90794:20\noptions.factory@http://localhost:3000/static/js/bundle.js:123782:31\n__webpack_require__@http://localhost:3000/static/js/bundle.js:123181:32\nfn@http://localhost:3000/static/js/bundle.js:123440:21\n./node_modules/notistack/notistack.esm.js@http://localhost:3000/static/js/bundle.js:62109:86\noptions.factory@http://localhost:3000/static/js/bundle.js:123782:31\n__webpack_require__@http://localhost:3000/static/js/bundle.js:123181:32\nfn@http://localhost:3000/static/js/bundle.js:123440:21\n./src/index.tsx@http://localhost:3000/static/js/bundle.js:18826:86\noptions.factory@http://localhost:3000/static/js/bundle.js:123782:31\n__webpack_require__@http://localhost:3000/static/js/bundle.js:123181:32\n@http://localhost:3000/static/js/bundle.js:124428:56\n@http://localhost:3000/static/js/bundle.js:124430:12\n", message: "Request aborted", name: "AxiosError", code: "ECONNABORTED", config: {…}, request: XMLHttpRequest }
[bundle.js:11684:13](http://localhost:3000/static/js/bundle.js)
Uncaught (in promise) 
Object { stack: "AxiosError@http://localhost:3000/static/js/bundle.js:112382:18\nhandleAbort@http://localhost:3000/static/js/bundle.js:111746:14\nEventHandlerNonNull*dispatchXhrRequest@http://localhost:3000/static/js/bundle.js:111742:5\n./node_modules/axios/lib/adapters/xhr.js/__WEBPACK_DEFAULT_EXPORT__<@http://localhost:3000/static/js/bundle.js:111671:10\ndispatchRequest@http://localhost:3000/static/js/bundle.js:112867:10\n_request@http://localhost:3000/static/js/bundle.js:112299:77\nrequest@http://localhost:3000/static/js/bundle.js:112190:25\nwrap@http://localhost:3000/static/js/bundle.js:113436:15\n./src/api/common.ts/createRequestFunction/<@http://localhost:3000/static/js/bundle.js:8692:18\n./src/api/api/lift-api.ts/deleteLiftFile/<@http://localhost:3000/static/js/bundle.js:1928:118\npromise callback*deleteLiftFile@http://localhost:3000/static/js/bundle.js:1928:95\ndeleteLift@http://localhost:3000/static/js/bundle.js:11889:17\n./src/components/ProjectExport/Redux/ExportProjectActions.ts/asyncResetExport/<@http://localhost:3000/static/js/src_components_App_AppLoggedIn_tsx.chunk.js:2302:62\n./node_modules/redux-thunk/es/index.js/createThunkMiddleware/middleware/</<@http://localhost:3000/static/js/bundle.js:103620:18\n./node_modules/@reduxjs/toolkit/dist/redux-toolkit.esm.js/createImmutableStateInvariantMiddleware/</</<@http://localhost:3000/static/js/bundle.js:48431:36\n./node_modules/@reduxjs/toolkit/dist/redux-toolkit.esm.js/createActionCreatorInvariantMiddleware/</</<@http://localhost:3000/static/js/bundle.js:48173:16\n./src/components/ProjectExport/DownloadButton.tsx/DownloadButton/reset<@http://localhost:3000/static/js/src_components_App_AppLoggedIn_tsx.chunk.js:2078:11\n./src/components/ProjectExport/DownloadButton.tsx/DownloadButton/</<@http://localhost:3000/static/js/src_components_App_AppLoggedIn_tsx.chunk.js:2093:11\npromise callback*./src/components/ProjectExport/DownloadButton.tsx/DownloadButton/<@http://localhost:3000/static/js/src_components_App_AppLoggedIn_tsx.chunk.js:2090:145\ncommitHookEffectListMount@http://localhost:3000/static/js/bundle.js:84996:30\ncommitPassiveMountOnFiber@http://localhost:3000/static/js/bundle.js:86489:42\ncommitPassiveMountEffects_complete@http://localhost:3000/static/js/bundle.js:86461:38\ncommitPassiveMountEffects_begin@http://localhost:3000/static/js/bundle.js:86451:45\ncommitPassiveMountEffects@http://localhost:3000/static/js/bundle.js:86441:38\nflushPassiveEffectsImpl@http://localhost:3000/static/js/bundle.js:88324:32\nflushPassiveEffects@http://localhost:3000/static/js/bundle.js:88277:18\n./node_modules/react-dom/cjs/react-dom.development.js/commitRootImpl/<@http://localhost:3000/static/js/bundle.js:88092:13\nworkLoop@http://localhost:3000/static/js/bundle.js:104790:46\nflushWork@http://localhost:3000/static/js/bundle.js:104768:18\nperformWorkUntilDeadline@http://localhost:3000/static/js/bundle.js:105005:25\nEventHandlerNonNull*./node_modules/scheduler/cjs/scheduler.development.js/<@http://localhost:3000/static/js/bundle.js:105041:7\n./node_modules/scheduler/cjs/scheduler.development.js@http://localhost:3000/static/js/bundle.js:105091:5\noptions.factory@http://localhost:3000/static/js/bundle.js:123782:31\n__webpack_require__@http://localhost:3000/static/js/bundle.js:123181:32\nfn@http://localhost:3000/static/js/bundle.js:123440:21\n./node_modules/scheduler/index.js@http://localhost:3000/static/js/bundle.js:105106:20\noptions.factory@http://localhost:3000/static/js/bundle.js:123782:31\n__webpack_require__@http://localhost:3000/static/js/bundle.js:123181:32\nfn@http://localhost:3000/static/js/bundle.js:123440:21\n./node_modules/react-dom/cjs/react-dom.development.js/<@http://localhost:3000/static/js/bundle.js:64964:40\n./node_modules/react-dom/cjs/react-dom.development.js@http://localhost:3000/static/js/bundle.js:90723:5\noptions.factory@http://localhost:3000/static/js/bundle.js:123782:31\n__webpack_require__@http://localhost:3000/static/js/bundle.js:123181:32\nfn@http://localhost:3000/static/js/bundle.js:123440:21\n./node_modules/react-dom/index.js@http://localhost:3000/static/js/bundle.js:90794:20\noptions.factory@http://localhost:3000/static/js/bundle.js:123782:31\n__webpack_require__@http://localhost:3000/static/js/bundle.js:123181:32\nfn@http://localhost:3000/static/js/bundle.js:123440:21\n./node_modules/notistack/notistack.esm.js@http://localhost:3000/static/js/bundle.js:62109:86\noptions.factory@http://localhost:3000/static/js/bundle.js:123782:31\n__webpack_require__@http://localhost:3000/static/js/bundle.js:123181:32\nfn@http://localhost:3000/static/js/bundle.js:123440:21\n./src/index.tsx@http://localhost:3000/static/js/bundle.js:18826:86\noptions.factory@http://localhost:3000/static/js/bundle.js:123782:31\n__webpack_require__@http://localhost:3000/static/js/bundle.js:123181:32\n@http://localhost:3000/static/js/bundle.js:124428:56\n@http://localhost:3000/static/js/bundle.js:124430:12\n", message: "Request aborted", name: "AxiosError", code: "ECONNABORTED", config: {…}, request: XMLHttpRequest }
[src_components_App_AppLoggedIn_tsx.chunk.js:2078:11](http://localhost:3000/static/js/src_components_App_AppLoggedIn_tsx.chunk.js)

This may be related to the fact that the export on Firefox is named with a random string rather than the project id as it's supposed to be.

@imnasnainaec imnasnainaec added bug Something isn't working import/export labels Aug 23, 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 import/export
Projects
None yet
Development

No branches or pull requests

1 participant