无法在webapps/home/index界面启动软件
7 ビュー (過去 30 日間)
古いコメントを表示
我利用app designer(版本23.2.0.2365128 (R2023b))制作了web app,并发布到了web app server上,目前已经可以在****:9988/webapps/home/index.html上看到app图标,但是点击这个图标后,新网页无法打开app,会旋转很久并提示”Something went wrong, click OK or refresh the page to restart the app“。
log显示“无法建立与 "https://127.0.0.1:27182/webapps/commands" 的安全连接。原因是 "schannel: next InitializeSecurityContext failed: SEC_E_ILLEGAL_MESSAGE (0x80090326) - This error usually occurs when a fatal SSL/TLS alert is received (e.g. handshake failed). More detail may be available in the Windows System event log."。请检查您的证书文件(C:\ProgramData\MathWorks\webapps\R2023b\USR\crt\local.pem)中的证书是否已过期、丢失或无效。”
请问如何解决?
1 件のコメント
Walter Roberson
2024 年 9 月 3 日
Approximate translation:
I created a web app using app designer (version 23.2.0.2365128 (R2023b)) and published it to the web app server. I can now see the app icon at ****:9988/webapps/home/index.html, but after clicking the icon, the new web page cannot open the app. It will spin for a long time and prompt "Something went wrong, click OK or refresh the page to restart the app".
The log shows "A secure connection to "https://127.0.0.1:27182/webapps/commands" could not be established. The reason is "schannel: next InitializeSecurityContext failed: SEC_E_ILLEGAL_MESSAGE (0x80090326) - This error usually occurs when a fatal SSL/TLS alert is received (e.g. handshake failed). More detail may be available in the Windows System event log.". Please check if the certificate in your certificate file (C:\ProgramData\MathWorks\webapps\R2023b\USR\crt\local.pem) has expired, lost, or invalid." How can I solve this problem?
回答 (1 件)
jinjin lee
2024 年 9 月 4 日
我也遇到过类似情况,appdesigner下mlapp可以运行应用程序,但是发布成web就是很长时间没有响应;因为有些是web下不支持的,就拿我遇到的情况,一个是词云wordcloud一个是神经网络net;我发现发布从web后功能失效或者无法打开。针对这种情况我建议制作mlapp尽量功能单一一些;还有比如我做了好几个tab页,发布就有问题,但是把tab页做成单个的发布就没问题;具体不知道发布web不兼容哪些,如果发布成网页打开后可以看到网页上的log,有时候能定位到问题所在。但是大部分是找不到原因的,不知道什么情况就是定位发布成web打不开,真的很奇怪。
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で MATLAB Web App Server についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!