Search found 10 matches

by lggstef
13 Sep 2023, 02:14
Forum: SFS2X C# API
Topic: BitSwarmClient.Send creates 1MB of GC Allocations
Replies: 2
Views: 17618

Re: BitSwarmClient.Send creates 1MB of GC Allocations

Hi Lapo,

Thank you for your response. We did have debug set to true. Setting it to false did reduce the gc alloc quite a bit, to around 100-135KB.

Thanks!
by lggstef
12 Sep 2023, 15:55
Forum: SFS2X C# API
Topic: BitSwarmClient.Send creates 1MB of GC Allocations
Replies: 2
Views: 17618

BitSwarmClient.Send creates 1MB of GC Allocations

Hi, we are running into a problem with BitSwarmClient.Send creating around 1MB of GC allocations when we send networked object updates. We are using Smartfox C# API for Unity.

A little context for our situation:
Part of our VR multiplayer experience includes having players hang out in a virtual ...
by lggstef
25 Jul 2019, 15:26
Forum: SFS2X Questions
Topic: Exception when trying to connect VisualVM
Replies: 7
Views: 10080

Re: Exception when trying to connect VisualVM

So it was indeed a firewall issue, as telnet couldn't connect to it either. As it turns out, older jelastic environments didn't allow the ability to modify the firewall. It was a feature added afterwards and isn't compatible with the older environments. So what I did was start a new one from scratch ...
by lggstef
24 Jul 2019, 16:59
Forum: SFS2X Questions
Topic: Exception when trying to connect VisualVM
Replies: 7
Views: 10080

Re: Exception when trying to connect VisualVM

I tried adding a public IP to the jelastic environment (as opposed to using the endpoint they set up automatically) and it still fails. Here are the options I added to the JVM:

-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=99XX
-Dcom.sun.management.jmxremote.rmi.port=99XX
-Dcom ...
by lggstef
24 Jul 2019, 14:38
Forum: SFS2X Questions
Topic: Exception when trying to connect VisualVM
Replies: 7
Views: 10080

Re: Exception when trying to connect VisualVM

Hi Lapo,

Ah yes, I was indeed using the incorrect port, which gets rid of the exception. Sorry about that. I am, however, still unable to connect VisualVM using the port that I made for jmx (the one set here: -Dcom.sun.management.jmxremote.port=xxxx). In terms of errors, this is what I see in ...
by lggstef
23 Jul 2019, 19:40
Forum: SFS2X Questions
Topic: Exception when trying to connect VisualVM
Replies: 7
Views: 10080

Exception when trying to connect VisualVM

Hello,

I've been trying to connect VisualVM to our SmartFox server following the guide here: http://docs2x.smartfoxserver.com/AdvancedTopics/troubleshooting-live-server for connecting to a remote server (our SmartFox server is running in a Jelastic environment). I added the necessary parameters and ...
by lggstef
18 Jun 2019, 15:53
Forum: SFS2X Questions
Topic: Received fatal alert: handshake_failure
Replies: 6
Views: 8444

Re: Received fatal alert: handshake_failure

Hi Lapo,

I found what the issue was. In the JVM settings, I had put this -Djavax.net.debug=all to see if it could help me pinpoint the reason why the requests weren't going through. After updating the policy files, I could have sworn I removed it, but apparently I didn't. When I did a setting by ...
by lggstef
18 Jun 2019, 14:13
Forum: SFS2X Questions
Topic: Received fatal alert: handshake_failure
Replies: 6
Views: 8444

Re: Received fatal alert: handshake_failure

On another note, I've noticed that even after changing my jre's policy files back to the old ones, the server is still slow. So perhaps the ciphers weren't the cause and it's actually something else. If other details would help, I'm using Smartfox in a Jelastic environment. I'm also going to contact ...
by lggstef
17 Jun 2019, 16:20
Forum: SFS2X Questions
Topic: Received fatal alert: handshake_failure
Replies: 6
Views: 8444

Re: Received fatal alert: handshake_failure

Hi Lapo,

Thanks for your response. Our database isn't using SSL connections, And we're connecting to it via the database manager tab in the zone configurator in the admin panel.

I put back the old policy files and tried the accepted answer as well as the last response in that thread and I still ...
by lggstef
14 Jun 2019, 20:43
Forum: SFS2X Questions
Topic: Received fatal alert: handshake_failure
Replies: 6
Views: 8444

Received fatal alert: handshake_failure

Hi there,

Been using SmartFox for a bit over a year now and have had no issues until just recently. I'm not 100% sure if the issue even is with SmartFox, but I wanted to bring it up here anyway, in case anyone can shed some light on this situation. In our extension, we are making http requests ...