Shiny app doesn't work after domain name change - r

I got a problem regarding Shiny app (or about the web server).
The app is hosted and works well here: http://shiny.eeb.ucla.edu/GermlineAtlas/
The web administrator point this site to a new domain: https://germline.mcdb.ucla.edu/
It works in some devices (both Mac and Windows), but not mine (MacBook with Catalina 10.15.6).
I tried open with Safari and Chrome, same error:
It is shaded, I could switch between tab, but the buttons and reactions do not function.
Again it currently happen only on my machine...Hope you could give me some advice!!!!
Thanks,

Problem solved...turn off my antivirus system.

Related

Can't get local testing working with BrowserStackLocal.exe desktop app on Windows 10

Browserstack has discontinued its chrome extension for local app testing and has moved to a desktop app/.exe that you have to download to do local testing.
I can't seem to get this working running Windows 10 and I'm wondering if anyone else has had this problem and resolved it.
When I download and execute their desktop app, it tells me local testing is enabled:
https://imgur.com/a/2ey7N3U
When I then use Browserstack Live to test local development I get an error message saying local testing is not enabled and it gives me the option to download their desktop app, which I have and says local testing is enabled:
https://imgur.com/a/YMd0LOj
I have tried uninstalling and reinstalling the desktop app/.exe, it gives me the same results.
I've confirmed with our network team that I am not behind a proxy which is an option to manage the desktop app (under "advanced settings" in the first screenshot above).
Our network team has also whitelisted all traffic from (asterisk).browserstack.com (the actual asterisk character is stripped here) and they're telling me "Additionally I watched his traffic on the firewall as he tried to use the browserstack software and no traffic was blocked
I've also been in contact with browserstack support but have basically been feeding their responses to our network team and our network team's responses back to browserstack. At the end of the day, I still can't get local testing working.
Does anyone have any ideas what might be happening and how I can resolve it?
I encountered the same behavior while setting up Local Testing with the BrowserStack Local Desktop app that was released after the announcement by Google about the end of support for Chrome apps (Click here). However, I was able to set-up Local Testing post configuring the proxy server details as mentioned over here.
I would suggest checking with your IT team if traffic for *.browserstack.com is being routed via a specific proxy at your end and configuring the proxy details in the 'Advanced Settings' for the desktop app.
In case this doesn't work, do contact BrowserStack Support

Shiny app closing on all browsers but explorer

I am currently working developing a shiny app that process a lot of heavy bayesian models. We are facing the following problem:
Our app suddenly closes if we try to run it in the rstudio browser or google chrome but apparently it is not a code problem since we can run the app on internet explorer, anyone had ever faced such issue?
source code: https://rstudio.cloud/project/413282
If we just run shiny::runApp() it opens a new window with the app, after 3 min (aprox) the new window closes but according to the console it is still running with no errors

Shinyapps.io on safari browser cannot connect to server "localhost "

I've created a basic app in shiny that connects and uploads data to a shared googlesheet. The app works fine locally, however when I try to run it in a web browser, it won't upload any data.
The problem seems pretty straight forward. Using shiny apps.io I can view the apps logs, and it identifies that I need to provide the app permission, (specifically shinyapps and tidyverse) to upload data to google sheets, which is authorized by google sheets. This is no problem as I went through the same process on my own machine locally:
1) I'm running on a Mac, OSX Mojave v 10.14.2
2) I've enabled web sharing via the terminal with sudo apachectl start (I think that's all it took?)
3) I've scoured similar problems on here.
4) The app opens and uploads data when I "view in browser" from the RStudio IDE
5) I wanted to try Shiny Server, however apparently they haven't written anything for Macs yet that doesn't have to built from source, which is way beyond my level.
6) The google sheet is published to the web as well.
This is the provided message from shinyapps.io logs
Listening on http://127.0.0.1:37073
2019-01-15T14:33:32.976569+00:00 shinyapps[636194]: Adding .httr-oauth to .gitignore
2019-01-15T14:33:33.012405+00:00 shinyapps[636194]: Please point your browser to the following url:
2019-01-15T14:33:33.010168+00:00 shinyapps[636194]: Waiting for authentication in browser...
2019-01-15T14:33:33.010485+00:00 shinyapps[636194]: Press Esc/Ctrl + C to abort
2019-01-15T14:33:33.012759+00:00 shinyapps[636194]: "This is the provided URL"
I then go to the provided URL, that takes me to a accounts.google page that asks me to provide authentication to a specific google account, which I do.
I then receive this error from safari:
Safari can't open the page "the provided URL" because safari cannot connect to the server "localhost"
I would basically like this app to be used only by the allowed google account which is a shared one and be able to upload from at most 3 different machines that are windows, Any help appreciated!
I've found a temporary work around, in my code since I take advantage of the google sheets package in R, it as a function called:
gs_title("worksheet title")
this allows the app to identify the worksheet that has been given access to the app, however this is a problem when uploading the app online, I used a different function called:
gs_url("worksheet URL as copied from search bar")
It passes the url of the worksheet apparently bypassing the local server problem, and allowing me to open the app from other machines.

