FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
342 views 1 comments
by anonymous

When I try to send an SMS using python 'requests' library I'm getting a timeout error

requests.exceptions.ReadTimeout: HTTPConnectionPool(host='192.168.1.1', port=80): Read timed out. (read timeout=60)

Similar when trying to use curl to send the request from CLI. When I'll use the same link in any browser It will work as it should.

Anyone had a problem like that or knows what I'm doing wrong?

1 Answer

0 votes
by anonymous
Issue resolved. My fault.

Router didn't have a route to server that was sending request. After adding it everything is working.
by anonymous
Hi moru35, i'm trying do the same, could you help me with the code ?