Git Product home page Git Product logo

Comments (9)

an-hen avatar an-hen commented on June 1, 2024 2

I found a solution for the problem I had which had the error message shown by @freezah .

I had misconfigured excalidraw.env.production file. I've assumes that when you deliver the app through HTTPS you have to change

REACT_APP_STORAGE_BACKEND=http

to

REACT_APP_STORAGE_BACKEND=https, which is wrong! Here we still need the http enty.

http here is an identifier for the used storage backend and not a protocol. An error log message indicated in the developer console of my browser that a Firebase project id was missing and I've asked myself why Firebase was still used.

@alswl Thank you for the excalidraw-collaboration repo, it is a great help.


EDIT: I've found a possible solution and changed my request for help into how I've solved my problem.

from excalidraw-collaboration.

alswl avatar alswl commented on June 1, 2024 1

@freezah I see. I think the sample(provide by another developer) was not works as expected properly.
But in my self-host domain(a private intranet deploy), it works.

I'm lack of cloud resources , so I cannot provide a online demo.

from excalidraw-collaboration.

alswl avatar alswl commented on June 1, 2024

Please show me the error message.

from excalidraw-collaboration.

freezah avatar freezah commented on June 1, 2024

"Couldn't save to the backend database. If problems persist, you should save your file locally to ensure you don't lose your work."

image

from excalidraw-collaboration.

alswl avatar alswl commented on June 1, 2024

@freezah I'm so sad, the error message is not provided by Docker or NodeJS(entrypoint). The error is beyond this project, I'can't provide helps.

from excalidraw-collaboration.

freezah avatar freezah commented on June 1, 2024

@alswl , ok, understood. Although my question is have you successfully deployed excalidraw + room + storage on a remote server publicly available over https ?

from excalidraw-collaboration.

alswl avatar alswl commented on June 1, 2024

@freezah I'm sure it works. You can check https://draw2.dmitrysamoylenko.in/#room=f8671f3fdef3ada5128c,Dyn8aqg8RII9rzUVIl9i7w .

You should check the request chains of your deployments.

And the excalidraw-room project is depend on crypto module, it required HTTPS protocol.

from excalidraw-collaboration.

freezah avatar freezah commented on June 1, 2024

@alswl

I just checked your link and it does not work as expected.

I did draw something, then copy/pasted session URL to different browser (in incognito mode), it opened but with empty canvas.

Also, if I click Export -> Export to link it does not create / provide any link.

from excalidraw-collaboration.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.