question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Documentation at 'fastapi.tiangolo.com' not responds

See original GitHub issue

Describe the bug The documentation at https://fastapi.tiangolo.com/ does not respond - 80% of the time I receive The connection has timed out.

To Reproduce Steps to reproduce the behavior:

  1. Open your browser
  2. Enter URL https://fastapi.tiangolo.com/
  3. hit ‘Enter’
  4. See error

Expected behavior The documentation should open.

Screenshots NA

Environment:

  • OS: Ubuntu 16.04; Firefox 66.0.5
  • FastAPI Version [e.g. 0.3.0], get it with: any; Documentation URL

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
madkotecommented, May 28, 2019

@wshayes @tiangolo thanks to you both! I processed for now only the half of tutorial (by applying it on my projects). The rest of tutorial is for this week.

1reaction
tiangolocommented, May 27, 2019

Thanks @wshayes !

@madkote BTW, JSON is valid YAML. YAML is a superset of JSON.

But it has the additional encoding ideas of using indentation.

I have been thinking about adding a tutorial on creating custom responses, using this as an example.

But here, as a preview:

You could create a response that inherits from Starlette’s Response, set the media_type to the correct type (the one your team uses, as there’s no official one). Then use, e.g. PyYAML to receive the dict and convert it to YAML with the canonical indentation-based format, and return that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

FastAPI - tiangolo
FastAPI framework, high performance, easy to learn, fast to code, ready for production.
Read more >
Help FastAPI - Get Help
To fix an existing issue/bug. Make sure to add tests. To add a new feature. Make sure to add tests. Make sure to...
Read more >
Handling Errors - FastAPI
Remember all those "404 Not Found" errors (and jokes)? ... client will receive an HTTP status code of 404 (the "not found" error),...
Read more >
Release Notes - FastAPI
PR #5793 by @tiangolo. ... Add Arabic issue number to Notify Translations GitHub Action. ... Add docs for creating a custom Response class....
Read more >
Response Status Code - FastAPI
FastAPI knows this, and will produce OpenAPI docs that state there is no response body. About HTTP status codes¶. Note. If you already...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found