当前位置: 动力学知识库 > 问答 > 编程问答 >

google app engine - Channel API: Presence URLs are not called when deployed to production module

问题描述:

I have a Go app using the Channel API that works fine locally, presence URLs are called and clients can send data back and forth to eachother via the channel API.

However, once deployed, presence URLs are not called- at least from what I see both in the app itself and in the logs on the Google console (i.e. no logs to /_ah/channel/*). Clients can still connect and send data back and forth to eachother (i.e. can force them to notify on connect via a faked presence call issued via ajax), but no presence

This only happens when I deploy as a module

Here is the app.yaml if that helps:

application: my-app-name

module: chat

version: 1

runtime: go

api_version: go1

inbound_services:

- channel_presence

handlers:

- url: /static

static_dir: static

- url: /.*

script: _go_app

分享给朋友:
您可能感兴趣的文章:
随机阅读: