Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load error via timeout if is JSON is invalid. #245

Open
valentinedwv opened this issue Sep 28, 2023 · 0 comments
Open

load error via timeout if is JSON is invalid. #245

valentinedwv opened this issue Sep 28, 2023 · 0 comments
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@valentinedwv
Copy link
Member

valentinedwv commented Sep 28, 2023

If there is not an endline after the last closing brace, a raw json will timeout on read and will not load

Loading ecrr from a github, initially thought this was a issue with the above, but it may be a github loading rate issue. since it timesout after 8-10 files

Think that if a file is invalid, it causes a load error, because the file goes to headless

    - sourcetype: sitemap
      name: ecrr_examples
      logo: https://www.earthcube.org/sites/default/files/doc-repository/logo_earthcube_full_horizontal.png
      url: https://earthcube.github.io/ecrro/Examples/sitemap.xml
      headless: false
      pid: ""
      propername: Earthcube Resource Registry Examples
      domain: http://www.earthcube.org/resourceregistry/examples
      active: false
      credentialsfile: ""
      other: {}
      headlesswait: 0
      delay: 0
      identifierpath: ""
      apipagelimit: 0
      identifiertype: identifierstring
      fixcontextoption: 0
      acceptcontenttype: application/ld+json, text/html
      jsonprofile: application/ld+json
@valentinedwv valentinedwv added bug Something isn't working question Further information is requested labels Sep 28, 2023
@valentinedwv valentinedwv self-assigned this Sep 28, 2023
@valentinedwv valentinedwv changed the title load error if no endline after last closing brace reading raw json, load error via timeout if is JSON is invalid. Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant