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] Search bar on FastAPI docs not working on Safari.

See original GitHub issue

Not a bug in library itself but on docs webpage. The issue is that the search bar on documentation page (fastapi.tiangolo.com) does not work on safari browser on mac. Clicking on search bar shows Initializing search and then nothing else happens.

It works on chrome though on the same system.

Here’s the screenshot:

Screenshot 2020-05-21 at 7 22 19 PM

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
iakremnevcommented, Jul 14, 2020

The search hangs in ‘Initializing search’ state, while debugger shows the following error.

Source map error: Error: request failed with status 403
Resource URL: https://sidecar.gitter.im/dist/sidecar.v1.js
Source Map URL: sidecar.js.map

This happens like 9/10 times I try to load the site. Even in incognito mode, all browser extensions disabled.

UPD: I tried to turn off built-in Firefox tracking blocks. The search is sporadically available, but the error is always present. It seems that the search is available only on the first page reload after changing element blocking policies (either to stricter or more tolerant).

1reaction
tiangolocommented, Dec 6, 2020

This was probably related to an older version of the theme Material for MkDocs. But I think the newer versions should work fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SC in Safari Search Bar Not Working - Apple Community
It is a bug of the search bar on Safari for sure but here is a useful workaround.
Read more >
[Bug] Search bar not working correctly on dev API docs
When I use the search bar on the Figma API docs results don't appear as you type and hitting enter doesn't display any...
Read more >
405 method not allowed when using 'put', but success with 'get ...
I can't post a full answer now, but the quickest solution for now is to not access the API directly from the browser...
Read more >
How to Fix the HTTP 304 Not Modified Status Code - Kinsta®
The HTTP 304 status code tells you there's a communication problem between the browser and a website's server. Fix this issue using one...
Read more >
Metadata and Docs URLs - FastAPI
This is the version of your own application, not of OpenAPI. For example 2.5.0 . terms_of_service, str, A URL to the Terms of...
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