Closed withinthefog closed 9 years ago
When using sub path in ROOT_URL(something like ROOT_URL=http://localhost:4000/sub/path/), cluster keep throwing 404 to the client.
ROOT_URL
ROOT_URL=http://localhost:4000/sub/path/
Here is the startup script I use:
ROOT_URL=http://localhost:4000/my/serviceA \ MONGO_URL=mongodb://localhost:27017/serviceA \ MONGO_OPLOG_URL=mongodb://localhost:27017/local?authSource=admin \ CLUSTER_DISCOVERY_URL=mongodb://localhost:27017/cluster \ CLUSTER_SERVICE=serviceA \ meteor -p 4000
And in the browser keep receiving this error:
POST http://localhost:4000/cluster-ddp/626f59f55e98dc5b08e1b782f6e819fce5207e23/bm/527/fjg85py9/xhr 404 (Not Found)
After remove the /my/serviceA from the ROOT_URL, everything works fine again.
/my/serviceA
When using sub path in
ROOT_URL
(something likeROOT_URL=http://localhost:4000/sub/path/
), cluster keep throwing 404 to the client.Here is the startup script I use:
And in the browser keep receiving this error:
After remove the
/my/serviceA
from theROOT_URL
, everything works fine again.