** About the error occurrence situation of "Oops VFS connection does not exist" that occurred during the development of Chapter 1 ** of Rails Tutorial 4th Edition and its solution.
Start Rails server on Cloud9 and display the default page from the preview When I try to display it, the following image is displayed. Error message: "Oops VFS connection does not exist"
Cookies are not required to launch Could9IDE itself, but it seems that ** cookies must be enabled to use the preview function of apps and files **. (Actually, the error message "Third-party cookies disabled" appeared when I first previewed it. You have to look closely at the error message.)
[reference] AWS User Guide Application Preview or File Preview Notification: "Disabled third-party cookies" https://docs.aws.amazon.com/ja_jp/cloud9/latest/user-guide/troubleshooting.html#troubleshooting-preview (January 2, 2021)
In Safari's Preferences> Privacy tab, uncheck ** "Prevent cross-site tracking" **. The default is "on (enabled)". By the way, Safari's "Prevent cross-site tracking" default setting is from version 11.0.
I felt that it was difficult to find the cause of this time from the error message "Oops VFS connection does not exist", so I wrote this article. When developing on a cloud basis, you also need to pay attention to your browser settings.
Recommended Posts