Author Topic: Steam protocol  (Read 378382 times)

0 Members and 1 Guest are viewing this topic.

Offline Smiling Spectre

  • Jr. Member
  • **
  • Posts: 66
  • Country: 00
Re: Steam protocol
« Reply #210 on: 22 04 2015, 17:03:11 »
Good news! :) With today update Steam plugin works right in the official Miranda NG!

Bad news. While unofficial version works just right (if groups as users are right :), the same version in the official version a) doesn't see any groups at all and b) didn't recognize 12 users from my list. I see only profile number instead name, and no info in the profile at all.

This is Trashbot between my contacts, for example: http://steamcommunity.com/profiles/76561198141338674/

I see only 76561198141338674 as name, and nothing in the profile.

Chatting with this contacts is allright though.

Is there something wrong with the build - or something wrong with my settings? :(
 

Offline Vulpix

Re: Steam protocol
« Reply #211 on: 24 04 2015, 19:22:46 »
Sadly I didn't have it running for steam when it happened. I have it running now and will report if it happens again.

Edit:
>.> so far it hasn't happened....

It happened again today! Miranda just froze (stopped responding). I tried checking the stack using the debug symbols but it wasn't working well for some reason; and I didn't get a crash dump as always.

Anyway, here's the netlog:

Spoiler
[20:02:02 1270] [STEAM_1] Send request to https://api.steampowered.com/ISteamWebUserPresenceOAuth/Poll/v0001
[20:02:02 1270] [STEAM_1] Connection request to api.steampowered.com:443 (Flags 11)....
[20:02:02 1270] [STEAM_1] (000000006A91E978) Connecting to server api.steampowered.com:443....
[20:02:02 1270] [STEAM_1] (000000006A91E978) Connecting to ip 208.64.202.85:443 ....
[20:02:02 1270] [STEAM_1] (306848) Connected to api.steampowered.com:443
[20:02:02 1270] [STEAM_1] (306848 api.steampowered.com) Starting SSL negotiation
[20:02:03 1270] [STEAM_1] (306848 api.steampowered.com) SSL negotiation successful
[20:02:33 1270] [STEAM_1] (000000006A91E978:306848) Data received
HTTP/1.1 200 OK
[20:02:33 1270] [STEAM_1] (000000006A91E978:306848) Data received
Date: Fri, 24 Apr 2015 18:02:27 GMT
expires: Fri, 24 Apr 2015 18:02:27 GMT
content-type: application/json; charset=UTF-8
content-length: 56

[20:02:33 1270] [STEAM_1] (000000006A91E978:306848) Data received
{
   "pollid": 0,
   "sectimeout": 30,
   "error": "Timeout"
}
[20:02:33 1270] [STEAM_1] Send request to https://api.steampowered.com/ISteamWebUserPresenceOAuth/Poll/v0001
[20:02:33 1270] [STEAM_1] Connection request to api.steampowered.com:443 (Flags 11)....
[20:02:33 1270] [STEAM_1] (000000006A91F1C8) Connecting to server api.steampowered.com:443....
[20:02:33 1270] [STEAM_1] (000000006A91F1C8) Connecting to ip 208.64.202.85:443 ....
[20:02:33 1270] [STEAM_1] (306880) Connected to api.steampowered.com:443
[20:02:33 1270] [STEAM_1] (306880 api.steampowered.com) Starting SSL negotiation
[20:02:34 1270] [STEAM_1] (306880 api.steampowered.com) SSL negotiation successful
[20:03:09 1270] [STEAM_1] modules\netlib\netlibhttp.cpp 540: HttpPeekFirstResponseLine Failed (1460 10)
[20:03:09 1270] [STEAM_1] (000000006A91F1C8:306880) Connection closed internal
[20:03:09 1270] [STEAM_1] (000000006A91F1C8:4294967295) Connection closed
[20:03:09 1270] [STEAM_1] Send request to https://api.steampowered.com/ISteamWebUserPresenceOAuth/Poll/v0001
[20:03:09 1270] [STEAM_1] Connection request to api.steampowered.com:443 (Flags 11)....
[20:03:09 1270] [STEAM_1] (000000006A91F1C8) Connecting to server api.steampowered.com:443....
[20:03:09 1270] [STEAM_1] (000000006A91F1C8) Connecting to ip 208.64.202.85:443 ....
[20:03:09 1270] [STEAM_1] (306884) Connected to api.steampowered.com:443
[20:03:09 1270] [STEAM_1] (306884 api.steampowered.com) Starting SSL negotiation
[20:03:09 1270] [STEAM_1] (306884 api.steampowered.com) SSL negotiation successful
[20:03:44 1270] [STEAM_1] modules\netlib\netlibhttp.cpp 540: HttpPeekFirstResponseLine Failed (1460 10)
[20:03:44 1270] [STEAM_1] (000000006A91F1C8:306884) Connection closed internal
[20:03:44 1270] [STEAM_1] (000000006A91F1C8:4294967295) Connection closed
[20:03:44 1270] [STEAM_1] Send request to https://api.steampowered.com/ISteamWebUserPresenceOAuth/Poll/v0001
[20:03:44 1270] [STEAM_1] Connection request to api.steampowered.com:443 (Flags 11)....
[20:03:44 1270] [STEAM_1] (000000006A91F1C8) Connecting to server api.steampowered.com:443....
[20:03:44 1270] [STEAM_1] (000000006A91F1C8) Connecting to ip 208.64.202.85:443 ....
[20:03:45 1270] [STEAM_1] (306884) Connected to api.steampowered.com:443
[20:03:45 1270] [STEAM_1] (306884 api.steampowered.com) Starting SSL negotiation
[20:03:45 1270] [STEAM_1] (306884 api.steampowered.com) SSL negotiation successful
[20:04:20 1270] [STEAM_1] modules\netlib\netlibhttp.cpp 540: HttpPeekFirstResponseLine Failed (1460 10)
[20:04:20 1270] [STEAM_1] (000000006A91F1C8:306884) Connection closed internal
[20:04:20 1270] [STEAM_1] (000000006A91F1C8:4294967295) Connection closed
[20:04:20 1270] [STEAM_1] CSteamProto::PollingThread: leaving
[20:04:20 1270] [STEAM_1] CSteamProto::PollingThread: unexpected termination; switching protocol to offline
[20:04:20 1270] [STEAM_1] CSteamProto::SetStatus: changing status from 40072 to 40071
[20:04:20 1270] [STEAM_1] Send request to https://api.steampowered.com/ISteamWebUserPresenceOAuth/Logoff/v0001
[20:04:20 1270] [STEAM_1] Connection request to api.steampowered.com:443 (Flags 11)....
[20:04:20 1270] [STEAM_1] (000000006A91F1C8) Connecting to server api.steampowered.com:443....
[20:04:20 1270] [STEAM_1] (000000006A91F1C8) Connecting to ip 208.64.202.85:443 ....
[20:04:20 1270] [STEAM_1] (306884) Connected to api.steampowered.com:443
[20:04:20 1270] [STEAM_1] (306884 api.steampowered.com) Starting SSL negotiation
[20:04:21 1244] KeepStatus: connection lost! (STEAM_1)
[20:04:21 1270] [STEAM_1] (306884 api.steampowered.com) SSL negotiation successful
[20:04:21 1AA8] [STEAM_1] CSteamProto::QueueThread: leaving
[close]

This is where the log ends, miranda freezes.
 

Offline Robyer

Re: Steam protocol
« Reply #212 on: 25 04 2015, 23:06:30 »
Vulpix, I commited some more logging info which should help understand the problem. I probably know where it freezed, but I don't understand how is that possible. So I'm waiting for your next log, hopefully it will happen again soon :-)
I was developing mainly Facebook, Omegle, Steam, Dummy and MobileState plugins. Now I'm retired. Goodbye, everyone. ~ You can still find me on Facebook.
 

