Skip to content

​Affine docker image not working on Firefox browser #3874

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

Closed
1 task
amitshuklabag opened this issue Aug 21, 2023 · 6 comments
Closed
1 task

​Affine docker image not working on Firefox browser #3874

amitshuklabag opened this issue Aug 21, 2023 · 6 comments
Assignees
Labels

Comments

@amitshuklabag
Copy link

What happened?

I deployed the Affine docker image, and it works perfectly with Chrome but not with Firefox.
When I tried it in the Firefox browser, it only showed a loading screen, and the error is shown in the console, which I've sent, so please look into it and fix the problem in your application.

image
image

Distribution version

Windows x64

What browsers are you seeing the problem on if you're using web version?

Firefox

Relevant log output

Build info _app-fe13269c5825cb6c.js:1:195010
Project: @affine/app _app-fe13269c5825cb6c.js:1:195038
Build date: 6/1/2023, 7:42:47 pm _app-fe13269c5825cb6c.js:1:195077
Environment: production(ci) _app-fe13269c5825cb6c.js:1:195167
Editor Version: =0.3.1-20230106060050-1aad55d _app-fe13269c5825cb6c.js:1:195240
Version: f99bf74 _app-fe13269c5825cb6c.js:1:195288
AFFiNE is an open-source project, you can view its source code on GitHub! _app-fe13269c5825cb6c.js:1:195322
https://github.com/toeverything/AFFiNE/tree/f99bf74
_app-fe13269c5825cb6c.js:1:195411
token empty login +0ms _app-fe13269c5825cb6c.js:1:164876
@affine/logger: Render Track _app-fe13269c5825cb6c.js:1:458503
dc Init workspace affine with selfhosted +0ms _app-fe13269c5825cb6c.js:1:164876
Uncaught (in promise) TypeError: indexedDB.databases is not a function
    NextJS 2
196 _app-fe13269c5825cb6c.js:1:762973
Too many calls to Location or History APIs within a short timeframe. main-b5fee26f1089ab0d.js:1:8403
Uncaught (in promise) TypeError: indexedDB.databases is not a function
    NextJS 2
2 _app-fe13269c5825cb6c.js:1:762973
Uncaught (in promise) DOMException: The operation is insecure.
    NextJS 5

Anything else?

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!
@himself65
Copy link
Contributor

This does the browser compatibility issue. We are working on the next major version of the docker image and will release it soon

@fourdim
Copy link
Contributor

fourdim commented Aug 25, 2023

@fourdim fourdim closed this as completed Aug 25, 2023
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in AFFiNE Project Aug 25, 2023
@fourdim fourdim reopened this Aug 25, 2023
@felixsanz
Copy link

This does the browser compatibility issue. We are working on the next major version of the docker image and will release it soon

can you publish the dockerfile so we can build the image by our own?

@samuelds
Copy link

Not updated docker image ?

@fourdim
Copy link
Contributor

fourdim commented Feb 14, 2024

FYI
https://github.com/toeverything/AFFiNE/pkgs/container/affine-front
https://github.com/toeverything/AFFiNE/pkgs/container/affine-graphql
It's still in progress, please wait for the stable release.
And this issue no longer reproduces in our latest docker image, closing.

@fourdim fourdim closed this as completed Feb 14, 2024
@fourdim
Copy link
Contributor

fourdim commented Feb 14, 2024

Link to #5069.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

6 participants