We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

Gallery not accessible after server installation

LordingBeaten
7 - Meteor

Hello,

 

I just installed Alteryx Server on a new machine, version 2023.1.

This is not a migration but an installation on a clean machine.

 

When I try to access the gallery through the server browser, I get the following error.

 

{"data":null,"exceptionName":"UnknownException","innerExceptionMessage":"","message":"Erreur inconnue.\u000aArgumentException\u000aRequestID: 81046d1c66ec432a8c48a1e81a4485ac"}

 In the gallery logs I find this :

 

2023-06-15 15:15:47.868027;ERROR;39;AlteryxServerHost;ErrorHandler;HandleError;09ed3c5b90694d49812e5a1652d607df;non authentifié;::1;ALTERYX-SERVER;"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.43";GET;/gallery/;500;19;Exception caught by ErrorHandler and marshaled to client;System.ArgumentException: La valeur spécifiée est composée de caractères de contrôle non valides.->Nom du paramètre : value-> à System.Net.WebHeaderCollection.CheckBadChars(String name, Boolean isHeaderValue)-> à System.Net.WebHeaderCollection.Add(String name, String value)-> à Alteryx.Server.Api.Services.StaticContentService.GetResponseHeaders()-> à Alteryx.Server.Api.Services.StaticContentService.StreamFileContent()-> à SyncInvokeStreamFileContent(Object , Object[] , Object[] )-> à System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)-> à System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)-> à System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)-> à System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)-> à System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

How can I identify the problem ? 

Thanks.

11 REPLIES 11
fmvizcaino
17 - Castor
17 - Castor

Hey @LordingBeaten ,

 

Take a look at the service logs also. There you will find some additional insights about the issue. Please post here if needed.

 

Some additional questions:

  1. Is the AlteryxService running?
  2. Authentication method?
  3. SSL?

Walk me through things you consider important and we can go from there.

 

Best regards,

Fernando Vizcaino

 

LordingBeaten
7 - Meteor

Thank you for the feedback.

 

1. Yes the Alteryx service is started. The service seems to work because the logs are updated and the web page gives me this error.

2. Authentication is built-in.

 

3. No SSL configured.

 

I tested a connection to the MongoDB database, it works.

fmvizcaino
17 - Castor
17 - Castor