Offline Vulpix

Re: Steam protocol
« Reply #213 on: 26 04 2015, 14:22:35 »
@Robyer,

Updated. Now let's hope for a crash :D last time it took like almost a month or so :/
 

Offline Smiling Spectre

  • Jr. Member
  • **
  • Posts: 66
  • Country: 00
Re: Steam protocol
« Reply #214 on: 26 04 2015, 18:37:01 »
Try to make it artificially? Like, plug out network during login? :)
 

Offline Robyer

Re: Steam protocol
« Reply #215 on: 26 04 2015, 20:55:45 »
If it's what I think it is then more things need need to happen at once - plugin must try to disconnect when there are still some queued requests. Perhaps I can simulate this also programatically, but I'd rather wait for netlog. Anyway feel free to try to make reproduce the problem anyhow :)
I was developing mainly Facebook, Omegle, Steam, Dummy and MobileState plugins. Now I'm retired. Goodbye, everyone. ~ You can still find me on Facebook.
 

Offline devcline

  • Newbie
  • *
  • Posts: 1
Re: Steam protocol
« Reply #216 on: 03 05 2015, 16:03:39 »
finnaly managed to get a plugin work, the list of users is synchronized well. Needed to recreate a group Steam to see everyone.
But i cant send anyone a messages...



