balderdashy / balderdashy/sails
Cant' connect with socket.io
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 22.8k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
Node version: 10.15.3
Sails version (sails): 1.0.2
ORM hook version (sails-hook-orm): 2.0.0-16
Sockets hook version (sails-hook-sockets): ^1.4.0
Grunt hook version (sails-hook-grunt): ^3.0.2
I run two server one using sails.js v1 (port=1337) and plain express (port=3001). I'm using nativescript app (mobile) and when I connect using this url http://localhost:3001 (plain express), My application connected successfully but when I changed the url to http://localhost:1337 (my sailsjs server), My app didnt connect :( But the server detects it in beforeConnect. Is there any mistakes im doing?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no file or test. Start by reproducing the NativeScript connection against the Sails v1 server while observing the beforeConnect hook, then compare it with the working Express endpoint and the listed Sails socket, ORM, and Node versions. Done means identifying and documenting a confirmed cause and connection path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- express, javascript, node.js
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100