Myrtille does not connect to a remote session
See original GitHub issueMy RDS environment with Myrtille was working properly, but after I rebooted to apply the Windows Server Update (KB4088787 - Security Patch) Myrtille stopped working.
I checked the Myrtille.Services.log file and it apparently does not show any errors:
2018-03-14 07:45:06,414 [4] INFO System.Diagnostics redirection [(null)] - Service: Myrtille.Services.RemoteSessionProcess
2018-03-14 07:45:06,445 [4] INFO System.Diagnostics redirection [(null)] - Endpoint: WSDualHttpBinding_IRemoteSessionProcess
2018-03-14 07:45:06,445 [4] INFO System.Diagnostics redirection [(null)] - Address: http://localhost:8080/Myrtille/RemoteSessionProcess
2018-03-14 07:45:06,445 [4] INFO System.Diagnostics redirection [(null)] - Binding: WSDualHttpBinding
2018-03-14 07:45:06,445 [4] INFO System.Diagnostics redirection [(null)] - Contract: Myrtille.Services.Contracts.IRemoteSessionProcess
2018-03-14 07:45:06,445 [4] INFO System.Diagnostics redirection [(null)] -
2018-03-14 07:45:06,445 [4] INFO System.Diagnostics redirection [(null)] - Service: Myrtille.Services.FileStorage
2018-03-14 07:45:06,445 [4] INFO System.Diagnostics redirection [(null)] - Endpoint: BasicHttpBinding_IFileStorage
2018-03-14 07:45:06,445 [4] INFO System.Diagnostics redirection [(null)] - Address: http://localhost:8080/Myrtille/FileStorage
2018-03-14 07:45:06,445 [4] INFO System.Diagnostics redirection [(null)] - Binding: BasicHttpBinding
2018-03-14 07:45:06,445 [4] INFO System.Diagnostics redirection [(null)] - Contract: Myrtille.Services.Contracts.IFileStorage
2018-03-14 07:45:06,445 [4] INFO System.Diagnostics redirection [(null)] -
2018-03-14 07:45:34,862 [5] INFO System.Diagnostics redirection [(null)] - Started remote session 1
2018-03-14 07:45:50,676 [5] INFO System.Diagnostics redirection [(null)] - Stopped remote session 1
2018-03-14 07:47:13,738 [4] INFO System.Diagnostics redirection [(null)] - Service: Myrtille.Services.RemoteSessionProcess
2018-03-14 07:47:13,769 [4] INFO System.Diagnostics redirection [(null)] - Endpoint: WSDualHttpBinding_IRemoteSessionProcess
2018-03-14 07:47:13,769 [4] INFO System.Diagnostics redirection [(null)] - Address: http://localhost:8080/Myrtille/RemoteSessionProcess
2018-03-14 07:47:13,769 [4] INFO System.Diagnostics redirection [(null)] - Binding: WSDualHttpBinding
2018-03-14 07:47:13,769 [4] INFO System.Diagnostics redirection [(null)] - Contract: Myrtille.Services.Contracts.IRemoteSessionProcess
2018-03-14 07:47:13,769 [4] INFO System.Diagnostics redirection [(null)] -
2018-03-14 07:47:13,785 [4] INFO System.Diagnostics redirection [(null)] - Service: Myrtille.Services.FileStorage
2018-03-14 07:47:13,785 [4] INFO System.Diagnostics redirection [(null)] - Endpoint: BasicHttpBinding_IFileStorage
2018-03-14 07:47:13,785 [4] INFO System.Diagnostics redirection [(null)] - Address: http://localhost:8080/Myrtille/FileStorage
2018-03-14 07:47:13,785 [4] INFO System.Diagnostics redirection [(null)] - Binding: BasicHttpBinding
2018-03-14 07:47:13,785 [4] INFO System.Diagnostics redirection [(null)] - Contract: Myrtille.Services.Contracts.IFileStorage
2018-03-14 07:47:13,785 [4] INFO System.Diagnostics redirection [(null)] -
2018-03-14 07:49:12,712 [8] INFO System.Diagnostics redirection [(null)] - Started remote session 2
2018-03-14 07:49:28,663 [11] INFO System.Diagnostics redirection [(null)] - Stopped remote session 2
2018-03-14 07:51:13,182 [12] INFO System.Diagnostics redirection [(null)] - Started remote session 3
2018-03-14 07:51:13,741 [6] INFO System.Diagnostics redirection [(null)] - Stopped remote session 3
2018-03-14 07:51:39,804 [11] INFO System.Diagnostics redirection [(null)] - Started remote session 4
2018-03-14 07:51:40,330 [11] INFO System.Diagnostics redirection [(null)] - Stopped remote session 4
2018-03-14 07:52:27,948 [15] INFO System.Diagnostics redirection [(null)] - Started remote session 5
2018-03-14 07:52:28,484 [6] INFO System.Diagnostics redirection [(null)] - Stopped remote session 5
2018-03-14 07:54:42,846 [16] INFO System.Diagnostics redirection [(null)] - Started remote session 6
2018-03-14 07:54:58,293 [17] INFO System.Diagnostics redirection [(null)] - Stopped remote session 6
2018-03-14 07:56:19,509 [19] INFO System.Diagnostics redirection [(null)] - Started remote session 7
2018-03-14 07:56:20,478 [20] INFO System.Diagnostics redirection [(null)] - Stopped remote session 7
2018-03-14 07:57:15,361 [22] INFO System.Diagnostics redirection [(null)] - Started remote session 8
2018-03-14 07:57:16,321 [22] INFO System.Diagnostics redirection [(null)] - Stopped remote session 8
2018-03-14 07:59:56,680 [23] INFO System.Diagnostics redirection [(null)] - Started remote session 9
2018-03-14 07:59:57,615 [24] INFO System.Diagnostics redirection [(null)] - Stopped remote session 9
2018-03-14 08:00:11,049 [20] INFO System.Diagnostics redirection [(null)] - Started remote session 10
2018-03-14 08:00:11,191 [20] INFO System.Diagnostics redirection [(null)] - Stopped remote session 10
2018-03-14 08:01:27,406 [22] INFO System.Diagnostics redirection [(null)] - Started remote session 11
2018-03-14 08:01:27,978 [21] INFO System.Diagnostics redirection [(null)] - Stopped remote session 11
2018-03-14 08:01:53,611 [24] INFO System.Diagnostics redirection [(null)] - Started remote session 12
2018-03-14 08:01:54,132 [19] INFO System.Diagnostics redirection [(null)] - Stopped remote session 12
The Myrtille.Web.log file is already displaying the following error:
2018-03-14 08:01:52,770 [61] ERROR System.Diagnostics redirection [(null)] - Failed to create remote session (System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at Myrtille.Web.Default.ConnectButtonClick(Object sender, EventArgs e))
I am informing the credentials correctly, but I can no longer access through Myrtille, but using RDWeb and downloading the RDP file is working properly. Not whether the Windows update has generated the problem or not.
Another point that I checked, is that from time to time is happening the following error in the windows event log, but I do not know if there is a relation:
Anyone have any idea what’s going on?
Issue Analytics
- State:
- Created 6 years ago
- Comments:18 (7 by maintainers)
Top Results From Across the Web
Unable to connect remote server by using Myrtille
I installed the Myrtille (Remote Desktop application). And I can see the connection page but it's not connecting to the remote server using ......
Read more >myrtille / Wiki / Troubleshoot (FAQ)
Check the RDP server configuration (session disconnect timeout in particular). You can setup it automatically by importing the Myrtille "RDPSetup.reg" file into ...
Read more >Troubleshooting Myrtille
These are tips for connecting to the remote scope using Live Full Control from TekScope. All the tips below can be tried on...
Read more >Myrtille
Myrtille is a remote access gateway. It's installed once and gives access to all machines (where remote access is enabled) on the network....
Read more >Myrtille RDP connect from URL - YouTube
Myrtille (https://www. myrtille.io) is an Open Source HTML5 Remote Access Gateway (RDP, Hyper-V and SSH). This video shows how to connect an ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll release a new build this week and this will be fixed
Hi. I have Myrtille version 2.3.1 (stable), Windows 32 and 64 bits installed on Windows Server 2012 R2 datacenter(32gb ram, 8 core cpu). When i try to access the same machine on which Myrtille is installed through browser from remote machine it randomly gets connected. Most of the time it does not get connected. Very rarely it gets connected otherwise it just shows blank screen. In browser console the websocket request shows “pending” as status for request “Myrtille/SocketHandler.ashx?type=binary”.
However if i open myrtille in a browser in the same server(on which myrtille is installed. Quite stupid) and login as different user i am able acess and work. In browser console the websocket request shows “101” as status for request “Myrtille/SocketHandler.ashx?type=binary”. But the issue occurs only if try to login through some remote machine. And it is random. Sometimes only it connects. Checked logs in myrtille.web.log. Found following errors. “System.Diagnostics redirection [(null)] - Failed to retrieve the active remote session (System.NullReferanceException: Object reference not set to an instance of an object at Myrtille.Web.PushUpdates.Page_Load(Object sender, EventArgs e))”
Restarting Myrtille Service does not help. Restarting the server does not help except the first time. Later the issue persists. Opening in Incognito, clearing browser cache etc. does not work.