SignalR Redis make IIS crash - performance

I'm using SignalR version 1.1, ServiceStack.Redis -Version 4.0.62 and Microsoft.AspNet.SignalR.Redis -Version 1.1.4
All is running perfectly in my development environment, then I moved "myapp" to our next environment with about 200 client, the error has occurred and IIS has crashed.
Error 1
Error 2
Can I test my signalr + redis performance with 1 computer?

Related

FastAPI: Error when trying to open a websocket connection after updating uvicorn

When I try to open a websocket connection to my FastAPI server, Uvicorn returns following error after I have updated it from version 0.13.4 (with this version I had no problems) to 0.15.0:
Error in opening handshake
...
websockets.legacy.handshake.check_request(headers)
AttributeError: module 'websockets' has no attribute 'legacy'
Does anyone know what this error exactly means and how to solve it?
when you update the version of unicorn then you need to update the version of websockets
in my case I upgrade unicorn 0.13.4 to 0.14.0 and in the websockets version was 8.1 so I change this 8.1 to 10.0 and it's work
check here for info

Weblogic server could not start and could not configure domain

I just installed a fresh copy of weblogic server and OSB.
After the successful installation of weblogic 10.3.6 on the quick start screen I tried to configure domain. however the screen doesn't processed any further giving the error in the screenshot below.
Also, in eclipse, when i try to add the server, It prompts me to create a domain, but that doesn't work either.
The error am getting in the console is:
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
MaxPermSize=128m; support was removed in 8.0
Unrecognized VM option 'UseSpinning'
It looks like Java 8 is being picked up elsewhere on your system.
Check to see if you have Java 8 installed and look at you path environment variable.
That warning you are getting is from Java 8. 10.3.6 would use Java 5 or 6...

HTTP Error 502.5 - Process Failure - .net core 2.0 to AWS EB

I'm getting this error after deploying my API to AWS Elastic Beanstalk.
Steps to reproduce
File -> New -> Project
ASP.NET Core Web Application
ASP.NET Core 2.0
Web API
F5: OK
Publish to AWS Elastic Beanstalk... (via AWS Tollkit for Visual Studio 2017)
HTTP Error 502.5 - Process Failure
Additional info
Visual Studio 2017
64bit Windows Server 2012 R2 v1.2.0 running IIS 8.5
I've already tried looking up many other questions, but to no success.
Log
2018-01-15T13:27:21.000Z Error 0:(0) IIS AspNetCore Module - Application 'MACHINE/WEBROOT/APPHOST/DEFAULT WEB SITE' with physical root 'C:\inetpub\AspNetCoreWebApps\app\' failed to start process with commandline 'dotnet .\WebApplication2.dll', ErrorCode = '0x80004005 : 8000808c.
<PropertyGroup>
<PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest>
</PropertyGroup>
Adding the above code to the .csproj solved the problem.
I faced the same issue. After contacting AWS support, it turns out that there was a bug in my code [Release version].
I suggest the following steps to debug locally:
Publish your solution to a file
Open Command Prompt in the published folder
Run "dotnet Your.Main.App.dll"
Most probably you will see an exception
Sometimes we forget to test our solutions in Release mode.
Cheers!

Can't run simple Node Express App in Eclipse using Nodeclipse. Get Console message of "<terminated, exit value: 0>Node.js Process"

Can't run simple Node Express App in Eclipse using Nodeclipse. Get Console message of "Node.js Process"
Fresh install. Any suggestions
New>Project>Node Express
Right Click App.js Run As Node Application
Eclipse Version for JAVA and Reporting: Luna Service Release 1 (4.4.1)
Nodeclipse Core and Node.js 0.17.0.201409260936
MAC OSX 10.10.1 (14B25) 64bit
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
When Nodeclipse creates a new Express project (with express version >4.0) it misses to start the server so it listens to a certain port (that's why it finishes without any error).
In order for it to work you should add at the end of your app.js file this:
app.listen(3000, function () {
console.log('App listening on port 3000!');
});
In the previous versions of express the equivalent is:
http.createServer(app).listen(app.get('port'), function(){
console.log('Express server listening on port ' + app.get('port'));
});

Unable to debug tomcat server using eclipse

I'm using:
Spring Tool Suite Version: 3.2.0.RELEASE
Tomcat v7.0.42
When I just run my tomcat server everything is fine but I'm unable to debug it even locally. It produces following error:
Startich Apache Tomcat v7.0.42 at localhost has encoutered a problem.
Server Apache Tomcat v7.0.42 bat localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor.
I've tried the following:
increase the timeout.
remove all the apps before starting the debugging.
install new instance of tomcat (the only configuration that I've did on fresh install is turning on Use Tomcat installation and Never publish automatically).
But it didn't help, I still can only run the tomcat, without the debug option. Does anyone know how to make this debugging work?
When I've used new, clear workspace for Spring Tool Suite, debugging started to work.
Cheers,

Resources