收藏
回答

requestdomain isnotopen's webview domain

框架类型 操作时间 AppID
小程序 2018-02-12 wxbe0118ebb078a038

目的:问题求解


问题描述:

第三方平台代旗下小程序配置业务域时,返回 "{"errcode":89021,"errmsg":"request domain is not open's webview domain! hint: [eylqeA06731513]"}


  1. 第三方平台已设置好业务域,且按文档要求在该业务域下配置了  校验文件。校验文件可访问。

  2. 按照文档要求,代旗下小程序配置业务域


http-outgoing-45 >> POST /wxa/setwebviewdomain?access_token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx HTTP/1.1

http-outgoing-45 >> Content-Length: 84

http-outgoing-45 >> Content-Type: text/plain; charset=UTF-8

http-outgoing-45 >> Host: api.weixin.qq.com

http-outgoing-45 >> Connection: Keep-Alive

http-outgoing-45 >> User-Agent: Apache-HttpClient/4.4.1 (Java/1.8.0_131)

http-outgoing-45 >> Accept-Encoding: gzip,deflate

http-outgoing-45 >> "POST /wxa/setwebviewdomain?access_token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx HTTP/1.1[\r][\n]"

http-outgoing-45 >> "Content-Length: 84[\r][\n]"

http-outgoing-45 >> "Content-Type: text/plain; charset=UTF-8[\r][\n]"

http-outgoing-45 >> "Host: api.weixin.qq.com[\r][\n]"

http-outgoing-45 >> "Connection: Keep-Alive[\r][\n]"

http-outgoing-45 >> "User-Agent: Apache-HttpClient/4.4.1 (Java/1.8.0_131)[\r][\n]"

http-outgoing-45 >> "Accept-Encoding: gzip,deflate[\r][\n]"

http-outgoing-45 >> "[\r][\n]"

http-outgoing-45 >> "{"action":"set","webviewdomain":["https://www.xxxxxx.com","https://www.xxxxxx.com"]}"

http-outgoing-45 << "HTTP/1.1 200 OK[\r][\n]"

http-outgoing-45 << "Connection: keep-alive[\r][\n]"

http-outgoing-45 << "Content-Type: application/json; charset=UTF-8[\r][\n]"

http-outgoing-45 << "Content-Length: 96[\r][\n]"

http-outgoing-45 << "[\r][\n]"

http-outgoing-45 << "{"errcode":89021,"errmsg":"request domain is not open's webview domain! hint: [eylqeA06731513]"}"

http-outgoing-45 << HTTP/1.1 200 OK

http-outgoing-45 << Connection: keep-alive

http-outgoing-45 << Content-Type: application/json; charset=UTF-8

http-outgoing-45 << Content-Length: 96


3. 配置业务域时的两个参数是 一样的 https://www.xxxxxx.com,且为第三方平台的服务器域。

4. 请哪位同学看看,问题出现在什么地方?

回答关注问题邀请回答
收藏

3 个回答

  • 2018-05-17

    遇到同样的问题,请问是怎么解决的?

    2018-05-17
    有用
    回复 1
    • 2018-06-13

      后台提交 domain时 原先 ["https://www.91leye.com"] , 改成 ["https://www.91leye.com","https://www.91leye.com"] 

      2018-06-13
      回复
  • 袁明锦
    袁明锦
    2018-02-26

    请问如何解决的?

    2018-02-26
    有用
    回复 1
    • 2018-06-13

      后台提交 domain时 原先 ["https://www.91leye.com"] , 改成 ["https://www.91leye.com","https://www.91leye.com"] 

      2018-06-13
      回复
  • 2018-02-12

    已解决

    2018-02-12
    有用
    回复 1
    • 2018-06-13

      后台提交 domain时 原先 ["https://www.91leye.com"] , 改成 ["https://www.91leye.com","https://www.91leye.com"]  就好了

      2018-06-13
      回复
登录 后发表内容