iOS Simulator refuses to connect to local. hostname

I am working on an iOS app that connects to a web service. For development and testing, we use Bonjour to find servers on the local network, and during sign-in the app offers to connect to one of them instead of the production site.
Since upgrading to El Capitan, I am unable to connect from the Simulator to a web server running on the same Mac. I am able to reproduce this issue using Simulated Mobile Safari and the web server that comes with the stock Python in OS X.
Open Terminal, start a web server: python -m SimpleHTTPServer 8000
Open Safari inside the Simulator, enter URL: http://my-computer-name.local.:8000/
Simulated Mobile Safari displays "Safari cannot open the page because it could not connect to the server."
Additionally, the following message appears in the Console each time I try to load the URL:
assertiond[____]: assertion failed: 15A284 13A340: assertiond + 13207 [28CC4371-F3F9-3578-9436-310B23A2C638]: 0x1
Other possibly relevant facts:
Desktop Safari is able to connect using the URL http://my-computer-name.local.:8000/
Real Mobile Safari (on an iOS device on the same network) is able to connect using the URL http://my-computer-name.local.:8000/
Simulated Mobile Safari is able to connect using the URL http://127.0.0.1:8000/ (I need it to work with the Bonjour provided hostname, though).
Simulated Mobile Safari is able to connect to another machine with an URL like http://other-computer.local.:8000/
I'm using Simulator Version 9.0 (SimulatorApp-620 CoreSimulator-179)
OS X El Capitan 10.11 (15A284)
Amusingly, searching the web for the UUID 28CC4371-F3F9-3578-9436-310B23A2C638 yields only a handful of job posts. (You can make $15 for fixing this bug!)
This does not appear to be related to App Transport Security. My app behaves this way when ATS is disabled.
Are you able to reproduce this problem? Am I missing something?
I worked the issue around by adding an entry to the local OSX /etc/hosts file:
Append your FQDN after "localhost":
127.0.0.1 localhost mymachine.mydomain.local

Meteor login not working on mobile

I am working on a simple mobile web app and I am having trouble logging in...
I followed this little sample on making a custom login: http://blog.benmcmahen.com/post/41741539120/building-a-customized-accounts-ui-for-meteor
Nothing too tricky here.
So I run my meteor server locally. On my computer, through the browser, I can log in and create accounts -- no problem.
When I go to my local IP from my iPhone, the website successfully loads but for some reason I am not able to login or create accounts.
I have noticed that for Meteor.loginWithPassword and Meteor.createUser, the callback function NEVER gets called. I have {{loggingIn}} rendering a loading screen and the loading screen is only there for a fraction of a second before the form is reloaded. No errors are thrown (validation passes and the callback function doesnt fail).
Out of suspicion, I deployed the app and tried accessing the deployed website from my phone and the same issue persists...
Any ideas what I cannot log in or create accounts on my iPhone, but I can on my computer? Maybe its a cookies thing? Any ways of solving this?
Thanks a lot,
Chet
Edit:
This works on both my desktop browser and iPhone simulator. Just not my iPhone. Could it just be a local network issue? -- No, even if I deploy the website, I have the same issues...
Also, check out my github post about recreating the issue:
https://github.com/ccorcos/meteorPasswordMobileError
Check to make sure that you are running the same version of iOS on all the devices you are testing on. I have seen iOS 7 misbehave when using Meteor apps. iOS 6 works just fine.

Resources