shah / uniform-resource

Uniform resource transformers for content orchestration engines
GNU Affero General Public License v3.0
1 stars 0 forks source link

FetchError: network timeout (Test single, valid, UniformResourceContent) #13

Closed vprdnew closed 4 years ago

vprdnew commented 4 years ago

I ran a test with the given url and geting Timeout even after i increase the time out to 100000. URL: https://www.healthcareguys.com/

Content of resource:

{
  isInvalidResource: true,
  isUniformResource: true,
  provenance: { provenanceURN: 'unkown' },
  uri: 'https://www.healthcareguys.com/',
  label: undefined,
  error: FetchError: network timeout at: https://www.healthcareguys.com/
      at Timeout.<anonymous> (/home/vishnu/Projects/cqa/uniform-resource/node_modules/node-fetch/lib/index.js:1448:13)
      at listOnTimeout (internal/timers.js:551:17)
      at processTimers (internal/timers.js:494:7) {
    type: 'request-timeout'
  },
  remarks: 'network timeout at: https://www.healthcareguys.com/'

Same hapen when tested with "redirected (traversed/followed) resource"

shah commented 4 years ago

Do a search for fetchTimeOut in Context and transformers -- the default is now 5 seconds.