Comments (11)
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.
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.
May be that's because BFM uses a root domain.
I'll give it a try .
from cluster.
sorry, "BFM"?
from cluster.
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.
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.
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.
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.
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.
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.
Okay. Great. Happy to help.
On 2015 මාර්තු 15, ඉරිදා at පෙ.ව. 9.41 Jadson [email protected]
wrote:
—
Reply to this email directly or view it on GitHub
#28 (comment).
from cluster.
Related Issues (20)
- Using domain name in ROOT_URL cause websocket issue HOT 4
- Has @arunoda gone missing? HOT 1
- Can a cluster node signal that it is busy? HOT 2
- FATAL ERROR: JS Allocation failed - process out of memory HOT 2
- Page refreshes endlessly in a browser after editing coffee/jade files HOT 2
- make cluster work with cordova
- WebSockets for Everyone
- Refresh requires App restart HOT 4
- After login this.connection inside publish is missing keys, for example this.connection.host is undefined
- 3 Windows Server VM with 3 meteor intances ( QUESTION)
- Fault tolerance available?
- FATAL ERROR: Evacuation Allocation failed - process out of memory HOT 1
- Meteor logging ceases after switch over
- How do I uninstall cluster HOT 2
- CLUSTER_ENDPOINT_URL isn't automatically set with new Meteor Up HOT 1
- Cant connect in Meteor 1.4.2.1
- Load balance multi service of the same app.
- is this project dead? HOT 6
- Module not working anymore HOT 4
- MongoDB depedency is breaking cluster
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cluster.