Error 400: Attachment is Empty for Solarwinds SGC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2024 10:45 AM - edited 04-04-2024 10:48 AM
Hello,
I am getting the below error when running a data source from the Solarwinds Service Graph Connector:
com.snc.process_flow.exception.ProcessAutomationException: Error creating Attachment raw_page_stream : Method failed: (/api/now/hub/temporaryattachment) with code: 400 with reason: Attachment is empty
I have confirmed that the credentials being used can login to the solarwinds instance.
glide.attachment.extensions also doesn't have a value and allows all file extensions as I have seen a KB saying that could be the problem ( KB0866858 )
Can anybody please advise?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2024 02:43 AM
Tried 17774 but same issue. ServiceNow originally said that the issue was with a certification where the hostname in the config did not match the CN name on the certificate. Is there an easy way to get that cert which was created from the SGC on the mid server re-generated?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2024 02:36 AM
TCP/17778 is deprecated as release of SolarWinds 2023.1 Introduced a new port 17774 for the SWIS REST API.
I have learned it by hard when one of my clients upgraded SolarWinds and SG connector stopped working.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2024 02:49 AM
Correct, starting with Solarwinds 2024.4 only TCP/17774 is available to connect thru API.
Below this version both can be accepted 17778 & 17774 depends on the configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2024 06:40 AM
Hi @The ITOM Bart - what was your solution to resolve this?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2024 07:04 AM
You just need to change the connection string, you can use the URL builder with the correct port.
That's it.