Comments (3)
You need to provide proper address tuple. Using port 0 is not gonna work.
I have tested the library agains the test clients for SOS Alarm and Nokas/Avarn in Sweden.
Should look something like:
address=('alarm.testserver.se', 1234)
from sos-access.
yeah, figured that out on my way home. the reason i had that other error message "[Errno 11001] getaddrinfo failed" was because it can't get the address info from a address that does not exist 'alarm.testserver.se'.
But using an address that exists actually helped..
according to socket.py
using port=0 will make it use "default" port number; whatever that is.
created pull req on updated example where the receiving address includes port
Thanks :)
from sos-access.
Merged your pull request. Closing the issue. Thanks again.
from sos-access.
Related Issues (13)
- Remove prints and logging
- Times from alarm server are without timezone.
- Add ReadTheDocs
- No check for max telegram size. HOT 1
- pip install sos-access HOT 6
- marshmallow 3.4.0 HOT 2
- additional_info dict not converted to string HOT 2
- tranmitter_time can't be string HOT 3
- encoding HOT 6
- When trying to install on Debian 10 I get this HOT 1
- New Authentication Response schema - newauthentication field HOT 7
- 'latin-1' codec can't encode character HOT 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 sos-access.