Author Topic: Steam protocol  (Read 80277 times)

0 Members and 1 Guest are viewing this topic.

Offline Ratha

  • Jr. Member
  • **
  • Posts: 81
  • Karma: 2
Re: Steam protocol
« Reply #510 on: 04 02 2018, 18:19:39 »
Seems as if Commit https://github.com/miranda-ng/miranda-ng/commit/5c145450b7aa7d4a59a7565d196fe67cec4f8880 may have fixed the Steam game xstatus updating issue.

Will need to do a bit more testing perhaps, and aside from being unable to report people who are "In non-Steam game" seems like ya got that functionality working again. :)

Out of curiosity, what was the polling error rate limit fix/addition for?
 

Offline unsane

  • Developer
  • *****
  • Posts: 137
  • Country: ru
  • Karma: 9
Re: Steam protocol
« Reply #511 on: 04 02 2018, 18:37:39 »
Ratha, it's for maintenance tuesday: it's count of unsuccessful attempts to get poll data before logout.
Si no estas con nosotros, estas contra nosotros.
 

Offline Ratha

  • Jr. Member
  • **
  • Posts: 81
  • Karma: 2
Re: Steam protocol
« Reply #512 on: 06 02 2018, 23:21:03 »
*Possible* bug in the Steam protocol when Miranda cannot contact the Steam servers due to community going offline for maintenance (according to the Steam client itself anyway.)  When Miranda lost connection to Steam i attempted to log back on (my contacts still showed they were playing games even though they were all offline.) Logging back on didnt work after 15 seconds so I tried to log off entirely first with the intent to log back on.) After trying to log off to clear the gameplay markers, Miranda locked up for ~4 minutes with no CPU usage or anything, just a complete hang, no crash. Had to kill with task manager.

Anyone else experience anything like that recently?

VersionInfo
Quote (selected)
CPU: Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz [Intel64 Family 6 Model 60 Stepping 3] [DEP Enabled] [4 CPUs]
Installed RAM: 24521 MBytes
Microsoft Windows 7 Ultimate Edition, 64-bit Service Pack 1 (build 7601)
Internet Explorer: 9.11.9600.18665 (build 99600)
Administrator privileges: Yes
OS Languages: (UI | Locale (User/System)) : English/English | English/English
Free disk space on Miranda partition: 89372 MBytes

Miranda NG Version: 0.95.8 alpha build #19258 (45780b4afd) [running inside WOW64]
Build time: 4 Feb 2018 15:44:34
Profile: C:\Program Files (x86)\Miranda NG\Profiles\Ratha\Ratha.dat (dbx mmap driver)
Profile size: 85655552 Bytes
Profile creation date: 29 Dec 2017 15:51:49
Language pack: No language pack installed
Service Mode: No

Active Plugins (18):
¤ AdvaImg.dll v.0.11.0.2 [27 Jan 2018 12:33:32] - Miranda image services
¤ AVS.dll v.0.95.3.4 [27 Jan 2018 12:32:52] - Avatar service
¤ CrashDumper.dll v.0.0.5.2 [27 Jan 2018 12:32:42] - Crash dumper
¤ DbEditorPP.dll v.4.0.1.2 [27 Jan 2018 12:32:42] - Database editor++
¤ Dbx_mdbx.dll v.0.95.8.3 [4 Feb 2018 15:46:00] - Miranda NG MDBX database driver
¤ Dbx_mmap.dll v.0.95.3.1 [4 Feb 2018 15:44:40] - Miranda NG mmap database driver
¤ Discord.dll v.0.5.1.2 [2 Feb 2018 2:02:22] - Discord protocol
¤ HistoryPP.dll v.1.5.1.5 [11 Dec 2017 9:24:52] - History++
¤ ICQ.dll v.0.95.8.1 [27 Jan 2018 12:32:18] - IcqOscarJ protocol
¤ ImportTXT.dll v.0.0.1.12 [16 Dec 2017 4:06:40] - Import TXT
¤ PluginUpdater.dll v.0.1.2.5 [27 Jan 2018 12:32:42] - Plugin updater
¤ SeenPlugin.dll v.5.0.5.3 [27 Jan 2018 12:32:24] - Last seen
¤ SkypeWeb.dll v.0.12.2.5 [2 Feb 2018 2:02:22] - Skype protocol (Web)
¤ SpellChecker.dll v.0.2.6.6 [27 Jan 2018 12:33:10] - Spell checker
¤ Steam.dll v.0.11.6.3 [4 Feb 2018 15:45:46] - Steam protocol
¤ TabSRMM.dll v.3.5.0.8 [27 Jan 2018 12:32:58] - TabSRMM
¤ Tipper.dll v.2.1.0.7 [27 Jan 2018 12:32:54] - Tipper
¤ YAMN.dll v.0.1.2.6 [27 Jan 2018 12:32:50] - Mail Notifier