UPDATE: restarted a client and now it seems to work
« Last Edit: 03 05 2015, 16:22:23 by devcline »
 

Offline Vulpix

Re: Steam protocol
« Reply #217 on: 12 05 2015, 22:41:09 »
I _think_ steam caused my miranda to freeze.

Used PSExplorer to debug since it wasn't a crash - but a freeze.

Stack:
Spoiler
ntoskrnl.exe!memset+0x61a
ntoskrnl.exe!KeWaitForMultipleObjects+0xd52
ntoskrnl.exe!KeWaitForMutexObject+0x19f
ntoskrnl.exe!_misaligned_access+0xba4
ntoskrnl.exe!_misaligned_access+0x1821
ntoskrnl.exe!KeWaitForMultipleObjects+0xf5d
ntoskrnl.exe!KeWaitForMutexObject+0x19f
ntoskrnl.exe!NtWaitForSingleObject+0xde
ntoskrnl.exe!KeSynchronizeExecution+0x3a23
ntdll.dll!NtWaitForSingleObject+0xa
ntdll.dll!RtlDeNormalizeProcessParams+0x5a8
ntdll.dll!RtlDeNormalizeProcessParams+0x4a4
Steam.dll+0x7846
Miranda64.exe!CallProtoServiceInt+0x6d0
Miranda64.exe!CallProtoService+0x19
KeepStatus.dll!Load+0x50e0
mir_core.dll!CallService+0xaa
KeepStatus.dll!Load+0x14cb
KeepStatus.dll!Load+0x1c77
USER32.dll!KillTimer+0x1b3
USER32.dll!TranslateMessageEx+0xee
Miranda64.exe!wWinMain+0x372
Miranda64.exe!__tmainCRTStartup+0x166
kernel32.dll!BaseThreadInitThunk+0xd
ntdll.dll!RtlUserThreadStart+0x21
[close]

Netlog:

