0

我们有一个 draw.io 的克隆。我们对 UI 进行了一些修改以增加功能。这适用于本地主机。然后,我们进行了 Google Drive 身份验证过程。但它是在 draw.io 的 12.1.7 版本上完成的。与谷歌驱动器集成,除非重新打开以前保存的文件。[此处讨论的此版本错误:https://stackoverflow.com/questions/62889536/no-access-control-allow-origin-header-is- present-on-the-requested-resource] 因此,我们将更改移植到最新版本的 draw.io,版本 13.4.5 ( https://github.com/jgraph/drawio/releases/tag/v13.4.5 ) . 现在,我们得到一个不同的错误。当尝试验证<错误前弹出窗口的屏幕截图>时,我们得到: Login attempts failed.Please try again later<错误消息的屏幕截图>。当我们查看开发人员工具时,我们看到了这一点

HTTP Status 500 - Can't make API call memcache.Set in a thread that is neither the original request thread nor a thread created by ThreadManager

type Exception report

message Can't make API call memcache.Set in a thread that is neither the original request thread nor a thread created by ThreadManager

description The server encountered an internal error that prevented it from fulfilling this request.

exception

com.google.apphosting.api.ApiProxy$CallNotFoundException: Can't make API call memcache.Set in a thread that is neither the original request thread nor a thread created by ThreadManager
    com.google.apphosting.api.ApiProxy$CallNotFoundException.foreignThread(ApiProxy.java:800)
    com.google.apphosting.api.ApiProxy$1.get(ApiProxy.java:175)
    com.google.apphosting.api.ApiProxy$1.get(ApiProxy.java:172)
    com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:89)
    com.google.appengine.api.memcache.MemcacheServiceImpl.quietGet(MemcacheServiceImpl.java:26)
    com.google.appengine.api.memcache.MemcacheServiceImpl.put(MemcacheServiceImpl.java:69)
    com.google.appengine.api.memcache.stdimpl.GCache.put(GCache.java:157)
    com.mxgraph.online.AbsAuthServlet.doGet(Unknown Source)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
note The full stack trace of the root cause is available in the Apache Tomcat/8.0.32 (Ubuntu) logs.

注意 <com.mxgraph.online.AbsAuthServlet> 中的行。它说“doGet”正在抛出错误。我是 servlet 的新手,不知道如何进行。我在 AbsAuthServlet.java 文件中没有找到“doGet”。

解决这个问题的任何帮助都会很棒。

4

0 回答 0