| |
| Nick Shulman responded: |
2025-10-03 11:06 |
In that "SkylineAuthenticationError.PNG" screenshot, could you try checking the "More info" checkbox and then push the "Copy text" button and give us all that text?
I am not the expert on Waters connect. Someone else might be able to give you a better answer. However, the extra information from the error in that window end up being helpful.
-- Nick |
| |
| Matt Chambers responded: |
2025-10-03 12:14 |
Why is Account type set to UNIFI instead of waters_connect? |
| |
| Matthew Daly responded: |
2025-10-06 01:20 |
Hi, thanks for getting back.
Here is the full text:
At 9:26 AM:
Failed importing results file 'Company/Matt/ASMS_PhosphoMRM/20250522_XMRT_1pmolinmatrix'.
authentication error: incorrect hostname, username or password? (invalid_client)
pwiz.Skyline.Model.Results.ChromCacheBuildException: Failed importing results file 'Company/Matt/ASMS_PhosphoMRM/20250522_XMRT_1pmolinmatrix'.
authentication error: incorrect hostname, username or password? (invalid_client) ---> System.Exception: authentication error: incorrect hostname, username or password? (invalid_client)
at pwiz.CLI.msdata.ReaderList.read(String filename, MSData result, Int32 runIndex, ReaderConfig config)
at pwiz.ProteowizardWrapper.MsDataFileImpl..ctor(String path, Int32 sampleIndex, LockMassParameters lockmassParameters, Boolean simAsSpectra, Boolean srmAsSpectra, Boolean acceptZeroLengthSpectra, Boolean requireVendorCentroidedMS1, Boolean requireVendorCentroidedMS2, Boolean ignoreZeroIntensityPoints, Int32 preferOnlyMsLevel, Boolean combineIonMobilitySpectra, Boolean trimNativeId, Boolean passEntireDiaPasefFrame) in C:\proj\pwiz\pwiz_tools\Shared\ProteowizardWrapper\MsDataFileImpl.cs:line 206
at pwiz.CommonMsData.OpenMsDataFileParams.OpenLocalFile(String path, Int32 sampleIndex, LockMassParameters lockMassParameters)
at pwiz.Skyline.Model.Results.ChromCacheBuilder.BuildCache() in C:\proj\pwiz\pwiz_tools\Skyline\Model\Results\ChromCacheBuilder.cs:line 197
--- End of inner exception stack trace ---
If I try to set the account type to waters_connect I see the error (attached) when I click "Test". The full error is:
---------------------------
Skyline-daily
---------------------------
An exception occurred while trying to fetch the directory listing.
---------------------------
OK More Info
---------------------------
Skyline-daily (64-bit) 25.1.1.271 (67f3e15e7)
System.Reflection.TargetInvocationException: There was an error communicating with the server: Response status code does not indicate success: 404 (Not Found). ---> pwiz.CommonMsData.RemoteApi.RemoteServerException: There was an error communicating with the server: Response status code does not indicate success: 404 (Not Found). ---> System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at pwiz.CommonMsData.RemoteApi.WatersConnect.WatersConnectSession.GetFolders(Uri requestUri)
at pwiz.CommonMsData.RemoteApi.RemoteSession.FetchAndStore[T](Uri requestUri, Func`2 fetcher)
--- End of inner exception stack trace ---
at pwiz.Skyline.ToolsUI.EditRemoteAccountDlg.<>c__DisplayClass23_0.<TestAccount>b__1(ILongWaitBroker broker) in C:\proj\pwiz\pwiz_tools\Skyline\ToolsUI\EditRemoteAccountDlg.cs:line 527
at pwiz.Skyline.Controls.LongWaitDlg.RunWork(Action`1 performWork) in C:\proj\pwiz\pwiz_tools\Skyline\Controls\LongWaitDlg.cs:line 254
--- End of inner exception stack trace ---
at pwiz.Skyline.Util.Helpers.WrapAndThrowException(Exception x) in C:\proj\pwiz\pwiz_tools\Skyline\Util\Util.cs:line 1635
at pwiz.Skyline.Controls.LongWaitDlg.PerformWork(Control parent, Int32 delayMillis, Action`1 performWork) in C:\proj\pwiz\pwiz_tools\Skyline\Controls\LongWaitDlg.cs:line 202
at pwiz.Skyline.ToolsUI.EditRemoteAccountDlg.TestAccount(RemoteSession session) in C:\proj\pwiz\pwiz_tools\Skyline\ToolsUI\EditRemoteAccountDlg.cs:line 517
--------------------------- |
|
| |
| Matt Chambers responded: |
2025-10-06 08:19 |
If it's a waters_connect server you should definitely choose waters_connect in the dropdown, and vice versa.
Can you double check the port for the server? 48505 is common for UNIFI but it's usually 48444 for waters_connect. |
| |
| Matthew Daly responded: |
2025-10-06 08:35 |
Hi Matt,
I've changed the port to what you suggested and I can test the connection successfully.
However, when I try to import results I now get the following error:
Skyline version: 25.1.1.271-67f3e15e7 (64-bit)
Installation ID: 41555f48-62b9-4810-8fd7-96101fd153d5
Exception type: ArgumentException
Error message: remoteAccount
--------------------
System.ArgumentException: remoteAccount
at pwiz.CommonMsData.RemoteApi.RemoteSession.CreateSession(RemoteAccount remoteAccount)
at pwiz.Skyline.FileUI.BaseFileDialogNE.populateListViewFromDirectory(MsDataFileUri directory) in C:\proj\pwiz\pwiz_tools\Skyline\FileUI\BaseFileDialogNE.cs:line 376
at pwiz.Skyline.FileUI.BaseFileDialogNE.set_CurrentDirectory(MsDataFileUri value) in C:\proj\pwiz\pwiz_tools\Skyline\FileUI\BaseFileDialogNE.cs:line 204
at pwiz.Skyline.FileUI.BaseFileDialogNE.ShowDialog(IWin32Window owner) in C:\proj\pwiz\pwiz_tools\Skyline\FileUI\BaseFileDialogNE.cs:line 171
at pwiz.Skyline.FileUI.ImportResultsDlg.GetDataSourcePaths(Control parent, String documentSavedPath) in C:\proj\pwiz\pwiz_tools\Skyline\FileUI\ImportResultsDlg.cs:line 339
at pwiz.Skyline.FileUI.ImportResultsDlg.GetDataSourcePathsFile(String name) in C:\proj\pwiz\pwiz_tools\Skyline\FileUI\ImportResultsDlg.cs:line 320
at pwiz.Skyline.FileUI.ImportResultsDlg.OkDialog() in C:\proj\pwiz\pwiz_tools\Skyline\FileUI\ImportResultsDlg.cs:line 189
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Exception caught at:
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at System.Windows.Forms.Control.WndProcException(Exception e)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at pwiz.Skyline.SkylineWindow.ImportResults() in C:\proj\pwiz\pwiz_tools\Skyline\SkylineFiles.cs:line 2889
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at pwiz.Skyline.Program.Main(String[] args) in C:\proj\pwiz\pwiz_tools\Skyline\Program.cs:line 338
Any ideas please?
Thanks
Matt |
| |
| Matt Chambers responded: |
2025-10-06 09:01 |
That is perplexing. Can you try to delete the remote account and recreate it and try again? |
| |
| Matthew Daly responded: |
2025-10-06 09:12 |
Hi Matt
Same error I think:
Skyline version: 25.1.1.271-67f3e15e7 (64-bit)
Installation ID: 41555f48-62b9-4810-8fd7-96101fd153d5
Exception type: ArgumentException
Error message: remoteAccount
--------------------
System.ArgumentException: remoteAccount
at pwiz.CommonMsData.RemoteApi.RemoteSession.CreateSession(RemoteAccount remoteAccount)
at pwiz.Skyline.FileUI.BaseFileDialogNE.populateListViewFromDirectory(MsDataFileUri directory) in C:\proj\pwiz\pwiz_tools\Skyline\FileUI\BaseFileDialogNE.cs:line 376
at pwiz.Skyline.FileUI.BaseFileDialogNE.set_CurrentDirectory(MsDataFileUri value) in C:\proj\pwiz\pwiz_tools\Skyline\FileUI\BaseFileDialogNE.cs:line 204
at pwiz.Skyline.FileUI.BaseFileDialogNE.ShowDialog(IWin32Window owner) in C:\proj\pwiz\pwiz_tools\Skyline\FileUI\BaseFileDialogNE.cs:line 171
at pwiz.Skyline.FileUI.ImportResultsDlg.GetDataSourcePaths(Control parent, String documentSavedPath) in C:\proj\pwiz\pwiz_tools\Skyline\FileUI\ImportResultsDlg.cs:line 339
at pwiz.Skyline.FileUI.ImportResultsDlg.GetDataSourcePathsFile(String name) in C:\proj\pwiz\pwiz_tools\Skyline\FileUI\ImportResultsDlg.cs:line 320
at pwiz.Skyline.FileUI.ImportResultsDlg.OkDialog() in C:\proj\pwiz\pwiz_tools\Skyline\FileUI\ImportResultsDlg.cs:line 189
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Exception caught at:
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at System.Windows.Forms.Control.WndProcException(Exception e)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at pwiz.Skyline.SkylineWindow.ImportResults() in C:\proj\pwiz\pwiz_tools\Skyline\SkylineFiles.cs:line 2889
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at pwiz.Skyline.Program.Main(String[] args) in C:\proj\pwiz\pwiz_tools\Skyline\Program.cs:line 338
I tried deleting and re-adding the remote account. I also tried changing the address from the computer name to "localhost". In every configuration I could test the connection successfully but then get the above error.
Thanks
Matt |
| |
| Nick Shulman responded: |
2025-10-06 10:36 |
Matt Daly,
It would be helpful if you could send us the "user.config" file that you have.
If you go to the "Miscellaneous" tab at "Tools > Options", there's a textbox "Settings are stored in:" which says where the settings file is.
If you could send us the file that is referred to by that text box it would help us figure out this latest error that you are hitting.
I will send you an email directly.
I believe the "user.config" file does not contain any confidential data, but, just in case, you might as well email it to us instead of posting it here.
-- Nick |
| |
| Matt Chambers responded: |
2025-10-07 08:27 |
It seems the remoteAccount isn't being serialized to the user.config file for some reason. Have you tried restarting Skyline? Does the account still show up in the Remote Accounts tab when you do? |
| |
| Matthew Daly responded: |
2025-10-07 08:37 |
Hi Matt,
Yes I have tried restarting Skyline, and the remote account persists when I start a new session. I can test the connection as well and it says all settings are correct.
Thanks
Matt |
| |
|
|