Open Yousif-Mobark opened 3 years ago
Hello thank you very much What version of ubuntu are you in? The application works in versions 16, 17, 18, 20 I did not test yet in version 21
Another important point is to check the read and write permissions on the folder where you have installed notifications
Once the little program is started, there you can press secondary click and click on explore secondary page, there it will appear if the system has really been raised in the indicated port
From python you can do the test with the following code
# -*- coding: utf-8 -*-
import json
import requests
payload ={"command": "notification", "data":{"type":"basic", "title":"Bien venida Maricarmen", "message":"Hello!"}}
response = requests.post("http://192.168.1.15:8088", json=payload)
print response
Keep in mind that the ip you must put the ip of your computer and in the port the port that you assigned to the listener for notifications
Hi Renatov ,
am using Ubuntu 20.04 .
i do the check for the request from the python it gives me the following error :
requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.8.101', port=8887): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fe0f2b42320>: Failed to establish a new connection: [Errno 111] Connection refused',))
it seems like the listening port not working i guess
If it is that the listening port and the IP are not responding, can you check if your firewall, or router behind your connection is allowing traffic to pass through that IP and through the port you gave it?
Hello , first thank you for the brilliant solution it is very cool . but unfortunately the Ubuntu notification client start but it seems like it not initiate connection in the port .
i test it via post man there is no service running .
how i could do that .