Recently, I have developed an app using Ionic 2, the app creates Sqlite DB and feed it using web API. Everything working great through IonicView and unsigned .apk app version. But the release version of the app does NOT able to open a connection to DB, I have checked the whole functions of this version, everything working as in the unsigned version except opening the DB.
Any Ideas. Thanks
Related
I am testing out the load tester from shiny and I am having trouble recording a session. From this youtube video from Rstudio https://resources.rstudio.com/webinars/load-testing-shiny-alan-dipert , the instructor mentions grabbing the url of the deployed application. I have tried both the url from my server/browser application and the url from my deployed application on shinyapps io. I have also tried running it on Rstudio Cloud and I am redirected to a login which then shoots me to a 404 error. I have tried getting the URL from Mozzila, Microsoft Edge, and Chrome without luck.
library(shinyloadtest)
#server application
record_session("http://127.0.0.1:3793/")
Error in curl::curl_fetch_memory(appUrl, handle = h) :
Failed to connect to 127.0.0.1 port 3793: Connection refused
#deployed shiny app
record_session(" https://finance.shinyapps.io/PrivateApp/")#this is not the real url
Error in .subset2(public_bind_env, "initialize")(...) :
Recording shinyapps.io apps is not supported
I am looking to find the right url to add to record_session so I can begin load testing my application. Thank you.
From the package's vigentte and on the GitHub thread the author was clear that you cannot benchmark against a Shiny app hosted on shinyapps.io:
Under Deployment Limitations it says:
1. WebSockets are required: On RStudio Connect and Shiny Server Pro, SockJS is used instead of plain WebSockets in order to support browsers and load balancers that don’t support WebSockets. Even though Shiny works in the absence of WebSocket support, shinyloadtest does not.
2. shinyapps.io unsupported: Applications deployed on http://www.shinyapps.io/ can’t be recorded or load tested.
Instead, the documentation suggested that you should install the package on your development machine.
Otherwise, shinyloadtest works perfectly fine (tested on multiple versions of R 3.5 and above). The function record_session() takes the URL of the deployed application as an argument:
shinyloadtest::record_session('https://your-deployed-shinyapp.com/')
Taken from the documentation:
Running the function will open a browser displaying the app. Once open, interact with the application as a normal user would and then close the browser. After closing the browser window or tab, a file will be created that contains a recording of the session. This recording, written to recording.log by default, will serve as the basis for the load test.
I am trying to publish a django app on azure using Visual Studio 2015 Pro. and the azure tools. The publishing completes successfully but when I try to access the application online; I get this:
When I run my local server, the app runs with no problem and I can see the contents without exceptions or errors, but the published version of the app is giving me that error. Please help me solve this problem
I have this type of architecture- Tablet application,Desktop Application,web application.. In tablet application its sync framework 2.1.Desktop 2.0 web 2.0 When syncing from Tab to Desktop i am upgrading metadata to 2.1, sync works fine between tab and desktop...Now when trying to sync between Desktop and Web it throws error as metadata of desktop app is upgraded. I cant upgrade web metadata as many desktop users are using 2.0 framework in their desktop. can anyone suggest me wat to do in this scenario.
unfortunately, you can't mix and match the metadata version. its either you upgrade everyone or you don't. (i think that's actually explicitly mentioned in the metadata upgrade docs.)
I am very comfortable with Django, and I was wondering about whether there is some way to convert a Django web app into a Desktop app (may be not 100%), so that I can distribute it to users, instead of learning a GUI framework.
Thanks
Maybe not exactly what you are looking for, but if you really, really don't want to learn a GUI framework, in your place I'd consider packaging your Django web application with a small web server in the distributable package, with the Django app configured to run on localhost on the web server. Then I'd include a script that launches a browser pointing at the starting page of your Django app as the "executable".
If not configured properly this could be considered weak from a security point of view.
I am new on web services development and I will be using the app engine.
I would like to know if it is possible to debug locally a web service (at localhost:8888/) and debug at the same time the web app that will be using the service.
The App Engine SDK ships with a local server implementation that you typically debug on. You'd debug the web app in your browser.
http://code.google.com/appengine/docs/python/tools/devserver.html
Yes, you can debug both client and server.
However I assume that client and server are separate code bases - in this case you would have two IDE projects open each running it's own debug session.
Since you are new to GAE, I would advice to use one of rich IDE's available out there. For example, I can mention Eclipse or IntelliJ which make it very easy to debug and find issues in GAE apps.
Here are some links:
Intellij GAE support
Eclypse GAE plugin