Closed tobiasblasberg closed 6 months ago
I have same issue. Inspecting browser, I get Cross-Origin-Request Blocked. That means proxy-launch request doesn't reach shinyproxy.
Did you find a way of dealing with this?
Hi
The example mentioned in this issue was removed, because there are now better ways to embed a ShinyProxy app, see: https://github.com/openanalytics/shinyproxy-config-examples/tree/master/08-embedded-app
Feel free to open a new issue if you experience any problem with this new demo.
Hi,
unfortunately I couldn't manage to install example 07-api-embedded-app.
Setup: Webserver: Nginx that runs locally on a Docker container with provided index.html. Shinyproxy runs on AWS EC2 instance (based on tutorial 1 without authentication).
What works:
What is not working: When entering correct IP and spec (as in example or in working API call), shinyproxy log shows:
2020-07-01 20:14:56.132 INFO 1510 --- [ XNIO-2 task-9] c.s.docker.client.DefaultDockerClient : Starting container with Id: 3ff2d441946057bd13c77b99a923810a7bdac95e1cd692c45b9a5dfdb2149346 2020-07-01 20:14:59.059 WARN 1510 --- [ XNIO-2 task-9] e.o.shinyproxy.ShinyProxyTestStrategy : Container unresponsive, trying again (2/30): http://localhost:20000 2020-07-01 20:15:01.062 WARN 1510 --- [ XNIO-2 task-9] e.o.shinyproxy.ShinyProxyTestStrategy : Container unresponsive, trying again (3/30): http://localhost:20000 2020-07-01 20:15:03.444 INFO 1510 --- [ XNIO-2 task-9] e.o.containerproxy.service.ProxyService : Proxy activated [user: KAIs5bL3BcBRFYLuEZhP_zDmb5zQBDZ2pNWLLtLG] [spec: SOMESPEC] [id: 477a6719-1e13-4ddd-9082-ddb9c5545082]