Closed tzzed closed 1 month ago
Describe the bug For some measure I get the following error
-- | -- | -- | | 2024-07-31 16:49:15.216 | self.port = r.read(IntVar(POSTGRES_PORT_ENV_VAR, self.port)) | | | 2024-07-31 16:49:15.216 | File "/src/ngsi-timeseries-api/src/utils/cfgreader.py", line 148, in read | | | 2024-07-31 16:49:15.216 | return var.read(env_value) | | | 2024-07-31 16:49:15.216 | File "/src/ngsi-timeseries-api/src/utils/cfgreader.py", line 47, in read | | | 2024-07-31 16:49:15.216 | return self._do_read(rep) | | | 2024-07-31 16:49:15.216 | File "/src/ngsi-timeseries-api/src/utils/cfgreader.py", line 70, in _do_read | | | 2024-07-31 16:49:15.216 | return int(rep) | | | 2024-07-31 16:49:15.216 | ValueError: invalid literal for int() with base 10: 'tcp://10.X.X.X:5432'
Expected behavior the measure should be inserted in Timescale
Environment (please complete the following information):
The bug fixed after changing configuration. thank you!
OK I finally found the problem, the POSTGRES_PORT was changed in the configuration.
Describe the bug For some measure I get the following error
Expected behavior the measure should be inserted in Timescale
Environment (please complete the following information):