unable to open the web application (*.ctf file) web sever

Hi,
I'm trying to load simple web application, but unable to load/view it on web app local server.
please find the error on screenshot attached.

3 Comments

Could you check the log files?
Logs are located in C:\ProgramData\MathWorks\webapps\R2020b\logs by default in Windows.
If you're using other OS, please check the log folders as described in the following document.
There are "webapps_yyyymmdd_xxx.log" files and you may get error messages in detail.
thanks @Kojiro Saito!!
I could see a connection error, can you help in sorting the same. fyr.. attached the log file.
00000424 2021-07-09 15:31:03 0x00001a28 agent::connectorproxy V EmbeddedConnectorMessage received
00000425 2021-07-09 15:31:03 0x00001a28 agent::connectorproxy W Embedded Connector Connection (id: 00000000-0000-0000-0000-000000000000) not found.
00000426 2021-07-09 15:31:03 0x000009a8 agent::mdwas W EmbeddedConnectorRequest::sendEvalFunctionRequest(webappTerminateApp): sendMessageToEmbeddedConnector failed: Could not find embedded connector connection ID
00000427 2021-07-09 15:31:03 0x000009a8 agent::mdwas E MDWASServiceImpl::stopSession Failed to send termination request for process 5cd343ab-cb3c-4e9d-bcf6-a3c987f3afa4 for session 81cf84a7-c95d-45c8-b742-73b4a94e858b
00000428 2021-07-09 15:31:03 0x00001a28 agent::connectorproxy V OpenEmbeddedConnectorChannel received
00000429 2021-07-09 15:31:19 0x00001fdc agent::httpserver V Incoming connection: 127.0.0.1:61731, on 127.0.0.1:27182/connectorproxy/control
00000430 2021-07-09 15:31:37 0x00001fdc agent::httpserver V Incoming connection: 127.0.0.1:61734, on 127.0.0.1:27182/webapps/commands
00000431 2021-07-09 15:31:37 0x000066f4 agent::mdwas V Completed all prewarming requests
Thank you, I've checked the log and found an issue in webapps_launcher log.
00000015 2021-07-09 09:49:49 0x000060ec agent::processcontrol::out V processID=f53e2e63-f1ee-4e23-9e76-50ba3def089f, out=The server returned the status 403 with message "Forbidden" in response to the request to URL https://127.0.0.1:27182/webapps/commands.
Two questions,
(1) Are you using development version of MATLAB Web App Server? I mean, you've installed it from MATLABWebAppServerSetup.exe in "toolbox\compiler\deploy\win64\MATLABWebAppServerSetup"?
(2) In your MATLAB preferences, are you setting proxy server information on MATLAB Web Prefereces?

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB Web App Server in Help Center and File Exchange

Products

Release

R2020b

Asked:

on 9 Jul 2021

Commented:

on 11 Jul 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!