GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — fix: make WebID profile fetch respect NODE_TLS_REJECT_UNAUTHORIZED in tests · Issue #1843 · nodeSolidServer/node-solid-server Open DescriptionProblemThe WebID-TLS integration tests timeout because the internal When verifying a WebID certificate, the server fetches the user's profile (e.g., Simplest Fix (~5 lines)Modify import fetch from 'node-fetch' import https from 'https' import { URL } from 'url' // Respect NODE_TLS_REJECT_UNAUTHORIZED for testing with self-signed certs const agent = process.env.NODE_TLS_REJECT_UNAUTHORIZED === '0' ? new https.Agent({ rejectUnauthorized: false }) : undefined export default function get (webid, callback) { // ... existing code ... fetch(uri.href, { method: 'GET', headers, agent }) // ... } Why This Works
After This FixRemove Related
ActivityMetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |