本文介绍了如何在Google AppEngine平台上访问Fauxton?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我在Google App Engine上创建了一个离线优先应用,PouchDB作为本地数据库,CouchDB作为我的远程数据库。我在Google AppEngine上启用了CouchDB,并尝试访问以下URL: https:// [my-app- id] .appspot.com:5984 / _utils / 当我这样做时,我得到以下内容: 无法联络到此网站连线已重设。 尝试:检查连接检查代理和防火墙运行Windows网络诊断 ERR_CONNECTION_RESET 所以我试着在防火墙设置中启用 https 访问权。 **防火墙** []允许HTTP流量 [Y]允许HTTPS流量 仍然出现上述错误。 我搜索了文档,但找不到任何有关如何访问Google AppEngine上的Fauxton(或Futon)的帮助。 (说明只会告诉您 app.yaml文件 应用程序:[app-name] 版本:4 运行时:python27 api_version:1 线程安全:false 处理程序: $ b - url:/ 脚本:main.py - url:/(favicon)\\.ico$ static_files:\1.ico 上传:/(favicon)\.ico application_readable:真 $ b $ - url:/(package)\.json$ static_files:\1.json upload:/(package)\.json application_readable: true 将图片作为静态资源# - url:/(.+\.(gif|png|jpg|json|ico))$ static_files:\\ \\ $。 application_readable:true $ b - url:/ index。 html static_files:index.html 上传:index.html - url:/licence.html static_files:licence.html 上传:授权.html - url:/privacy.html static_files:privacy.html 上传:privacy.html - url:/pouchnotes.manifest static_files:pouchnotes.manifest 上传:pouchnotes.manifest - url:/manifest.json static_files:manifest.json 上传:清单。 json #静态目录# - url:/ img static_dir:img - url:/ js static_dir:js - url:/ cs s static_dir:css 库: - name:webapp2 版本:2.5.2 :我在Bitnami社区论坛发布了这个问题(他们在Google App Engine上提供了CouchDB)解决方案我收到了一些来自Bitnami社区论坛的此帮助。 到目前为止的答案... (1)设置防火墙规则 - 确保你有一个。 (2)设置 sudo /opt/bitnami/couchdb/scripts/ctl.sh stop couchdb (4)编辑 local.ini 指向 0.0.0.0 而不是 127.0.0.1 - 但请注意,您需要键入 cd / opt / bitnami / couchdb / etc / ,然后按Enter键,然后 sudo vi local.ini (而不是 vi local.ini ,如说明所示)。 (5)登录到外部IP地址。 (以 admin 和以 sudo 为前缀的命令) I am creating an offline-first app on Google App Engine, with PouchDB as my local DB, and CouchDB as my remote DB. I have enabled CouchDB on Google AppEngine, and tried to go to the following URL:https://[my-app-id].appspot.com:5984/_utils/When I do that, I get the following:This site can’t be reachedThe connection was reset.Try:Checking the connectionChecking the proxy and the firewallRunning Windows Network DiagnosticsERR_CONNECTION_RESETSo I tried enabling https access in the firewall settings.**Firewalls**[ ] Allow HTTP traffic[Y] Allow HTTPS trafficStill getting the error above.I searched the documentation but cannot find anything helpful about how to access Fauxton (or Futon) on Google AppEngine. (The instructions only tell you how to access Fauxton on your local machine.)I have generated a private and public key and logged in to the server via command line.I have also followed the instructions about configuring the firewall to allow remote access, and have given it to my PC only.None of this has enabled me to access https://[my-app-id].appspot.com:5984/_utils/How do I access Fauxton on the Google AppEngine platform?Update: according to the development tools in my browser, my PouchDB application has successfully created a database to sync to, but it isn't on the server:app.yaml file application: [app-name]version: 4runtime: python27api_version: 1threadsafe: falsehandlers:- url: / script: main.py- url: /(favicon)\.ico$ static_files: \1.ico upload: /(favicon)\.ico application_readable: true- url: /(package)\.json$ static_files: \1.json upload: /(package)\.json application_readable: true # Serve images as static resources #- url: /(.+\.(gif|png|jpg|json|ico))$ static_files: \1 upload: .+\.(gif|png|jpg|json|ico)$ application_readable: true- url: /index.html static_files: index.html upload: index.html- url: /licence.html static_files: licence.html upload: licence.html- url: /privacy.html static_files: privacy.html upload: privacy.html- url: /pouchnotes.manifest static_files: pouchnotes.manifest upload: pouchnotes.manifest- url: /manifest.json static_files: manifest.json upload: manifest.json # static directories #- url: /img static_dir: img- url: /js static_dir: js- url: /css static_dir: csslibraries:- name: webapp2 version: "2.5.2"EDIT: I posted this question in the Bitnami community forum (they provide CouchDB on Google App Engine) 解决方案 I'm getting some help with this from the Bitnami Community Forum.Answers so far...(1) set up the firewall rules - make sure you have a permanent IP address for this.(2) set up SSH keys to access the server via command line(3) sudo /opt/bitnami/couchdb/scripts/ctl.sh stop couchdb(4) edit local.ini to point to 0.0.0.0 instead of 127.0.0.1 - but note that you will need to type cd /opt/bitnami/couchdb/etc/, press enter, and then sudo vi local.ini (rather than vi local.ini as the instructions suggest).(5) Log in to the external IP address. (Log in as admin and prefix commands with sudo)(NB: you don't need to run this in the GAE flexible environment) 这篇关于如何在Google AppEngine平台上访问Fauxton?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!