Unloadable Plugins (1):
¤ DbChecker.dll v.0.0.0.0 [4 Feb 2018 15:45:10] - <unknown>
    Plugin statically linked to missing module: mir_core.mir
    Plugin statically linked to missing module: mir_app.mir


Protocols and Accounts:
-------------------------------------------------------------------------------
Discord                  1 - Enabled 0 - Disabled  Loaded
ICQ                      1 - Enabled 1 - Disabled  Loaded
SKYPE                    1 - Enabled 0 - Disabled  Loaded
STEAM                    1 - Enabled 0 - Disabled  Loaded
MetaContacts             1 - Enabled 0 - Disabled  Not Loaded
YAMN                     1 - Enabled 0 - Disabled  Loaded

Icon Packs:
-------------------------------------------------------------------------------
 Flags_icons.dll [27 Jan 2018 12:34:30]
 HistoryPP_icons.dll [16 Dec 2017 4:06:34]
 Proto_Discord.dll [2 Feb 2018 2:03:36]
 Proto_ICQ.dll [27 Jan 2018 12:34:30]
 Proto_MetaContacts.dll [4 Feb 2018 15:46:56]
 Proto_Skype.dll [2 Feb 2018 2:03:36]
 Proto_Steam.dll [4 Feb 2018 15:46:56]
 Proto_Yahoo.dll [13 Feb 2016 21:01:38]
 Proto_YAMN.dll [27 Jan 2018 12:34:32]
 TabSRMM_icons.dll [27 Jan 2018 12:34:32]
 xStatus_ICQ.dll [27 Jan 2018 12:34:32]
 

Offline Ratha

  • Jr. Member
  • **
  • Posts: 81
  • Karma: 2
