Meteor-Community-Packages / Meteor-Community-Packages/raix-push

net::ERR_CONNECTION_REFUSED when I send a push notification

Open
#276 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
505
Forks
191
PR merge metrics
No merged PRs in 30d

Description

I am using digital ocean and Ubuntu 14.04 x64 in production and it is deployed in a docker container

Push notifications have been working successfully till recently.

When I send a push notification it works correctly in development but when I send one in production I get a **net::ERR_CONNECTION_REFUSED** error in the console

I also get **W/chromium(10080): [WARNING:aw_network_delegate.cc(66)] http://app.myapp.com/sockjs/info?cb=jfdltrzzsa#-102#1**

on the node server side.

Any clue to what is the problem and how I can fix it will be greatly appreciated

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the production deployment on DigitalOcean with Ubuntu 14.04 in its Docker container, then inspect the failing app.myapp.com/sockjs/info connection and compare it with development. Check the production network and server configuration; done means push notifications work in production without net::ERR_CONNECTION_REFUSED.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, javascript, node.js, ubuntu
Domain
backend, mobile-dev, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.