puter icon indicating copy to clipboard operation
puter copied to clipboard

Why does my local deployment communicate with https://puter.com

Open s-geissler opened this issue 1 year ago • 2 comments

Hi everyone,

What is the reason my local reployment wants to establish a websocket with puter.com?

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://puter.com/socket.io/?auth_token=XYZ. (Reason: CORS request did not succeed). Status code: (null).

Firefox can’t establish a connection to the server at wss://puter.com/socket.io/?auth_token=XYZ&transport=websocket&sid=xgBTosy78HgA20tOAK-2. bundle.min.js:126:17426

Is there a way to host the service fully locally, i.e. on a machine without access to the Internet?

s-geissler avatar Mar 07 '24 09:03 s-geissler

Hi there! Thanks for trying it out. :^)

We don't yet have a self-hosting back-end available, so all deployments have to make use of puter.com for that. This repository is just the front-end. But, self-hosting is a very popular request and we want to get that working as soon as possible. You can find a bit of a discussion about that here.

So yes, it's coming! But it's not as straightforward as it sounds, so it will take a little while to get there.

AtkinsSJ avatar Mar 07 '24 10:03 AtkinsSJ

We don't yet have a self-hosting back-end available

... yet. ETA 2-4 weeks.

jelveh avatar Mar 07 '24 21:03 jelveh

Same thing happened to me and I was shocked to know this is only the front-end part. The full thing should run locally.

fchamieh avatar Mar 12 '24 13:03 fchamieh

@fchamieh We're actively working to open-source it, it'll be out in less than 3 weeks. @KernelDeimos is working on this day and night right now.

jelveh avatar Mar 13 '24 02:03 jelveh

happy to wait for the great work

mostcute avatar Mar 13 '24 03:03 mostcute

Thank you, stay tuned :)

jelveh avatar Mar 13 '24 04:03 jelveh