Re: Steam protocol
« Reply #513 on: 13 02 2018, 18:03:12 »
Bit of an oddity: Steam kicked me offline on Miranda about 45 minutes ago, however im able to log in and out of Friends and Community with my browser and with the Steam client. (And even the webchat works in browser. Uncertain as to why Miranda wouldnt be able to connect. Could possibly be related to making too many API calls perhaps? Will try changing IP addresses and seeing if im able to reconnect afterward.

My alt account (with an email username) seems to be able to login just fine.

Edit:
- IP change had no effect.
- Was able to login using a 'test' copy of Miranda, same version, fewer plugins, no profile. Makes me suspect database corruption or an expired token of some kind?
- Was still unable to login to main account using main profile after successfully logged in with other client.
- Ran the DB Checker with aggressive check. Still unable to login.
- Ran Database Editor++, cleared the Steam Account entry for "TokenSecret" (Token didnt *appear* to be corrupted, but hard to know for sure.)
- After clearing the 32 digit TokenSecret entry, I was prompted to re-enter my Mobile Auth (was not getting that before) and I am now able to login again.

Starting in offline mode, a Miranda netlog grabs this:
Steam_Netlog
Quote (selected)
[10:50:18 2CF8] [Steam_Ratha] CSteamProto::SetStatus: changing status from 40071 to 40072
[10:50:18 2F04] [Steam_Ratha] Connection request to api.steampowered.com:443 (Flags 11)....
[10:50:18 2F04] [Steam_Ratha] (00567618) Connecting to server api.steampowered.com:443....
[10:50:18 2F04] [Steam_Ratha] (00567618) Connecting to ip 184.28.154.34:443 ....
[10:50:18 2F04] [Steam_Ratha] (520) Connected to api.steampowered.com:443
[10:50:18 2F04] [Steam_Ratha] (520 api.steampowered.com) Starting SSL negotiation
[10:50:18 2F04] [Steam_Ratha] (520 api.steampowered.com) SSL negotiation successful
[10:50:18 2F04] [Steam_Ratha] (00567618:520) Data sent
POST /ISteamWebUserPresenceOAuth/Logon/v0001 HTTP/1.1
Content-Type: application/x-www-form-urlencoded
User-Agent: Miranda/0.95.8.19258
Accept-Encoding: deflate, gzip
Host: api.steampowered.com
Connection: Keep-Alive
Proxy-Connection: Keep-Alive
Content-Length: 57

access_token=[32 Character Access Token]&ui_mode=web
[10:50:19 2F04] SSL Server signaled SSL Shutdown
[10:50:19 2F04] [Steam_Ratha] (00567618:520) Data received
HTTP/1.1 401 Unauthorized
Content-Length: 174
Content-Type: text/html; charset=UTF-8
Expires: Tue, 13 Feb 2018 17:50:18 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Tue, 13 Feb 2018 17:50:18 GMT
Connection: close

<html><head><title>Unauthorized</title></head><body><h1>Unauthorized</h1>Access is denied. Retrying will not help. Please verify your <pre>key=</pre> parameter.</body></html>
[10:50:19 2F04] [Steam_Ratha] (00567618:520) Connection closed internal
[10:50:19 2F04] [Steam_Ratha] (00567618:4294967295) Connection closed
[10:50:19 2F04] [Steam_Ratha] CSteamProto::OnLoggedOn: unknown login error
[10:50:19 2F04] [Steam_Ratha] CSteamProto::SetStatus: changing status from 1 to 40071
[10:50:19 2F04] [Steam_Ratha] Connection request to api.steampowered.com:443 (Flags 11)....
[10:50:19 2F04] [Steam_Ratha] (00567618) Connecting to server api.steampowered.com:443....
[10:50:19 2F04] [Steam_Ratha] (00567618) Connecting to ip 184.28.154.34:443 ....
[10:50:19 2F04] [Steam_Ratha] (520) Connected to api.steampowered.com:443
[10:50:19 2F04] [Steam_Ratha] (520 api.steampowered.com) Starting SSL negotiation
[10:50:19 2F04] [Steam_Ratha] (520 api.steampowered.com) SSL negotiation successful
[10:50:19 2F04] [Steam_Ratha] (00567618:520) Data sent
POST /ISteamWebUserPresenceOAuth/Logoff/v0001 HTTP/1.1
Content-Type: application/x-www-form-urlencoded
User-Agent: Miranda/0.95.8.19258
Accept-Encoding: deflate, gzip
Host: api.steampowered.com
Connection: Keep-Alive
Proxy-Connection: Keep-Alive
Content-Length: 71

access_token=[32 Character Access Token]&umqid=[19 Character UMQID]
[10:50:19 2F04] SSL Server signaled SSL Shutdown
[10:50:19 2F04] [Steam_Ratha] (00567618:520) Data received
HTTP/1.1 401 Unauthorized
Content-Length: 174
Content-Type: text/html; charset=UTF-8
Expires: Tue, 13 Feb 2018 17:50:18 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Tue, 13 Feb 2018 17:50:18 GMT
Connection: close

<html><head><title>Unauthorized</title></head><body><h1>Unauthorized</h1>Access is denied. Retrying will not help. Please verify your <pre>key=</pre> parameter.</body></html>
[10:50:19 2F04] [Steam_Ratha] (00567618:520) Connection closed internal
[10:50:19 2F04] [Steam_Ratha] (00567618:4294967295) Connection closed

VersionInfo
Quote (selected)
CPU: Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz [Intel64 Family 6 Model 60 Stepping 3] [DEP Enabled] [4 CPUs]
Installed RAM: 24521 MBytes
Microsoft Windows 7 Ultimate Edition, 64-bit Service Pack 1 (build 7601)
Internet Explorer: 9.11.9600.18665 (build 99600)
Administrator privileges: Yes
OS Languages: (UI | Locale (User/System)) : English/English | English/English
Free disk space on Miranda partition: 99728 MBytes

Miranda NG Version: 0.95.8 alpha build #19258 (45780b4afd) [running inside WOW64]
Build time: 4 Feb 2018 15:44:34
Profile: C:\Program Files (x86)\Miranda NG\Profiles\Ratha\Ratha.dat (dbx mmap driver)
Profile size: 85786624 Bytes
Profile creation date: 29 Dec 2017 15:51:49
Language pack: No language pack installed
Service Mode: No

Active Plugins (18):
¤ AdvaImg.dll v.0.11.0.2 [27 Jan 2018 12:33:32] - Miranda image services
¤ AVS.dll v.0.95.3.4 [27 Jan 2018 12:32:52] - Avatar service
¤ CrashDumper.dll v.0.0.5.2 [27 Jan 2018 12:32:42] - Crash dumper
¤ DbEditorPP.dll v.4.0.1.2 [27 Jan 2018 12:32:42] - Database editor++
¤ Dbx_mdbx.dll v.0.95.8.3 [4 Feb 2018 15:46:00] - Miranda NG MDBX database driver
¤ Dbx_mmap.dll v.0.95.3.1 [4 Feb 2018 15:44:40] - Miranda NG mmap database driver
¤ Discord.dll v.0.5.1.2 [2 Feb 2018 2:02:22] - Discord protocol
¤ HistoryPP.dll v.1.5.1.5 [11 Dec 2017 9:24:52] - History++
¤ ICQ.dll v.0.95.8.1 [27 Jan 2018 12:32:18] - IcqOscarJ protocol
¤ ImportTXT.dll v.0.0.1.12 [16 Dec 2017 4:06:40] - Import TXT
¤ PluginUpdater.dll v.0.1.2.5 [27 Jan 2018 12:32:42] - Plugin updater
¤ SeenPlugin.dll v.5.0.5.3 [27 Jan 2018 12:32:24] - Last seen
¤ SkypeWeb.dll v.0.12.2.5 [2 Feb 2018 2:02:22] - Skype protocol (Web)
¤ SpellChecker.dll v.0.2.6.6 [27 Jan 2018 12:33:10] - Spell checker
¤ Steam.dll v.0.11.6.3 [4 Feb 2018 15:45:46] - Steam protocol
¤ TabSRMM.dll v.3.5.0.8 [27 Jan 2018 12:32:58] - TabSRMM
¤ Tipper.dll v.2.1.0.7 [27 Jan 2018 12:32:54] - Tipper
¤ YAMN.dll v.0.1.2.6 [27 Jan 2018 12:32:50] - Mail Notifier

Unloadable Plugins (1):
¤ DbChecker.dll v.0.0.0.0 [4 Feb 2018 15:45:10] - <unknown>
    Plugin statically linked to missing module: mir_core.mir
    Plugin statically linked to missing module: mir_app.mir


Protocols and Accounts:
-------------------------------------------------------------------------------
Discord                  1 - Enabled 0 - Disabled  Loaded
ICQ                      1 - Enabled 1 - Disabled  Loaded
SKYPE                    1 - Enabled 0 - Disabled  Loaded
STEAM                    1 - Enabled 0 - Disabled  Loaded
MetaContacts             1 - Enabled 0 - Disabled  Not Loaded
YAMN                     1 - Enabled 0 - Disabled  Loaded

Icon Packs:
-------------------------------------------------------------------------------
 Flags_icons.dll [27 Jan 2018 12:34:30]
 HistoryPP_icons.dll [16 Dec 2017 4:06:34]
 Proto_Discord.dll [2 Feb 2018 2:03:36]
 Proto_ICQ.dll [27 Jan 2018 12:34:30]
 Proto_MetaContacts.dll [4 Feb 2018 15:46:56]
 Proto_Skype.dll [2 Feb 2018 2:03:36]
 Proto_Steam.dll [4 Feb 2018 15:46:56]
 Proto_Yahoo.dll [13 Feb 2016 21:01:38]
 Proto_YAMN.dll [27 Jan 2018 12:34:32]
 TabSRMM_icons.dll [27 Jan 2018 12:34:32]
 xStatus_ICQ.dll [27 Jan 2018 12:34:32]
« Last Edit: 13 02 2018, 18:53:56 by Ratha »