Spoiler
[23:37:21 228C] [STEAM_1] (00000000102F6C38:22592) Connection closed internal
[23:37:21 228C] [STEAM_1] (00000000102F6C38:4294967295) Connection closed
[23:37:21 228C] [STEAM_1] CSteamProto::ExecuteRequest: leaving
[23:37:56 2EA0] [STEAM_1] modules\netlib\netlibhttp.cpp 540: HttpPeekFirstResponseLine Failed (1460 10)
[23:37:56 2EA0] [STEAM_1] (00000000102F6D68:22596) Connection closed internal
[23:37:56 2EA0] [STEAM_1] (00000000102F6D68:4294967295) Connection closed
[23:37:56 2EA0] [STEAM_1] Send request to https://api.steampowered.com/ISteamWebUserPresenceOAuth/Poll/v0001
[23:37:56 2EA0] [STEAM_1] Connection request to api.steampowered.com:443 (Flags 11)....
[23:37:56 2EA0] [STEAM_1] (00000000102F6D68) Connecting to server api.steampowered.com:443....
[23:37:56 2EA0] [STEAM_1] (00000000102F6D68) Connecting to ip 208.64.202.85:443 ....
[23:38:17 2EA0] [STEAM_1] modules\netlib\netlibopenconn.cpp 720: connect() failed (10060)
[23:38:17 2EA0] [STEAM_1] Send request to https://api.steampowered.com/ISteamWebUserPresenceOAuth/Poll/v0001
[23:38:17 2EA0] [STEAM_1] Connection request to api.steampowered.com:443 (Flags 11)....
[23:38:17 2EA0] [STEAM_1] (00000000102F6D68) Connecting to server api.steampowered.com:443....
[23:38:17 2EA0] [STEAM_1] (00000000102F6D68) Connecting to ip 208.64.202.85:443 ....
[23:38:38 2EA0] [STEAM_1] modules\netlib\netlibopenconn.cpp 720: connect() failed (10060)
[23:38:38 2EA0] [STEAM_1] CSteamProto::PollingThread: leaving
[23:38:38 2EA0] [STEAM_1] CSteamProto::PollingThread: unexpected termination; switching protocol to offline
[23:38:38 2EA0] [STEAM_1] CSteamProto::SetStatus: changing status from 40072 to 40071
[23:38:38 2EA0] [STEAM_1] CSteamProto::StopQueue: entering
[23:38:38 2EA0] [STEAM_1] CSteamProto::StopQueue: requestsQueue contains 0 items
[23:38:38 2EA0] [STEAM_1] Send request to https://api.steampowered.com/ISteamWebUserPresenceOAuth/Logoff/v0001
[23:38:38 2EA0] [STEAM_1] Connection request to api.steampowered.com:443 (Flags 11)....
[23:38:38 2EA0] [STEAM_1] (00000000102F6D68) Connecting to server api.steampowered.com:443....
[23:38:38 2EA0] [STEAM_1] (00000000102F6D68) Connecting to ip 208.64.202.85:443 ....
[23:38:38 228C] [STEAM_1] CSteamProto::QueueThread: leaving
[23:38:39 2660] KeepStatus: connection lost! (STEAM_1)
[close]

Happened during steam's "routine" tuesday downtime/maintenance.
 

Offline Robyer

Re: Steam protocol
« Reply #218 on: 13 05 2015, 07:45:21 »
Vulpix, thanks, that makes a sense a bit. Did you try to let it rest for about one minute or more? Because theoretically it was just waiting for response from server on main thread (which caused whole Miranda to freeze), and because server was down, it would wait until timeout (which is probably 30 seconds).

(this logout request on main thread should be fixed anyway)
I was developing mainly Facebook, Omegle, Steam, Dummy and MobileState plugins. Now I'm retired. Goodbye, everyone. ~ You can still find me on Facebook.
 

Offline Vulpix

Re: Steam protocol
« Reply #219 on: 13 05 2015, 08:03:42 »
I left it on overnight, it didn't recover as it was still frozen this morning. Had to force-close it and then start miranda again.
 

Offline Vulpix

Re: Steam protocol
« Reply #220 on: 14 05 2015, 14:27:02 »
@Robyer, as per your request I tested this (Pretty much involuntarily) by having some connectivity issues - everytime I would get disconnected from the internet, Miranda would freeze. I also had one crash from Tox plugin, but that was a crash and not freeze; freeze is/was related to Steam. Do you need any more details for this?
 

Offline Robyer

Re: Steam protocol
« Reply #221 on: 14 05 2015, 23:52:10 »
Vulpix, thanks, that's the info I needed. Actually unsane reworked the requests queue to use the skypeweb version now, so maybe that fixes this issue by itself. But it's in own branch and need to be tested first, before merge.
I was developing mainly Facebook, Omegle, Steam, Dummy and MobileState plugins. Now I'm retired. Goodbye, everyone. ~ You can still find me on Facebook.
 

Offline Black Sniper

Re: Steam protocol
« Reply #222 on: 17 05 2015, 16:58:32 »
The second day I can not enter a verification code. I enter as in the picture, and does not accept. Am I doing something wrong?
Vi profile
Бью метко, но редко...
 

Offline Robyer

Re: Steam protocol
« Reply #223 on: 17 05 2015, 17:30:57 »
Black Sniper, typing in captcha is broken for unknown reason...
I was developing mainly Facebook, Omegle, Steam, Dummy and MobileState plugins. Now I'm retired. Goodbye, everyone. ~ You can still find me on Facebook.
 

Offline Black Sniper

Re: Steam protocol
« Reply #224 on: 17 05 2015, 17:38:12 »
Robyer, Sadness. As they now enjoy? disconnect?
Бью метко, но редко...