Help

Unsafe Legacy Renegotiation Error

Topic Labels: Automations Data
485 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Jack_Coley
5 - Automation Enthusiast
5 - Automation Enthusiast

We've been using the following script for about a year now with no issues

 

// Get Input - Gets record ID of updated record can then get info like rid.uei
let rid = input.config();
let apiKey = 'XXXXXXXXXXXXX';

// Make the request
let ueiData = await fetch(`https://api.sam.gov/entity-information/v3/entities?api_key=${apiKey}&ueiSAM=${rid.uei}`);
let ueiResults = await ueiData.json();

// Output the data for the next action
output.set('ueiResults',ueiResults);

 

For whatever reason it stopped working this week. When I put the URL directly into the browser it still returns the correct information. It's only when we try to pull the information from the script that we received the following error:

 

Error: request to https://34.199.241.198/entity-information/v3/entities?api_key=XXXXXXXXXXXXX failed, reason: write EPROTO 80DCB8B1417F0000:error:0A000152:SSL routines:final_renegotiate:unsafe legacy renegotiation disabled:ssl/statem/extensions.c:893: at main on line 7

 

Any ideas on why this might be happening? or what could have changed? 

0 Replies 0