I`ve seen cases where the mongoDB database was not created correctly and since this is a brand new installation, I would suggest deleting the mongoDB folder and redoing it again.

 

  1. Stop the service
  2. Locate the mongoDB folder and delete it. Default location: C:\ProgramData\Alteryx\Service\Persistence\MongoDB
  3. Restart the service and you will see the mongoDB folder being recreated.

 

Best regards,

Fernando Vizcaino

LordingBeaten
7 - Meteor

MongoDB files were recreated when the service started. The error is still present.

 

For information: Accessing the gallery with "http://localhost/gallery/" gives the same result.

fmvizcaino
17 - Castor
17 - Castor

Could you share the most recent gallery and service logs?

LordingBeaten
7 - Meteor

Gallery logs

 

2023-06-15 18:24:29.507229;INFO;26;AlteryxServerHost;QueueWorker;Hibernate;;;;ALTERYX-SERVER;;;;;;Queue worker sleeping for 1 seconds.;
2023-06-15 18:24:30.516651;INFO;26;AlteryxServerHost;QueueWorker;Hibernate;;;;ALTERYX-SERVER;;;;;;Queue worker sleeping for 1 seconds.;
2023-06-15 18:24:31.525163;INFO;26;AlteryxServerHost;QueueWorker;Hibernate;;;;ALTERYX-SERVER;;;;;;Queue worker sleeping for 1 seconds.;
2023-06-15 18:24:31.916586;INFO;39;AlteryxServerHost;AuthorizationMessageInspector;AfterReceiveRequest;7cdd246375124bd991d969bded107e14;non authentifié;::1;ALTERYX-SERVER;;GET;/gallery/api/status/ping/;;-1;ServerRequest;
2023-06-15 18:24:31.916586;INFO;39;AlteryxServerHost;AuthorizationMessageInspector;BeforeSendReply;7cdd246375124bd991d969bded107e14;non authentifié;::1;ALTERYX-SERVER;;GET;/gallery/api/status/ping/;200;2;CloudResponse;
2023-06-15 18:24:32.248590;INFO;39;AlteryxServerHost;AuthorizationMessageInspector;AfterReceiveRequest;a84790c7d8234d19a77711e2461f343b;non authentifié;::1;ALTERYX-SERVER;"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.43";GET;/gallery/;;-1;ServerRequest;
2023-06-15 18:24:32.269588;INFO;39;AlteryxServerHost;AuthorizationMessageInspector;BeforeSendReply;a84790c7d8234d19a77711e2461f343b;non authentifié;::1;ALTERYX-SERVER;"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.43";GET;/gallery/;500;22;CloudResponse;
2023-06-15 18:24:32.269588;ERROR;41;AlteryxServerHost;ErrorHandler;HandleError;a84790c7d8234d19a77711e2461f343b;non authentifié;::1;ALTERYX-SERVER;"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.43";GET;/gallery/;500;22;Exception caught by ErrorHandler and marshaled to client;System.ArgumentException: La valeur spécifiée est composée de caractères de contrôle non valides.->Nom du paramètre : value-> à System.Net.WebHeaderCollection.CheckBadChars(String name, Boolean isHeaderValue)-> à System.Net.WebHeaderCollection.Add(String name, String value)-> à Alteryx.Server.Api.Services.StaticContentService.GetResponseHeaders()-> à Alteryx.Server.Api.Services.StaticContentService.StreamFileContent()-> à SyncInvokeStreamFileContent(Object , Object[] , Object[] )-> à System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)-> à System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)-> à System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)-> à System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)-> à System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
2023-06-15 18:24:32.535592;INFO;26;AlteryxServerHost;QueueWorker;Hibernate;;;;ALTERYX-SERVER;;;;;;Queue worker sleeping for 1 seconds.;
2023-06-15 18:24:33.545733;INFO;26;AlteryxServerHost;QueueWorker;Hibernate;;;;ALTERYX-SERVER;;;;;;Queue worker sleeping for 1 seconds.;
2023-06-15 18:24:34.413011;INFO;19;AlteryxServerWebApiHost;NLogLogger;Invoke;63e08b912dc84ddead339fc27fdc0905;unauthenticated;::1;ALTERYX-SERVER;;GET;http://alteryx-server.mydomain.local/webapi/status/;;-1;ServerApiRequest;
2023-06-15 18:24:34.413011;INFO;19;AlteryxServerWebApiHost;NLogLogger;Invoke;63e08b912dc84ddead339fc27fdc0905;unauthenticated;::1;ALTERYX-SERVER;;GET;http://alteryx-server.mydomain.local/webapi/status/;200;2;ServerApiResponse;
2023-06-15 18:24:34.556004;INFO;26;AlteryxServerHost;QueueWorker;Hibernate;;;;ALTERYX-SERVER;;;;;;Queue worker sleeping for 1 seconds.;
2023-06-15 18:24:35.567009;INFO;26;AlteryxServerHost;QueueWorker;Hibernate;;;;ALTERYX-SERVER;;;;;;Queue worker sleeping for 1 seconds.;
2023-06-15 18:24:36.375149;INFO;40;AlteryxServerHost;AuthorizationMessageInspector;AfterReceiveRequest;9d8ed2bb26ac4dbe806d8ba61e94d590;non authentifié;::1;ALTERYX-SERVER;"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.43";GET;/gallery/;;-1;ServerRequest;
2023-06-15 18:24:36.394145;INFO;40;AlteryxServerHost;AuthorizationMessageInspector;BeforeSendReply;9d8ed2bb26ac4dbe806d8ba61e94d590;non authentifié;::1;ALTERYX-SERVER;"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.43";GET;/gallery/;500;19;CloudResponse;
2023-06-15 18:24:36.394145;ERROR;41;AlteryxServerHost;ErrorHandler;HandleError;9d8ed2bb26ac4dbe806d8ba61e94d590;non authentifié;::1;ALTERYX-SERVER;"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.43";GET;/gallery/;500;19;Exception caught by ErrorHandler and marshaled to client;System.ArgumentException: La valeur spécifiée est composée de caractères de contrôle non valides.->Nom du paramètre : value-> à System.Net.WebHeaderCollection.CheckBadChars(String name, Boolean isHeaderValue)-> à System.Net.WebHeaderCollection.Add(String name, String value)-> à Alteryx.Server.Api.Services.StaticContentService.GetResponseHeaders()-> à Alteryx.Server.Api.Services.StaticContentService.StreamFileContent()-> à SyncInvokeStreamFileContent(Object , Object[] , Object[] )-> à System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)-> à System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)-> à System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)-> à System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)-> à System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
2023-06-15 18:24:36.577153;INFO;26;AlteryxServerHost;QueueWorker;Hibernate;;;;ALTERYX-SERVER;;;;;;Queue worker sleeping for 1 seconds.;

 

Service logs

 

2023-06-15 18:24:03.816000,NOTICE,2088,AlteryxService,RenderQueue,,,,,,,,"ServicePluginMapTile::AdjustThreads: Growing thread pool count to <0>"
2023-06-15 18:24:06.811000,DEBUG,1848,AlteryxService,,,,,,,,,"HostTracker_SynchronizeHosts: Synchronizing hosts"
2023-06-15 18:24:14.069000,DEBUG,8904,AlteryxService,,,,,,,,,"QueueHandler_ReadBody_WorkerCommand: Command <GetJob> worker <ALTERYX-SERVER|a2b015d9>"
2023-06-15 18:24:16.813000,DEBUG,1848,AlteryxService,,,,,,,,,"HostTracker_SynchronizeHosts: Synchronizing hosts"
2023-06-15 18:24:26.814000,DEBUG,1848,AlteryxService,,,,,,,,,"HostTracker_SynchronizeHosts: Synchronizing hosts"
2023-06-15 18:24:33.816000,NOTICE,2088,AlteryxService,RenderQueue,,,,,,,,"ServicePluginMapTile::AdjustThreads: Growing thread pool count to <0>"
2023-06-15 18:24:36.815000,DEBUG,1848,AlteryxService,,,,,,,,,"HostTracker_SynchronizeHosts: Synchronizing hosts"
2023-06-15 18:24:39.072000,DEBUG,7052,AlteryxService,,,,,,,,,"QueueHandler_ReadBody_WorkerCommand: Command <GetJob> worker <ALTERYX-SERVER|a2b015d9>"
2023-06-15 18:24:46.816000,DEBUG,1848,AlteryxService,,,,,,,,,"HostTracker_SynchronizeHosts: Synchronizing hosts"
2023-06-15 18:24:56.817000,DEBUG,1848,AlteryxService,,,,,,,,,"HostTracker_SynchronizeHosts: Synchronizing hosts"

 

These messages loop every second.

fmvizcaino
17 - Castor
17 - Castor

In your task manager > details, check if the AlteryxServerHost.exe is up and running or if it keeps stopping. I had this issue before and could only solve it by reinstalling Alteryx Server.

fmvizcaino_0-1686855006556.png

 

It seems like a particular issue and an uncommon one that I have never seen before. It may be related to antivirus or other applications interfering with the Alteryx Server processes but I suggest you open a case with the Alteryx support.

 

I apologize for not being able to help you out.

 

Best,

Fernando Vizcaino

LordingBeaten
7 - Meteor

Thank you.

 

The process seems stable.

 

I uninstalled and reinstalled but unfortunately I still have the same error.

sraynal
7 - Meteor

Hi, 
Did you find a solution ? I have the same problem.