我正在Google app Engine上创建一个离线的第一个应用程序,PouchDB作为我的本地DB,CouchDB作为我的远程DB。我在Google AppEngine上启用了CouchDB,并尝试转到以下URL:
https://[my-app-id].appspot.com:5984/_utils/
当我这样做时,我得到以下信息:
This site canât be reached
The connection was reset.
Try:
Checking the connection
Checking the proxy and the firewall
Running Windows Network Diagnostics
ERR_CONNECTION_RESET
所以我试着启用
https
访问防火墙设置。
**Firewalls**
[ ] Allow HTTP traffic
[Y] Allow HTTPS traffic
仍然存在上述错误。
我搜索了文档,但没有找到任何关于如何在谷歌AppEngine上访问Fauxton(或Futon)的有用信息。(说明书只告诉您
how to access Fauxton on your local machine
.)
我有
generated a private and public key and logged in to the server via command line
.
我也遵循了
instructions about configuring the firewall to allow remote access
,并仅将其交给我的电脑。
https://[my-app-id].appspot.com:5984/_utils/
如何在谷歌AppEngine平台上访问Fauxton?
使现代化
:根据我浏览器中的开发工具,我的PouchDB应用程序已成功创建了一个要同步的数据库,但它不在服务器上:
应用程序。yaml文件
application: [app-name]
version: 4
runtime: python27
api_version: 1
threadsafe: false
handlers:
- 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: css
libraries:
- name: webapp2
version: "2.5.2"
编辑
:
I posted this question in the Bitnami community forum
(他们在谷歌应用程序引擎上提供CouchDB)