Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

The HTTP request is unauthorized with client authentication scheme 'Digest'.

SmartConnector Forum

Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • EcoStruxure Building
  • SmartConnector
  • SmartConnector Forum
  • The HTTP request is unauthorized with client authentication scheme 'Digest'.
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
JeffBowman
Sisko JeffBowman Sisko
164
ardak
ardak Schneider Alumni (Retired)
34
sesa180908_brid
Commander sesa180908_brid Commander
34
mike_meirovitz
Commander mike_meirovitz
21
View All
Related Products
product field
Comfort Laboratory
SmartConnector OPC Classical Extension

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to SmartConnector Forum
sesa145614_brid
Ensign sesa145614_brid Ensign
Ensign

Posted: ‎2021-08-25 02:26 PM

0 Likes
7
3731
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2021-08-25 02:26 PM

The HTTP request is unauthorized with client authentication scheme 'Digest'.

Hi,

 

I have a SmartConnector extension Update Processor which worked fine before and suddently I got the following error. I did not change anything, the password remains the same. Do you have any idea what could cause this error.

 

2021-08-25 17:05:26.6992,Error,Processor,<no principal>,The HTTP request is unauthorized with client authentication scheme 'Digest'. The authentication header received from the server was 'Digest realm="ews@SxWBM",qop="auth",algorithm="SHA-256",nonce="693B5DE4F03FED82FA077138C273380801990ED2701C462DB7E01B2CE575828F1FA7B94F68B320B638B51A4F",opaque="1855AA"'.
The remote server returned an error: (401) Unauthorized.

Server stack trace:
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateAuthentication(HttpWebRequest request, HttpWebResponse response, WebException responseException, HttpChannelFactory`1 factory)
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Ews.Client.IDataExchange.GetUpdatedAlarmEvents(GetUpdatedAlarmEventsRequest1 request)
at Ews.Client.DataExchangeClient.GetUpdatedAlarmEvents(GetUpdatedAlarmEventsRequest request)
at Ews.Client.EwsClient.ExecuteAndLogCall[TRequest,TResponse](String methodName, TRequest request, Func`2 methodToLog)
at Ews.Client.EwsClient.GetUpdatedAlarmEvents(String lastUpdate, Nullable`1 priorityFrom, Nullable`1 priorityTo, String moreDataRef, String[] types)
at SmartConnector.Extension.CMMS.UpdateProcessor.ProcessAlarmsForWorkOrder(EwsClient clientObj)
,[],
2021-08-25 17:05:26.6992,Info,Processor,<no principal>,Validation Prompt for CMMS Update Processor: MayNotContinue : The HTTP request is unauthorized with client authentication scheme 'Digest'. The authentication header received from the server was 'Digest realm="ews@SxWBM",qop="auth",algorithm="SHA-256",nonce="693B5DE4F03FED82FA077138C273380801990ED2701C462DB7E01B2CE575828F1FA7B94F68B320B638B51A4F",opaque="1855AA"'. ,

 

Thanks!

 

Juh

  • Thumbnail of SmartConnector OPC Classical Extension
    Comfort Laboratory
    SmartConnector OPC Classical Extension
View products (1)
Tags (1)
  • Tags:
  • english
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
Replies 7
ardak
ardak Schneider Alumni (Retired)
Schneider Alumni (Retired)

Posted: ‎2021-08-25 10:46 PM

0 Likes
6
3721
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2021-08-25 10:46 PM

Hi,

 

For how long did this work before failing? Minutes, hours or years? 🙂

 

A couple of possibilities to look at:

 

1. If you are using HTTP, you may exhaust EBO sessions if you send a lot of EWS Requests. Try setting upp HTTPS.

2. Double check your EWS user. Make sure that it is (still) on the default domain in EBO. If the default domain is changed, you need to add it to the EWS user string (e.g. "my_domain/my_user" ). If the domain is the default one, this can be omitted.

 

BR

Armend

Tags (1)
  • Tags:
  • english
Reply
Erwin-vd-Zwart
Sisko Erwin-vd-Zwart Sisko
Sisko

Posted: ‎2021-08-25 11:38 PM . Last Modified: ‎2021-08-25 11:42 PM

0 Likes
1
3718
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2021-08-25 11:38 PM

Digest is a authentication method so if you are doing a http request to a remote URI, i think you need to add a c# class to make that possible

Tags (1)
  • Tags:
  • english
Reply
ardak
ardak Schneider Alumni (Retired)
Schneider Alumni (Retired)

Posted: ‎2021-08-26 12:03 AM

0 Likes
0
3712
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2021-08-26 12:03 AM

Hello Erwin,

 

Thank you for your input! Not sure if you intended to answer me or the original poster, but:

 

The smartconnector framework has helper classes which manage authentication. From the log output, it looks to me like these are being used, so digest authentication is probably being used here.

 

Furthermore, the poster states the extension was working for a while, which makes one of the two suggestions above more plausible.

 

Thanks again,

Armend

Tags (1)
  • Tags:
  • english
Reply
sesa145614_brid
Ensign sesa145614_brid Ensign
Ensign

Posted: ‎2021-08-26 05:26 AM

0 Likes
3
3704
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2021-08-26 05:26 AM

Hi,

 

For 1. If you are using HTTP, you may exhaust EBO sessions if you send a lot of EWS Requests. Try setting upp HTTPS.

Do you mean that I just change the Server URL from http to https?

I changed it and also changed my extention EWS sever to use https but not working. Do I need to do anything beside this?

 

EWS Server to Https.jpg

 

For 2nd solution: 

 

2. Double check your EWS user. Make sure that it is (still) on the default domain in EBO. If the default domain is changed, you need to add it to the EWS user string (e.g. "my_domain/my_user" ). If the domain is the default one, this can be omitted.

 

Could you give me some screenshots to show me where to verify that?

 

Thanks!

 

Juh

Tags (1)
  • Tags:
  • english
Reply
ardak
ardak Schneider Alumni (Retired)
Schneider Alumni (Retired)

Posted: ‎2021-08-26 06:19 AM

0 Likes
2
3701
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2021-08-26 06:19 AM

This is where you can find the domain: 

 

The one with the blue tick mark is the selected default domain.

 

default_domain.png

 

About HTTP/HTTPS

 

In the screenshot you attached, you show EBO connecting to a (probably smartconnector?) EWS Server. This is not where the logged errors come from.

It looks like your processor uses EWS to communicate with an external EWS Server, and that's where these errors are coming from. Probably configurable in your code or smartconnector portal.

 

BR

Armend

 

Tags (1)
  • Tags:
  • english
Reply
sesa145614_brid
Ensign sesa145614_brid Ensign
Ensign

Posted: ‎2021-08-27 09:19 AM

0 Likes
1
3694
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2021-08-27 09:19 AM

I think changing the following settings fixed my problem.

 

  1. Uncheck Redirect web clients to https

  2. Check Allow authentication with MD5 hash

 

EBO Security Settings.jpg

 

Thank you Armend!

 

Juh

Tags (1)
  • Tags:
  • english
Reply
ardak
ardak Schneider Alumni (Retired)
Schneider Alumni (Retired)

Posted: ‎2021-08-27 10:39 PM

0 Likes
0
3691
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2021-08-27 10:39 PM

Great! This means that #1 was the issue. This option make communication between smartconnector and EBO insecure. This may or may not be an issue for your setup.

 

If you want to switch to HTTPS, which is most likely preferable in a production environment, you need to generate a certificate in EBO if you haven't done so yet, install it on the computer and change the URL for you EBO EWS Server Address in your smartconnector extension to the corresponding HTTPS one.

 

Best of luck

Armend

Tags (1)
  • Tags:
  • english
Reply
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of