Shiny / Shiny-Server does not render outputs (plots, datatable) - shiny

I'm having trouble with my shiny installation. I have Shiny Server (1.5.3.838) on Ubuntu 16.04.3 LTS with Shiny package version 1.0.3. Here is the screenshot;
Shiny-server does not render the sample-app's plot. But i think the problem is not about the shiny-server because the same issue exists when i ran the application via Rstudio.
Things i've tried so far;
Change the shiny-server log level to TRACE
Change the application log level
Install different versions of Shiny-server (1.5.x, 1.4.x)
Install different versions of Shiny package (1.0.x)
Try on different browsers (Chrome, Firefox, IE)
Change the shiny-server conf file into this;
preserve_logs true;
sanitize_errors off;
disable_protocols xdr-streaming xhr-streaming iframe-eventsource iframe-htmlfile;
Edit: My R version is Microsoft R Server 9.1.0 (on top of MRO 3.3.3)

Related

Run shiny app with rstudioserver on centos error "Connection Refused"

I have trouble with my shiny app run in my rstudio server on my centos Server.
When i run a shiny app in my rstudio-server IDE, a new browser windows open (that's normal) but i have this error "Connection Refused".
I run the "hello world" shiny app (https://shiny.rstudio.com/gallery/example-01-hello.html) in my home directory.
I have also a shiny-server on this centos server for run my deploy application, and this work fine.
You can see my all soft version
CentOS Stream release 8
R version 4.1.3 (2022-03-10) -- "One Push-Up"
RStudio Server 2021.09.1 Build 372 2009-2021 RStudio, PBC "Ghost Orchid" Release (8b9ced18, 2021-11-08) for CentOS 8
-shiny-server - Shiny Server v1.5.18.987 (Node.js v16.14.0)
In my Rstudio IDE they are no message error, the applucation is running (with error message) and i have this
> runApp('test')
Listening on http://127.0.0.1:7880
If I forgot something do not hesitate, thank you for your help.
Best Regards
Quentin B.

Localhost Coldfusion install showing cfquery parameters on page (Not speaking with ODBC)

Goal:
Run cfquery of remote server on local Coldfusion install.
Problem/Symptoms:
The cfquery parameters are printing onto the screen, instead of running query on remote.Example of cfquery parameter printout on screen
Facts:
Running Mac OS X Mojave (10.14.3).
Coldfusion is installed. I can access the CF Admin panel at http://localhost:8500/CFIDE/administrator/index.cfm
Data Source is installed in Coldfusion Admin and status is "OK"
Using Mamp Pro 5.3. It's running -- can start and stop Apache.
Apache is running on port 80
Updated ODBC Actual SQL Server drivers (Version 4.2.0 from ActualTech). Tested connection to server with driver and it is working.
Remote database is using port 1433
I'm sure there are more questions to answer, but hopefully that's a decent start. What am I doing wrong?
Update: 3/17/2019
Feeling stuck here. I've uninstalled and reinstalled CF2018 and MAMP Pro. I've used the wsconfig applet for Adobe Coldfusion (ACF) as described by Brian Lang and I've also tried the manual approach as described by Adobe.
Update: 4/19/2019
I may have figured this out, now that there is a release of Mac OS 10.14.4. Going to test it on another computer to confirm that the process works and that I have all the steps documented, then will share answers.
The solution to this problem had to do with a conflict with Mac OS X and Coldfusion/Apache. Because Mac OS X 10.14.4 fixed the "mod_jk" file that was conflicting with Apache, Coldfusion 2018 can now run on Mac OS X.
In order to solve the problem, I needed to:
upgrade Mac OS X to 10.14.4
stop all other servers
install Coldfusion 2018
set up Coldfusion Apache Connector
set up local virtual host
I confirmed that it worked on another computer, and have documented detailed instructions in this post: https://www.steckinsights.com/configuring-coldfusion-2018-with-apache-on-mac-os-x-mojave/
Fair warning: I think that the mod_jk issue in Mac OS 10.14.3 and prior was the issue, but there were so many different aspects I tested in the process, that there may be unique issues related to your particular computer's configuration. I hope hope this helps anyone out there having issues.

Ember app blank page on Firefox OS

I was following this guide on MDN for developing a Firefox OS App using Ember. It runs without problems in the browser but when I try to install it on Firefox OS using the Firefox WebIDE I just get a blank page.
The console output shows no errors but every time I try to install it on Firefox OS the ember console displays Content Security Policy violation: {}
I have tried it on my Geeksphone Revolution running Firefox OS 2.0 and the Firefox OS simulator for 1.4 and 2.0.
System info:
OS: OS X 10.10.3
Ember version: 0.2.6
Node version: 0.12.0
I think I did the whole installing wrong. I used Open hosted app from the WebIDE and just entered my IP Address. Looking at this article on MDN I found out that I need a page with a script to correctly install my app.
For now I found a workaround by using Open Packaged App on my dist directory.

Configuration of modwsgi with wamp server

I would like to deploy a Django application in a production environment (Windows Server 2012 R2).
I am unable to configure modwsgi for a WAMP server.
There are a few posts for this topic, however it seems that all are old and not applicable now. All the posts say that I should have the .so file of modwsgi, but I am unable to find this file.
I have downloaded the source code for modwsgi and also .whl file, but don't know how to configure.
System configuration is as follows:
Operating System: Windows Server 2012 R2 (64 bit)
WAMP Server 2.5
Python 3.4
Django 1.7
Have you looked at the official mod_wsgi download area at all?
https://github.com/GrahamDumpleton/mod_wsgi/releases
All the release notes specifically say to read:
https://github.com/GrahamDumpleton/mod_wsgi/tree/master/win32

Selenium RC: Running browser on another X11 desktop

I'd like not to be disturbed by the browser that is launched by Selenium RC. Is there any way how to force it to run the browser on another X11 desktop? Running Selenuim server on another desktop does not solve the problem.
Vít Šesták 'v6ak'
Yes, on Linux you can start for example Xvfb (X in a virtual framebuffer) to provide an X environment and launch the selenium controlled browser in that.
We are doing that for years on headless server boxes and that work just fine (well from time to time you have to shoot a hanging browser, but that is the same on a desktop).
First install Xvfb:
sudo apt-get install xvfb
Then start selenium server in background via xvfb:
xvfb-run java -jar ~/Downloads/selenium-server-standalone-2.45.0.jar
Finally run your tests as usual (phpunit, or whatever you are using).
You should be able to do this by setting the DISPLAY environment variable to a different display than the one your desktop is using. This must be set when starting up the Selenium server. Selenium will then use this value when starting up the browsers.
I solved this using workspaces/viewports not X using devilspie.
This addon lets you put a custom title on firefox, I installed it on my selenium profile:
https://addons.mozilla.org/en-US/firefox/addon/57/
I replaced Mozilla Firefox in the titlebar with FFSELENIUM
Then use devilspie to pin those windows to firefox:
http://ubuntu-tutorials.com/2007/07/25/how-to-set-default-workspace-size-and-window-effects-in-gnome/ http://foosel.org/linux/devilspie
Then create a file .devilspie/selenium.ds with the contents:
(if
(and
(contains (window_name) "FFSELENIUM")
)
(begin
(set_viewport 3)
)
)
Woot firefox windows in the third viewport!