Hi Federico,
401 is returned when trying to connect to Influx with wrong or missing 
credentials.
The default credentials for the internal InfluxDB are defined as environment 
variables in the docker-compose file (Influx service) and, in case you don't 
want to use the default values, can be provided to StreamPipes by using the 
following environment variables SP_TS_STORAGE_ORG, SP_TS_STORAGE_TOKEN, 
SP_TS_STORAGE_BUCKET (see the available environment variables and their 
defaults in the `Env` class of the streampipes-commons module).
The Influx documentation has information on how to provide tokens when 
connecting to Influx from the terminal.

Cheers
Dominik



From: Rullo, Federico <[email protected]>
Sent: Wednesday, August 9, 2023 11:51 AM
To: [email protected]
Subject: New InfluxDB version Issues

Hello,

We recently switched to the new version of sp, 0.92.0, and we are trying to 
connect to the internal influxdb database to retrieve the data from the 
pipeline results.
When using the previous configuration now it gives us a 401 error, same error 
if I'm trying to explore the database through the terminal using the "influx" 
commands.ù
To connect to the DB we used the http://streampipes_influxdb_1:8086 with sp as 
the selected database.
Can you please give us more information about this? I have gone through your 
documentation, but I couldn't find anything.

Best,

Federico.

Federico Rullo
_________________________________________________________________

GFT Italia S.r.l.
Via A. Rimassa, 51/2
16129 Genova, Italy

T +39 025 8158169
[email protected]<mailto:[email protected]>
www.gft.com/it<http://www.gft.com/it>
https://blog.gft.com
https://www.linkedin.com/company/gft-group/
www.twitter.com/gft_it <http://www.twitter.com/gft_it%20>

Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)
VAT Code and number of registration with the Companies' Register of Milan: 
00819200478
Corporate capital: Euro 1,000,000 fully paid-in

Company subject to the direction and coordination activity of GFT Technologies 
SE

Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per posta 
elettronica ed Internet del Garante Privacy si rende noto che le informazioni 
contenute nella presente comunicazione e i relativi allegati possono essere 
riservate e sono, comunque, destinate esclusivamente alle persone o alla 
Società sopraindicati. Le stesse non sono da considerarsi comunicazioni 
personali, quindi eventuali risposte potranno essere conosciute da persone 
appartenenti all'azienda.

In accordance with Regulation EU 2016/679 (General Data Protection Regulation) 
and Guidelines Applying to the Use of E-Mails and the Internet in the 
Employment Context of Italian Data Protection Authority it is announced that 
the information in this communication (which includes any documents with it) is 
confidential and meant only for above-mentioned persons and/or Companies; the 
information is not personal therefore, It is intended for the addressee only 
and any replies will be known by people belonging to the company.
_________________________________________________________________

[cid:[email protected]]

Reply via email to