R shiny publish issue Unhandled Exception: HTTP 500: Internal Server Error - r

I was trying to publish my shiny app, it works fine in local, but when I try to publish it, i got this error:
Unhandled Exception: HTTP 500: Internal Server Error
What does this mean?
Don't know which part goes wrong, hope someone can help.

Same here, looks like they are having server issues...
HTTP 500 refers to an issue with the web server (service), don't worry it's not a problem on your end.
See: http://www.checkupdown.com/status/E500.html
You can periodically try to publish again until it works. You can also check the Shiny Google Discussion Group https://groups.google.com/forum/#!forum/shiny-discuss for shinyapps.io

Related

Deploy R shiny app on LAN: Uncaught TypeError: Cannot read property 'readyState' of null

I've built a shiny web app that I would like to share with my colleagues.
I use for that runApp(host = getOption("shiny.host", "10.161.112.8")) where 10.161.112.8 is my host server IP adress.
The app works perfectly on my local server, but some remote client (not all of them !) directly get a greyed out screen (or after 1 sec maximum). When inspecting their web page source code, I get the following error:
Uncaught TypeError: Cannot read property 'readyState' of null
at ShinyApp.$sendMsg (shinyapp.js:288)
at ShinyApp.sendInput (shinyapp.js:140)
at InputBatchSender.$sendNow (input_rate.js:220)
I red here that it could be linked to web socket restriction. But I didn't found any solution that worked for me...
Doe's someone have any suggest? Any help would be great appreciable!

Cannot connect to a localhost SQL server database in UWP

I have created a UWP application for testing purposes in which my purpose is to be able the application to connect to a ASP.NET Web API with a certificate for Indivual User Accounts, I've hosted the db into localhost, after ensuring the connection its correct and everything its ok I have deployed my UWP app, the problem is that when I execute a call to a method inside the Account controller (api/Account), the compiler throws me an exception which is the following:
System.Net.Http.HttpRequestException
Message=An error occurred while sending the request.
Source=System.Net.Http
...
Inner Exception 1:
COMException: The text associated with this error code could not be found.
The certificate authority is invalid or incorrect
I have searched for the problem but there's not a "specific" or "correct" answer I've found, could anyone help me with this issue please?
if code snippets are required, let me know!

Remote config not updating from console

I am facing a strange problem when I try to update my remote config value from firebase console and try to publish those changes, I am getting an error A general error occurred.. This problem happens randomly and when I checked my network console for the response I am getting a 500 error.
Following is the JSON response
{
code: 500
message: "Internal error encountered."
status: "INTERNAL"
}
Firebase Remote Config engineer here. We noticed some intermittent issues a few hours ago that we've since resolved. Thanks!

SignalR negotiate fails (Bad Gateway)

Someone any idea, I’ve been struggling with this for some time.
I'm using SignalR (Asp.net 5). when I try to debug local (ISS 10.0 express) everything is working fine. SignalR is working (Long poll).
Now when I publish the app to Azure it I can access : .azurewebsites.net/signalr/hubs
but I cannot access .azurewebsites.net/signalr/hubs/negotiate
it returns:
The specified CGI application encountered an error and the server terminated the process.
When my web app calls $.connection.hub.start() it will fail.
GET XHR http://xxxx.azurewebsites.net/signalr/negotiate [HTTP/1.1 502 Bad Gateway]
I’m running out of idea's. Don't know how I can get more debug information.
Small selection of my ‘already tried’ list:
Set $.connection.hub.url path manual to http://xxxx.azurewebsites.net/signalr/
Enable/Disable websockets
Removed forwardWindowsAuthToken from the web.config httpPlatform
EDIT:
Now getting more details on this error:
CryptographicException: The data protection operation was unsuccessful. This may have been caused by not having the user profile loaded for the current thread's user context, which may be the case when the thread is impersonating.
Still absolutely no idea how to solve this!
Solved by using appBuilder.UseAesDataProtectorProvider();
(from Owin.Security.AesDataProtectorProvider;)
I have no idea if this is the best solution.

Web Api 2 Self Host with identity individual account

I have been trying to create a web api 2 that is secure with individual account.
So I can easily create WebApi2 with individual account, see link below
http://www.asp.net/vnext/overview/authentication/individual-accounts-in-aspnet-web-api
And Self hosting is easy to do.
http://www.asp.net/web-api/overview/hosting-aspnet-web-api/use-owin-to-self-host-web-api
But I cannot figure out how to combine the solutions.
Far as I got was adding a console app to a webapi2. Which seems to run. But whenever I try and get the access token it returns
An unhandled exception of type 'System.Net.WebException' occurred in System.dll
Additional information: The remote server returned an error: (500) Internal Server Error.
If anyone knows of a solution that would be great. Thanks
This post is way old, but to anyone else who is having this issue and finds this question, I was able to get past the 500 Error by adding app.UseWebApi(config); after setting up config, as mentioned in this post:
http://odetocode.com/blogs/scott/archive/2013/07/24/self-hosting-webapi-with-katana.aspx
HOWEVER, I'm now getting a 401, unauthorized request for all of my requests, even though I have a valid token and I'm sending it the same way I did that worked in the non-self-hosted WebApi2 app. but I'm one step closer anyways.

Resources