ably not working on my localhost but working on prod - ably-realtime

so I am using ably to make a real time data transfer application so when I transfer data to the other devices, the call back does not run, so it seems ably is not working on localhost.

Related

Python & Flask Push Messages

I am developing a sort of IoT type system, where there is control software, a server, and client devices (which are embedded linux devices).
I have a flask server running a REST web service. Control software sends messages for a specific device to the flask web service running on the server. When these messages are received, they are stored in a database.
Client devices poll the sever to determine if there is a new message waiting for the device. This works well but becomes prohibitive as the number of devices grows.
I'd like to find a way to have the messages sent directly from the server to the device as they are received at the server. Is there a simple way to add this functionality to flask? This seems a bit like push notifications.
Is it possible to have each device open a socket like communication to the server and keep it open? Is this a bad idea if I just use TCP sockets for this?

How Can I Launch My Flutter App that connects a serve I have coded in dart

I have created an app that connects to a serve on my localhost and sende/receives data.I use mongodb as database and everything works perefectly in the localhost.However I want to server run 7/24 and being connected from all the users.How should I make the server run 7/24 and be reachable from any wifi ?
Not really a "Flutter" question, but anyway, you should explore your options, depending on what you need from a server, check out AWS (Amazon Web Services), Google Cloud Run and such. Also Google owned Firebase - it has nice services with a reasonable free tier.
I also used MongoDB for my backend on a private server, but then switched to Firebase (Firestore in particular) and it works just fine for what I need.

Iotify - Creating IoT devices to do GET requests to a local server using IoTify.io

I am trying to DDoS a local server on my PC in order to test out some anti-DDoS methods on my local server. I am trying to simulate several IoT devices that will do a http GET request to my server on loop, trying to attck the server, I have already written the code (a simple js GET request) and it does work on a physical IoT Device. I need to scale it up to multiple in an IoT network environment, and I have been trying to use IoTify.io, but i cant quite understand the template creation phase. Can someone explain or point me at a tutorial/documentation that could help. P.S. I have read through the documentation provided already and I do require more Info. Thank you.

Connecting to Openfire using Icelink

I’m trying to build a voip app with openfire on server-side, Icelink on client-side in xamarin android.
The problem is the openfire client(running on port 5222) does not respond at all even from the local host.
For example when i try 192.168.1.xx:5222 in my browser, it is always in acquire stat and does not response anything.
I have checked all the primitive things and tested the server with Spark and it works fine!

Meteor: How to develop multiple webservers with Reactive DOTW

I am currently looking at possible development models for a device that will be in a clients home. I need the device to run a local copy of Meteor while also being able to get and insert information from a central server in a secure/reactive way.
All sensitive information has not been included in this image
I am required to make a local server as I need to run shell commands on the device. While the device could make HTTP webhook calls, it would be slow due to packet travel time and does not meet requirements.
I know that the local server could connect to the Central Server mongodb which would be ideal, however as this local server is physically located in a clients house, this means that the mongodb password would be exposed (big security problem). Also I would be unable to control what information is sent to the local server. I was unable to find a way to subscribe to an external server, which would be a great solution.
Another way could be that the local server simply use HTTP requests, however another requirement is that Audit requests appear almost as soon as they are issued which is ideal for a reactive mongodb item. A heartbeat wouldn't really fit due to the data/processing overheads and slowness.
The summary the question is: How to make a device to run a local copy of Meteor while also being able to get and insert information from a central server in a secure/reactive way.
Well in the end, I found that you can use cross-server and even CORS connections with https://docs.meteor.com/api/connections.html
So now any aspiring developer can use the DDP framework.