What's my problem
I'm reaching you guys because I'm stuck on a problem for over 2 weeks now. I'm trying to deploy a simple .NET app on Playfab. I'm planning on creating a simple multiplayer game with UDP sockets. When I'm debugging locally with the LocalMultiplayerAgent, everything works fine in process mode but when I switch to container mode, I get some non-understandable error probably from Docker desktop (as shown in this image).
And since it is working fine in process mode, I planned to use this mode on Playfab server. So I deployed my executable, I got the "stand-by" statut and then I asked Playfab an instance of it with the MpsAllocatorSample. On the Playfab dashboard, I see my server going from "stand-by" to "active", but after this, nothing works... I don't have any response of my instance and yes, I carefully take the IP and the port given by the Playfab and not the port used in my .NET application.
What I have tried
Installing gameserverSDK in my project
Reaching the server with UDP sockets
Reaching the server with .NET request with a Controller
Removing .NET in my project and only using UDP sockets
Deploying in container mode and in process mode
Thanks in advance for your help guys, I start to lose hope in Playfab. The documentation is not clear for me and every tutorial on internet is with Unity and I'm not using it.
Related
I'm developing an iOS app using Xamarin.iOS and RestSharp to send requests to my server.
The app has been already beena approved in January but now, after some fixes, I try to update it with no success.
AppStore has sent me a message (on iTunesConnect) saying:
Please revise your app and test it on a device while connected to an IPv6 network (all apps must support IPv6) to ensure that it runs as expected.
After some researches I found that IPv6 compatibility is now required.
The problem is that I don't need that and I'm not able to test on a IPv6-only network also because I'm developing and testing the application from Visual Studio on Windows using VMware build-host with Mac OSX installed on it.
How can I resolve this issue? Is there a way to test my app emulating IPv6 network on VMware making it works using RestSharp or maybe is there a way to make AppStore to approve my application?
NOTE: I've already try to change HttpClient implementation selecting CFNetwork (iOS 6+) as suggested on many articles on the Web but AppStore still reject my app without any advice and keeping on saying the same (useless) things.
Please help me, I'm stuck and I really don't know how to resolve this :(
Thanks in advance
This morning Apple has approved my application. It seems that I had to perform a clean rebuild of the project after setting the HttpClient implementation to CFNetwork (iOS 6+).
The problem is solved, for now.
I am experiencing a strange problem. I know there are quite a few questions about WCF around, but I am almost sure I have already seen the majority of them and cant solve my problem yet. The problem is, I have a WCF service up and running on the remote server and I am able to consume it from the program I have written on the motorola mc65 device(OS is Windows Embedded Handheld 6.5). Now I need a slightly different web service on the same server, for another Motorola device, mk4000 kiosk that has Windows ce 5.0 running on it. Both of the devices are using .NET CF 3.5 and since generating the proxy for WCF using NetCFSvcutil worked for first case, I thought I would be able to use the same proxy for Windows ce app, but I am getting this error: This protocol version is not supported and that's all. There no error description in inner exception, too. I have no idea what can be the cause of this message, after a bit of research I found what it means that the server does not support http, but I am able to exchange information via http from another device. I would really appreciate if anyone could at least point me to the right direction about solving this matter :/
The problem turned out to be pretty funny in the end, once I connect my laptop to the device via usb port, the device cannot connect to anything, ethernet connection just stops and I found out about it pretty randomly, because I had our IT guys check if everything is ok with connection to the server and all was good. I have never thought about checking the connection right after usb connection, as the message was so unclear. I still do not know the exact reasons of this, but still it may help others working with that Motorola MK4000 Micro Kiosk device.
The title basically says it all. I am running Debian GNU/Linux 7.0 (wheezy) on the Pi and .Net on the server. This will be for a consumer device so I expect it to just be behind someones wireless router.
I am trying to find someone code this for me and everyone I talk to has a completely different plan of attack and would appreciate some input.
My original plan was to use signalR for most of this
Is there a way to simply get signalR to work on the RaPi?
Will mono work to port the signalR code over? (I've heard mono doesn't work for the pi)
Is there a simple way to accomplish this without signalR which would still easily implement the security features already built into it?
A couple people said I may have to worry about port forwarding issues, why if it works in a web browser without issues.
I can load up a web browser on the Pi and hit my windows site using signalR to push data and it works fine. Sounds fairly simple to me to copy the basic functionality of a browser in .net(my primary language), is it really that much more complicated in Linux?
Overall my main goal is to get data pushed to the RaPi, not polled as others have suggested.
Any suggestions would be great.
Thanx
SignalR works on the Pi - see this github sample.
A IIS/Windows hosted MVC app runs the SignalR hub
The remote control / UI is an MVC page. It connects to SignalR via javascript
The pi runs a console app, connecting to the SignalR hub via the c# client
The only trick is to compile the mono.sln in the signalR repo to get the C# client binaries.
The nuget C# signalr client binaries didn't connect to the server from the pi.
The mono compiled client signalr binaries can be used to connect from a pi or windows hosted console app.
Note this code base targets mono 3 while the default package from apt-get is mono 2. Compiling from mono3 from source isn't hard.
Whenever I debug my application (ASP.NET Web Application converted to Web Role), I am able to get to the login page. I go ahead and sign in, debug through that and it seems to work fine, but as soon as it takes me to the landing page after login, DevFC.exe stops working with the error:
An unhandled exception ('System.Net.Sockets.SocketException') occurred in DevFC.exe [8072].
Now, I've searched for the issue and have seen something about DevFC.exe crashing due to VMWare Workstation that listens on the same port (12000) and HTC Sync that also listens on that port. I have neither of those applications on my machine, so I am lost here. Using TCPView (from Sysinternals), I find no other application using that port.
The one thing I do notice is that [System Process] goes crazy creating connections to localhost:12000 once DevFC.exe gets started.
Anyone have some insight on this?
This might sound ridiculous but restarting your machine might solve the issue. If that doesn't work, try your project on a different machine. If the project works then there is an issue with your primary machine try uninstalling then reinstalling the Azure SDK. If the devFabric still crashes on the secondary machine then it's something related to your project.
You might want to take a look at the logs created in the DevFC folder here: %localappdata%\dftemp\DevFCLogs (C:\Users\[user]\AppData\Local\dftmp\DevFCLogs). This will hopefully shed light on the actual error (which in my case, was a conflict on port 12001. Ran netstat -ab afterwards and found it was vmware-hostd.exe. This is a service included with VMWare Workstation 8. I know you said you don't have that, but you may have some other conflicting software).
See this thread as well for more detail.
http://social.msdn.microsoft.com/Forums/en-US/windowsazuredevelopment/thread/7e205afd-4b9a-4387-8e10-99e4b8f27788
I'm quoting myself on a previous question I asked to further explain:
"I'm trying to run a freshly created ASP.NET Website using C#, however when I do so it launches FireFox and attempts to connect to http://localhost:1295/WebSite1/Default.aspx (for example), but after about 10-15 seconds it displays a "Connection Interrupted - The connection to the server was reset while the page was loading." Error.
This issue is also present with older ASP.NET C# pages/Web Services I've built in the past, nothing is actually running off the ASP.NET Development server."
This is the problem that was occuring, that is before I noticed every time I ran the website, the notification for the ASP.NET Server-startup showed one port (1130 for example), and when the website failed to load; it turns out it was attempting to load the site on another port (In this case, 1128). It was suggested that an anti-virus program could have caused this kind of redirection; low and behold uninstalling Nod32 fixed the problem!
So my question is: Has anyone found a way to create an exception or remove this functionality from Nod32?
Within Nod32 enter the Advanced Setup options, and turn off protocol filtering.
It's a known problem with NOD32. Looks like it's IMON module (protocol filter) accidentally does some modifications of TCP packets that go through it.
The solution is to either turn it off, or use a different software.