This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Problem with socket.http
#1
I have a script running to enter data in an influx database. This script suddenly stopped working. I copied part of the script for testing and I have the impression there is something wrong with the socket.http library.
I reduced the script to the following:
Code:
require 'ltn12'
require('socket.http')

socket.http.TIMEOUT = 15

This generates an error: attempt to index field 'http' (a nil value). This code is in the original script which has been running for years.

At the same time a third party software has started giving the error:

attempt to call field 'tcp' ( a nil value).

i have already rebooted the system.

What could be wrong here?

Thanks.
Reply


Messages In This Thread
Problem with socket.http - by baggins - 24.04.2023, 09:20
RE: Problem with socket.http - by admin - 24.04.2023, 09:40
RE: Problem with socket.http - by baggins - 24.04.2023, 09:57
RE: Problem with socket.http - by admin - 24.04.2023, 15:25
RE: Problem with socket.http - by baggins - 25.04.2023, 10:00
RE: Problem with socket.http - by admin - 25.04.2023, 10:05

Forum Jump: