This project has moved. For the latest updates, please go here.
2
Vote

passport header not found continued...

description

Hi,

I have just installed the latest build (1.1.54.0).

I logged out (Tools, log out and exit) and re-started and logged back in. Then pressed the prefetch newsgroups button. I get this stuff pasted below.

Please note that my passport ID is different from the useremail in settings, not sure if that makes a difference?

Error during LoadNewsgroupsToStream (SupportedBrands): Exception:
Type System.ServiceModel.FaultException
Source: mscorlib
Message: Passport Header Not Found
Stack-Trace:

Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
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 CommunityForumsNNTPServer.WebServiceDataSource.Forums.IForumsService.GetActiveBrands()
at CommunityForumsNNTPServer.WebServiceDataSource.Forums.ForumsServiceClient.GetActiveBrands()
at CommunityForumsNNTPServer.ForumDataSource.LoadNewsgroupsToStream(Action`1 groupAction)

file attachments

comments

jkpieterse wrote Oct 31, 2013 at 2:15 PM

Looks like this issue can be fixed by going to the settings of the forum,, Unchecking "use NNTP bridge", saving and then checking that box again and saving the settings. Stupid but it works.

jkalmbach wrote Oct 31, 2013 at 3:01 PM

Please be sure you have read the documentation at:http://communitybridge.codeplex.com/

Go to "Quick access | My Settings | Be sure the "Use NNTP bridge" is checked and press "Save changes"See also: http://social.msdn.microsoft.com/Forums/en-US/user

itandetnik wrote Oct 31, 2013 at 4:30 PM

Doesn't work for me. I unchecked "Use NNTP Bridge" checkbox, saved, re-checked, saved. Just in case, I did it twice - once on social.microsoft.com and again on social.msdn.microsoft.com. I then did "Logout and exit" in the bridge, then restarted and logged back in. I'm still getting "Passport Header Not Found". I'm running 1.1.54.0

ChristianWeihs wrote Nov 2, 2013 at 8:26 AM

Hi,

same here but temporaly I was able to get an to send messages.

I rechecked "Use NNTP Bridge" but nothing helps...

Any ideas?

BE
Christian

ChristianWeihs wrote Nov 3, 2013 at 8:43 AM

Hi again,

I had to "Logoff and Exit" at the NNTP Bridge and relogin. After this it temporaly works...

The server restart is not enough...

BE
Christian

Bobby42 wrote Nov 4, 2013 at 8:55 AM

Same issue here.

I restartet the bridge, changed "Use NNTP Bridge" a couple of times but I still get this error every time right after the start of the bridge.

jkalmbach wrote Nov 4, 2013 at 10:24 AM

After several hours of debugging and more logging and some additonal tasks, I found the problem.
On the server-side the LiveConnect API returns the following:
The remote server returned an error: (420) Request Throttled.

It would have been nice, if the web-service had returned this error message ;)

So, there is currently no solution I can implement. The only thing I have already done is connect MS and try to remove the throtteling (or event better: MS creates it own ClientId).

jkalmbach wrote Nov 4, 2013 at 4:06 PM

More internal infos:
Internally, the web-service needs to get the user-ID for each request. To get the user-ID, the authentication token (AccessToken) to passed to the following URL:
https://apis.live.net/v5.0/me?access_token=<AccessToken>

Then it will return the following information in JASON format:
{
"id": "nnnn",
"name": "Jochen Kalmbach",
"first_name": "Jochen",
"last_name": "Kalmbach",
"gender": null,
"locale": "de_DE"
}

The "id" is then used to identify this user. This "id" is also stored in the database, after you check the "Use NNTP bridge" and press "Save changes".

With this id, each request from the bridge can be assigned to an specific user.

If the Live-API get too much requests in a specific time, they will throttle the requests and return "420 Request Throttled".

I am not aware of any documentation on the throtteling system, nor of any system to increase these limits...

Only MS can increase these limits....

WinfriedSonntag wrote Nov 4, 2013 at 5:26 PM

Hi Jochen,

thank you very much for your hard work. ;)

Hopefully MS can help you.

Thanks and Regards
Winfried

ChristianWeihs wrote Nov 4, 2013 at 6:19 PM

Hi Jochen,

THX for all your support! After all your troublehooting and the announcement from MS for the NNTP Bridge, it is their turn to solve the issue ASAP!

BE
Christian

PS: Thanks MS for throtteling everywhere! :-)

Bobby42 wrote Nov 4, 2013 at 7:09 PM

Is this throttling on a per user base or over all users using the bridge?

I got "throttled" even if I prefech the newgroups list twice.

jkalmbach wrote Nov 4, 2013 at 7:36 PM

I am not sure, but I think it is web-service-based. So every user and request will count and this makes it clear why it happes so often ;)

WinfriedSonntag wrote Nov 4, 2013 at 8:12 PM

First, Bridge come back, because most of top answerer are away, and now MSFT build a big brake. Great! Thank you MS!

WinfriedSonntag wrote Nov 5, 2013 at 6:51 PM

I installed V.55 on this Client, delete Cookies in IE, restart the Client, Passport Header not found come back. Attached you will find the log.

jkalmbach wrote Nov 5, 2013 at 7:34 PM

It seems that the trotteling is still active... Please look at the logfile and search for CheckTicket. This is called if the passport header error is returned. It checks the reason why this errors occurs. And in your logfile you will see "request throttled"... Also you see how long (seconds) you need to wait until it works again...

WinfriedSonntag wrote Nov 5, 2013 at 8:29 PM

What are the seconds?

2013-11-05 22:21:21,1548 [Client 13] ClientDisconnected
2013-11-05 22:21:22,1488 CheckTicket: Der Remoteserver hat einen Fehler zurückgegeben: (420) Request Throttled.
Retry-After: 386
X-MSNSERVER: BY2____4012134
Access-Control-Allow-Origin: https://skydrive.live.com
X-Content-Type-Options: nosniff
X-HTTP-Live-Request-Id: API.1204bba6-ee2c-4e99-b006-499ef793b03b
Content-Length: 195
Cache-Control: private, no-cache, no-store, must-revalidate
Content-Type: application/json; charset=UTF-8
Date: Tue, 05 Nov 2013 21:21:20 GMT
P3P: CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo TELo"

The Number Retry-After?

jkalmbach wrote Nov 6, 2013 at 6:08 AM

Retry-After: 386

WinfriedSonntag wrote Nov 26, 2013 at 8:04 PM

Looks like the problem is solved, can any bode confirm?

Winfried

itandetnik wrote Nov 26, 2013 at 10:24 PM

Not for me. The bridge works for me in the morning, until about 11am (EST, New York time), then starts getting those errors. Once errors start, the bridge is unusable for the rest of the day.

WinfriedSonntag wrote Nov 27, 2013 at 6:15 AM

Did you use the V55? Did you try once Log out and finish and start again?

itandetnik wrote Nov 27, 2013 at 11:05 AM

Yes. Yes, many times.

LutzU wrote Nov 27, 2013 at 11:51 AM

Same problem

I restarted bridge several times.
I unchecked, checked and saved "Use NNTP bridge".
I did everything new ...

But at the moment i got no connect.
2013-11-27 13:37:59,8976 LiveConnect: Try authentication
2013-11-27 13:38:03,5275 Session changed: Expires: 2013-11-27 13:38:03Z, AccessToken: xxxxxxxxxxxx
2013-11-27 13:38:03,5506 Authenticated: Session changed! AccessToken: xxxxxxxxxxxx
2013-11-27 13:38:03,5561 Authenticated: AccessToken: xxxxxxxxxxxxx
2013-11-27 13:38:03,5561 Create forums service provider: social
2013-11-27 13:38:03,6431 Creating datasource for NNTP server
2013-11-27 13:38:03,6526 Starting NNTP server
2013-11-27 13:38:37,4944 [Client 1] ClientConnected
2013-11-27 13:38:37,5319 [Client: 1] ClassifyCommand: MODE READER
2013-11-27 13:38:37,5324 [Client: 1] Received: Command: MODE, Parameters: READER
2013-11-27 13:38:37,5349 [Client: 1] Received: Response: 200 Community Forums NNTP Server 1.1.55.0 Ready - posting allowed

2013-11-27 13:38:37,5364 [Client: 1] ClassifyCommand: GROUP Msdn.de-DE.accessde
2013-11-27 13:38:37,5399 [Client: 1] Received: Command: GROUP, Parameters: Msdn.de-DE.accessde
2013-11-27 13:38:44,4087 CheckTicket: Der Remoteserver hat einen Fehler zurückgegeben: (420) Request Throttled.
Retry-After: 485
X-MSNSERVER: BY2____4011932
X-Content-Type-Options: nosniff
X-HTTP-Live-Request-Id: API.1cc68fa8-b82a-4554-a57a-d704dc2b1c2b
Content-Length: 195
Cache-Control: private, no-cache, no-store, must-revalidate
Content-Type: application/json; charset=UTF-8
Date: Wed, 27 Nov 2013 12:37:12 GMT
P3P: CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo TELo"


2013-11-27 13:38:44,4367 [Client 1] DataReceived failed: Exception:
Type System.ServiceModel.FaultException
Source: mscorlib
Message: Passport Header Not Found
Stack-Trace:

Server stack trace: 
   bei System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   bei System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   bei System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   bei System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: 
   bei System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   bei System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   bei CommunityForumsNNTPServer.WebServiceDataSource.Forums.IForumsService.GetForumNewsGroupByName(String discussionGroupName)
   bei CommunityForumsNNTPServer.WebServiceDataSource.Forums.ForumsServiceClient.GetForumNewsGroupByName(String discussionGroupName)
   bei CommunityForumsNNTPServer.WebServiceDataSource.MicrosoftForumsServiceProvider.<>c__DisplayClass18.<GetForumNewsGroupByName>b__16()
   bei CommunityForumsNNTPServer.WebServiceDataSource.MicrosoftForumsServiceProvider.RetryCall[TResult](Func`1 func, UInt32 retryCount)
   bei CommunityForumsNNTPServer.WebServiceDataSource.MicrosoftForumsServiceProvider.GetForumNewsGroupByName(String discussionGroupName)
   bei CommunityForumsNNTPServer.ForumDataSource.GetNewsgroup(String clientUsername, String groupName, Boolean updateFirstLastNumber)
   bei CommunityForumsNNTPServer.NNTPServer.NntpCommandGroup.GetSelectedNewsgroup(String groupName, Client client)
   bei CommunityForumsNNTPServer.NNTPServer.NntpCommandGroup.Parse(String parameters, Action`1 writeAction, Client client)
   bei CommunityForumsNNTPServer.NNTPServer.NntpServer.DataReceived(String data, Int32 clientNumber)
2013-11-27 13:38:44,4392 [Client: 1] ClassifyCommand: QUIT
2013-11-27 13:38:44,4447 [Client: 1] Received: Command: QUIT, Parameters: 
2013-11-27 13:38:44,4452 [Client: 1] Received: Response: 205 goodbye.

2013-11-27 13:38:44,4467 [Client 1] ClientDisconnected
Before lunch I had a connection but got errors with newsgroups and items
2013-11-27 11:53:36,0762 [Client 3] ClientConnected
2013-11-27 11:53:36,0882 [Client: 3] ClassifyCommand: MODE READER
2013-11-27 11:53:36,0882 [Client: 3] Received: Command: MODE, Parameters: READER
2013-11-27 11:53:36,0882 [Client: 3] Received: Response: 200 Community Forums NNTP Server 1.1.55.0 Ready - posting allowed

2013-11-27 11:53:36,1252 [Client: 3] ClassifyCommand: GROUP Msdn.de-DE.accessde
2013-11-27 11:53:36,1252 [Client: 3] Received: Command: GROUP, Parameters: Msdn.de-DE.accessde
2013-11-27 11:53:38,2305 [Client: 3] Received: Response: 211 4632 1 4632 Msdn.de-DE.accessde group selected

2013-11-27 11:53:38,2315 [Client: 3] ClassifyCommand: XOVER 902-4632
2013-11-27 11:53:38,2315 [Client: 3] Received: Command: XOVER, Parameters: 902-4632
2013-11-27 11:53:50,4005 GetForumMessagesBriefForNNTP has thrown an excpetion (This item has been deleted), ForumId: cfc19bad-78f2-41ed-8657-309d68835b81, Article#: 902-4632
2013-11-27 11:56:04,9211 GetForumMessagesBriefForNNTP (fallback) has thrown an excpetion (This item has been deleted), ForumId: cfc19bad-78f2-41ed-8657-309d68835b81, Article#: 936-936
2013-11-27 11:56:11,1569 CheckTicket: Der Remoteserver hat einen Fehler zurückgegeben: (420) Request Throttled.
Retry-After: 72
X-MSNSERVER: BY2____4011914
X-Content-Type-Options: nosniff
X-HTTP-Live-Request-Id: API.1e8203bc-9be4-469e-945a-b3239c1bd28b
Content-Length: 194
Cache-Control: private, no-cache, no-store, must-revalidate
Content-Type: application/json; charset=UTF-8
Date: Wed, 27 Nov 2013 10:54:38 GMT
P3P: CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo TELo"


2013-11-27 11:56:11,1569 [Client 3] DataReceived failed: Exception:
Type System.ServiceModel.FaultException
Source: mscorlib
Message: Passport Header Not Found
Stack-Trace:

Server stack trace: 
   bei System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   bei System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   bei System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   bei System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: 
   bei System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   bei System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   bei CommunityForumsNNTPServer.WebServiceDataSource.Forums.IForumsService.GetForumMessagesBriefForNNTP(Guid forumId, Int32 nntpMessageStartIndex, Int32 nntpMessageEndIndex, Boolean loadBody)
   bei CommunityForumsNNTPServer.WebServiceDataSource.Forums.ForumsServiceClient.GetForumMessagesBriefForNNTP(Guid forumId, Int32 nntpMessageStartIndex, Int32 nntpMessageEndIndex, Boolean loadBody)
   bei CommunityForumsNNTPServer.WebServiceDataSource.MicrosoftForumsServiceProvider.<>c__DisplayClass24.<GetForumMessagesBriefForNNTP>b__22()
   bei CommunityForumsNNTPServer.WebServiceDataSource.MicrosoftForumsServiceProvider.RetryCall[TResult](Func`1 func, UInt32 retryCount)
   bei CommunityForumsNNTPServer.WebServiceDataSource.MicrosoftForumsServiceProvider.GetForumMessagesBriefForNNTP(Guid forumId, Int32 nntpMessageStartIndex, Int32 nntpMessageEndIndex, Boolean loadBody)
   bei CommunityForumsNNTPServer.WebServiceDataSource.MicrosoftForumsServiceProvider.<>c__DisplayClassd`1.<GetForumMessagesBriefForNntp>b__b(Int32 index, Int32 batchSize, Boolean& finished)
   bei CommunityForumsNNTPServer.WebServiceDataSource.MicrosoftForumsServiceProvider.BuildResultsInBatch_[T,T2](Func`2 converter, MyFunc`4 generator, Action`1 progressResult)
   bei CommunityForumsNNTPServer.WebServiceDataSource.MicrosoftForumsServiceProvider.GetForumMessagesBriefForNntp[T](Guid forumId, Int32 firstArticle, Int32 lastArticle, Boolean loadBody, Func`2 converter, Action`1 progress)
   bei CommunityForumsNNTPServer.ForumDataSource.GetArticlesByNumberToStream(String clientUsername, String groupName, Int32 firstArticle, Int32 lastArticle, Action`1 articlesProgressAction)
   bei CommunityForumsNNTPServer.NNTPServer.NntpCommandXOver.Parse(String parameters, Action`1 writeAction, Client client)
   bei CommunityForumsNNTPServer.NNTPServer.NntpServer.DataReceived(String data, Int32 clientNumber)
2013-11-27 11:56:11,1574 [Client: 3] ClassifyCommand: HEAD 902
2013-11-27 11:56:11,1579 [Client: 3] Received: Command: HEAD, Parameters: 902

jkalmbach wrote Nov 27, 2013 at 12:44 PM

Belive me: You cannot do anything on the client side!!! This is a limitation of the server-side implementation!
The MSDN team is working on a solution, but has not yet a ETA...