perfsonar / archive

The perfSONAR Measurement Archive based on OpenSearch
Apache License 2.0
0 stars 1 forks source link

Unable to Post Data to the Database via API #40

Open davmugler opened 2 months ago

davmugler commented 2 months ago

I am trying to write data to the database via the API. I followed the instructions to retrieve the token using the following command (screenshot 1):

/usr/lib/perfsonar/archive/perfsonar-scripts/psconfig_archive.sh

I then placed the output in the following file:

/etc/perfsonar/psconfig/archives.d/http_logstash.json

However, when I attempt to make a POST request to the archive, I am blocked from proceeding (screenshot 2).

Steps to Reproduce:

  1. Retrieve the token using the command above.
  2. Place the token in the specified file.
  3. Attempt to make a POST request to the archive.

Expected Behavior: The POST request should succeed, allowing data to be written to the archive. This was possible in previous versions.

Actual Behavior: The POST request is blocked (screenshot 2).

Attachments: Screenshot 1: Screenshot 2024-08-15 145824

Screenshot 2: Screenshot 2024-08-15 145630