Giter VIP home page Giter VIP logo

Comments (11)

arunoda avatar arunoda commented on July 19, 2024

Normally, meteor's sockjs requests are configured for cross domain stuff.
Nothing much to do.
Can I see some live version I can check for?

On Sun, Mar 15, 2015 at 7:55 AM Jadson [email protected] wrote:

So, I have two systems: backend.site.com http://backend.site.com and client.site.com
http://client.site.com

But in Firefox the Cross-Origin blocks the content of the backend. I
configured the package browser-policy but the error continues.

But I can't see this error in: https://bulletproofmeteor.com/
@arunoda https://github.com/arunoda What did you do to resolve this?

PS: I'm sorry to open this issue, but after hours trying and searching was
not a solution, so I have to ask for those who already have it resolved.
Thank You!


Reply to this email directly or view it on GitHub
#28.

from cluster.

jadsonlourenco avatar jadsonlourenco commented on July 19, 2024

You can see the live version: https://beta-new.chessboardradio.com/ - https://backend.chessboardradio.com/
or the apps code?

I'm using the same example that you talk on documentation, with DigitalOcean server and CloudFlare (SSL, with DISABLE_WEBSOCKETS="1").
But I get the same error on localhost.

from cluster.

arunoda avatar arunoda commented on July 19, 2024

May be that's because BFM uses a root domain.
I'll give it a try .

from cluster.

jadsonlourenco avatar jadsonlourenco commented on July 19, 2024

sorry, "BFM"?

from cluster.

arunoda avatar arunoda commented on July 19, 2024

My Bad. It's should be BPM (BulletProof Meteor)

On Sun, Mar 15, 2015 at 8:23 AM Jadson [email protected] wrote:

sorry, "BFM"?


Reply to this email directly or view it on GitHub
#28 (comment).

from cluster.

arunoda avatar arunoda commented on July 19, 2024

I use cluster for Kadira as well. But, I directly use WS directly.

On Sun, Mar 15, 2015 at 8:25 AM Arunoda Susiripala <
[email protected]> wrote:

My Bad. It's should be BPM (BulletProof Meteor)

On Sun, Mar 15, 2015 at 8:23 AM Jadson [email protected] wrote:

sorry, "BFM"?


Reply to this email directly or view it on GitHub
#28 (comment).

from cluster.

jadsonlourenco avatar jadsonlourenco commented on July 19, 2024

Yes, I try with enabled WS on localhost, for example, and not work too.

But in BFM you have two sub domain, that I think are "clients" of cluster. Or thinking better, your backend and front-end apps are the same app, just with more "nodes" to make the cluster to load balance, is that?

Well, for my plan I think to make one backend system, just with server code, and other just with client code, so the "clients" will ever call to backend to get/post content from database. Then the backend system will have more instances to load balance the server side job, if need.

And this works fine on Chrome, but not in Safari, Firefox and Opera. All the same error.

from cluster.

jadsonlourenco avatar jadsonlourenco commented on July 19, 2024

ok, I not will close this now because I want share the solution soon, but in this case I'm working with Polymer (Web Components) and on Firefox I can't load the view. So I removed the polymer from <head>and now I can see the content from the backend of the Cluster. I get this message on Firefox console, but now I know that backend send data to "client", and cluster works on Firefox too.

Now I need to know why I get this message yet on console, and ever say the "Cross-Origin" is a problem with backend URL...

Well, thanks for you help, I will continue and soon back with solution.

from cluster.

arunoda avatar arunoda commented on July 19, 2024

Okay. Cool.
I will give it a look also.
On 2015 මාර්තු 15, ඉරිදා at පෙ.ව. 8.40 Jadson [email protected]
wrote:

ok, I not will close this now because I want share the solution soon, but
in this case I'm working with Polymer (Web Components) and on Firefox I
can't load the view. So I removed the polymer from and now I can
see the content from the backend of the Cluster. I get this message on
Firefox console, but now I know that backend send data to "client", and
cluster works on Firefox too.

Now I need to know why I get this message yet on console, and ever say the
"Cross-Origin" is a problem with backend URL...

Well, thanks for you help, I will continue and soon back with solution.


Reply to this email directly or view it on GitHub
#28 (comment).

from cluster.

jadsonlourenco avatar jadsonlourenco commented on July 19, 2024

Ok, closing here because I get the solution.

On console of Firefox ever show this message, but load the content correctly.

I get a problem with Polymer, because of webcomponents.js need be loaded before render the main template, so I have added it as a package to load on start, inside Meteor app, not from CDN like before.

Well, thank you so much for the reply, and help.

from cluster.

arunoda avatar arunoda commented on July 19, 2024

Okay. Great. Happy to help.
On 2015 මාර්තු 15, ඉරිදා at පෙ.ව. 9.41 Jadson [email protected]
wrote:

Closed #28 #28.


Reply to this email directly or view it on GitHub
#28 (comment).

from cluster.

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.