Comments (8)
Have you tried running the included sample applications by following the steps of Getting Started?
from arrjs.
Still get weird ip but it looks like negotiation is occurring
Page comes back with
Web application not found in registry
c:\software\node-v0.7.3\Release\node_modules\arrjs\src>node arr.js --mongo=mongo
db://localhost/arr -p 1337 -s 443
DEBUG:169.254.3.96
Managed TCP port range: 8000-9000
Mongo DB: mongodb://localhost/arr
Unsecured listen address: 169.254.3.96:1337
SSL listen address: 169.254.3.96:443
Certificate: certs/wildcard-janczuk-cert.pem
Private key: certs/wildcard-janczuk-key.pem
Connected to Mongo DB
Loaded apps collection
Loaded SNI configuration
Configuring SNI for hostname app1.janczuk.org
Configuring SNI for hostname app2.janczuk.org
Configuring SNI for hostname app2.tangyorange.com
Configuring SNI for hostname ws1.janczuk.org
Configuring SNI for hostname ws1.tangyorange.com
ARR.JS started
Ctrl-C to terminate
from arrjs.
The hostname of the requests you are making (Host HTTP request header) must match one of the host names from the apps collection in your arr Mongo database.
from arrjs.
yeah...you pull full string into context.host so i'm going to update db to add port to key..
from arrjs.
Good point, yes. What are you building by the way?
from arrjs.
that results in
An error occurred when routing: {"code":"Unknown system errno 10060","errno":"Unknown system errno 10060","syscall":"connect"}
from arrjs.
BTW ws handles straight websockets from chrome and mozilla. socket.io does not in my experience.
from arrjs.
So I am assuming you are running on Windows. 10060 is "connection timed out" (http://msdn.microsoft.com/en-us/library/windows/desktop/ms740668(v=vs.85).aspx). Is anything actually listening on the IP and port number arrjs claims it is attempting to route the message to in https://github.com/tjanczuk/arrjs/blob/master/src/arr.js#L104?
The sample WS app included in wrrjs configures socket.io to only use websockets (https://github.com/tjanczuk/arrjs/blob/master/src/apps/ws1/server.js#L21). If you turn on network tracing in the browser you should see the upgrade request.
from arrjs.
Related Issues (1)
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 arrjs.