What role does the `ws://` or `http://` protocol play in 'Jupyter error fetching route'?

Responsive Ad Header

Question

Grade: Education Subject: Support
What role does the `ws://` or `http://` protocol play in 'Jupyter error fetching route'?
Asked by:
88 Viewed 88 Answers

Answer (88)

Best Answer
(348)
The protocol prefix in the URL (`ws://` for websockets or `http://` for regular HTTP requests) is crucial for Jupyter's communication. If your server is running on `https://` but your browser is trying to connect via `ws://`, or vice-versa, this mismatch can cause an 'error fetching route'. Ensure the protocol matches your server's configuration.