Author Topic: Steam protocol  (Read 93334 times)

0 Members and 1 Guest are viewing this topic.

Offline Ratha

  • Jr. Member
  • **
  • Posts: 95
  • 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: 145
  • Country: ru
  • Karma: 10
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: 95
  • 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: 95
  • 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 »
 

Offline Ratha

  • Jr. Member
  • **
  • Posts: 95
  • Karma: 2
Re: Steam protocol
« Reply #514 on: 13 04 2018, 00:12:37 »
EDIT: Took about 2 hours, but seems to have resolved itself. Still unsure why Miranda couldnt login but the other webclient and main client could, maybe the logs below will be of some use.

Anyone else having trouble logging into Steam via Miranda?
Both the webclient using Firefox, and Friends list through the Steam client seem to be working.

Miranda 0.95.8 #19258 (45780b4afd) with UserName and Mobile Auth fails to login even after clearing the TokenSecret DB entry which often fixes the unable to login issue.
-
Miranda 0.95.8 #19778 (b342481c3a) with UserName and Mobile Auth fails to login.
Miranda 0.95.8 #19778 (b342481c3a) with EmailName and Email Auth fails to login. (No netlog provided.)

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: 82546 MBytes

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

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

Unloadable Plugins (1):
¤ DbChecker.dll v.0.0.0.0 [4 Feb 2018 16: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 13:34:30]
 HistoryPP_icons.dll [16 Dec 2017 5:06:34]
 Proto_Discord.dll [2 Feb 2018 3:03:36]
 Proto_ICQ.dll [27 Jan 2018 13:34:30]
 Proto_MetaContacts.dll [4 Feb 2018 16:46:56]
 Proto_Skype.dll [2 Feb 2018 3:03:36]
 Proto_Steam.dll [4 Feb 2018 16:46:56]
 Proto_Yahoo.dll [13 Feb 2016 22:01:38]
 Proto_YAMN.dll [27 Jan 2018 13:34:32]
 TabSRMM_icons.dll [27 Jan 2018 13:34:32]
 xStatus_ICQ.dll [27 Jan 2018 13:34:32]

0.95.8 #19258 (45780b4afd) - Netlog after TokenSecret entry was cleared
Quote (selected)
[17:48:55 206C] [Steam_Ratha] CSteamProto::SetStatus: changing status from 40071 to 40072
[17:48:55 4384] [Steam_Ratha] Connection request to steamcommunity.com:443 (Flags 11)....
[17:48:55 4384] [Steam_Ratha] (006475A8) Connecting to server steamcommunity.com:443....
[17:48:55 4384] [Steam_Ratha] (006475A8) Connecting to ip 184.28.154.34:443 ....
[17:48:55 4384] [Steam_Ratha] (1384) Connected to steamcommunity.com:443
[17:48:55 4384] [Steam_Ratha] (1384 steamcommunity.com) Starting SSL negotiation
[17:48:55 4384] [Steam_Ratha] (1384 steamcommunity.com) SSL negotiation successful
[17:48:56 4384] [Steam_Ratha] (006475A8:1384) Connection closed internal
[17:48:56 4384] [Steam_Ratha] (006475A8:4294967295) Connection closed
[17:48:56 4384] [Steam_Ratha] Connection request to steamcommunity.com:443 (Flags 11)....
[17:48:56 4384] [Steam_Ratha] (006475A8) Connecting to server steamcommunity.com:443....
[17:48:56 4384] [Steam_Ratha] (006475A8) Connecting to ip 184.28.154.34:443 ....
[17:48:56 4384] [Steam_Ratha] (1384) Connected to steamcommunity.com:443
[17:48:56 4384] [Steam_Ratha] (1384 steamcommunity.com) Starting SSL negotiation
[17:48:56 4384] [Steam_Ratha] (1384 steamcommunity.com) SSL negotiation successful
[17:48:57 4384] SSL Server signaled SSL Shutdown
[17:48:57 4384] [Steam_Ratha] (006475A8:1384) Connection closed internal
[17:48:57 4384] [Steam_Ratha] (006475A8:4294967295) Connection closed
[17:48:57 4384] [Steam_Ratha] CSteamProto::OnAuthorizationError: requires twofactor
[17:49:01 4384] [Steam_Ratha] Connection request to steamcommunity.com:443 (Flags 11)....
[17:49:01 4384] [Steam_Ratha] (006475A8) Connecting to server steamcommunity.com:443....
[17:49:01 4384] [Steam_Ratha] (006475A8) Connecting to ip 184.28.154.34:443 ....
[17:49:01 4384] [Steam_Ratha] (1560) Connected to steamcommunity.com:443
[17:49:01 4384] [Steam_Ratha] (1560 steamcommunity.com) Starting SSL negotiation
[17:49:01 4384] [Steam_Ratha] (1560 steamcommunity.com) SSL negotiation successful
[17:49:02 4384] SSL Server signaled SSL Shutdown
[17:49:02 4384] [Steam_Ratha] (006475A8:1560) Connection closed internal
[17:49:02 4384] [Steam_Ratha] (006475A8:4294967295) Connection closed
[17:49:02 4384] [Steam_Ratha] Connection request to steamcommunity.com:443 (Flags 11)....
[17:49:02 4384] [Steam_Ratha] (006475A8) Connecting to server steamcommunity.com:443....
[17:49:02 4384] [Steam_Ratha] (006475A8) Connecting to ip 184.28.154.34:443 ....
[17:49:02 4384] [Steam_Ratha] (1132) Connected to steamcommunity.com:443
[17:49:02 4384] [Steam_Ratha] (1132 steamcommunity.com) Starting SSL negotiation
[17:49:02 4384] [Steam_Ratha] (1132 steamcommunity.com) SSL negotiation successful
[17:49:02 4384] [Steam_Ratha] (006475A8:1132) Connection closed internal
[17:49:02 4384] [Steam_Ratha] (006475A8:4294967295) Connection closed
[17:49:02 4384] [Steam_Ratha] Connection request to steamcommunity.com:443 (Flags 11)....
[17:49:02 4384] [Steam_Ratha] (006475A8) Connecting to server steamcommunity.com:443....
[17:49:02 4384] [Steam_Ratha] (006475A8) Connecting to ip 184.28.154.34:443 ....
[17:49:03 4384] [Steam_Ratha] (1560) Connected to steamcommunity.com:443
[17:49:03 4384] [Steam_Ratha] (1560 steamcommunity.com) Starting SSL negotiation
[17:49:03 4384] [Steam_Ratha] (1560 steamcommunity.com) SSL negotiation successful
[17:49:03 4384] SSL Server signaled SSL Shutdown
[17:49:03 4384] [Steam_Ratha] (006475A8:1560) Data received
HTTP/1.1 200 OK
Server: Apache
X-Frame-Options: SAMEORIGIN
Content-Security-Policy: script-src 'self' 'unsafe-inline' 'unsafe-eval' https://steamcommunity-a.akamaihd.net/ https://api.steampowered.com/ *.google-analytics.com https://www.google.com https://www.gstatic.com https://apis.google.com; object-src 'none'; connect-src 'self' http://steamcommunity.com https://steamcommunity.com https://api.steampowered.com/ http://store.steampowered.com/ https://store.steampowered.com/ wss://community.steam-api.com/websocket/ http://127.0.0.1:27060 ws://127.0.0.1:27060; frame-src 'self' steam: http://store.steampowered.com/ https://store.steampowered.com/ https://www.youtube.com https://www.google.com https://sketchfab.com https://player.vimeo.com;
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-cache
Content-Length: 205
Content-Type: application/json; charset=utf-8
Date: Thu, 12 Apr 2018 23:49:02 GMT
Connection: close
Set-Cookie: sessionid=[24 Character SessionID]; path=/
Set-Cookie: steamCountry=US%7C5df45420c7b316d73ddaf54ef7a22c85; path=/

{"success":true,"categories":[{"label":"Push Notifications","url":"https:\/\/steamcommunity.com\/mobilesettings\/community"},{"label":"Privacy Settings","url":"https:\/\/steamcommunity.com\/my\/privacy"}]}
[17:49:03 4384] [Steam_Ratha] (006475A8:1560) Data received
{"success":true,"categories":[{"label":"Push Notifications","url":"https:\/\/steamcommunity.com\/mobilesettings\/community"},{"label":"Privacy Settings","url":"https:\/\/steamcommunity.com\/my\/privacy"}]}
[17:49:03 4384] [Steam_Ratha] (006475A8:1560) Connection closed internal
[17:49:03 4384] [Steam_Ratha] (006475A8:4294967295) Connection closed
[17:49:03 4384] [Steam_Ratha] Connection request to api.steampowered.com:443 (Flags 11)....
[17:49:03 4384] [Steam_Ratha] (00647C20) Connecting to server api.steampowered.com:443....
[17:49:03 4384] [Steam_Ratha] (00647C20) Connecting to ip 184.28.154.34:443 ....
[17:49:03 4384] [Steam_Ratha] (1560) Connected to api.steampowered.com:443
[17:49:03 4384] [Steam_Ratha] (1560 api.steampowered.com) Starting SSL negotiation
[17:49:04 4384] [Steam_Ratha] (1560 api.steampowered.com) SSL negotiation successful
[17:49:04 4384] [Steam_Ratha] (00647C20:1560) 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 Token]&ui_mode=web
[17:49:34 4384] [Steam_Ratha] src\netlibhttp.cpp 523: HttpPeekFirstResponseLine Failed (1460 10)
[17:49:34 4384] [Steam_Ratha] (00647C20:1560) Connection closed internal
[17:49:34 4384] [Steam_Ratha] (00647C20:4294967295) Connection closed
[17:49:34 4384] [Steam_Ratha] CSteamProto::OnLoggedOn: unknown login error
[17:49:34 4384] [Steam_Ratha] CSteamProto::SetStatus: changing status from 1 to 40071
[17:49:34 4384] [Steam_Ratha] Connection request to api.steampowered.com:443 (Flags 11)....
[17:49:34 4384] [Steam_Ratha] (00647C20) Connecting to server api.steampowered.com:443....
[17:49:34 4384] [Steam_Ratha] (00647C20) Connecting to ip 184.28.154.34:443 ....
[17:49:34 4384] [Steam_Ratha] (1560) Connected to api.steampowered.com:443
[17:49:34 4384] [Steam_Ratha] (1560 api.steampowered.com) Starting SSL negotiation
[17:49:34 4384] [Steam_Ratha] (1560 api.steampowered.com) SSL negotiation successful
[17:49:34 4384] [Steam_Ratha] (00647C20:1560) 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 Token]&umqid=[19 Character UMQID]
[17:49:40 4384] [Steam_Ratha] (00647C20:1560) Data received
HTTP/1.1 503 Service Unavailable
Server: AkamaiGHost
Mime-Version: 1.0
Content-Type: text/html
Content-Length: 272
Expires: Thu, 12 Apr 2018 23:49:39 GMT
Date: Thu, 12 Apr 2018 23:49:39 GMT
Connection: close

<HTML><HEAD>
<TITLE>Service Unavailable</TITLE>
</HEAD><BODY>
<H1>Service Unavailable - Zero size object</H1>
The server is temporarily unable to service your request.  Please try again
later.<P>
Reference #15.1f081160.1523576979.b3b291
</BODY></HTML>
[17:49:40 4384] [Steam_Ratha] (00647C20:1560) Data received
<HTML><HEAD>
<TITLE>Service Unavailable</TITLE>
</HEAD><BODY>
<H1>Service Unavailable - Zero size object</H1>
The server is temporarily unable to service your request.  Please try again
later.<P>
Reference #15.1f081160.1523576979.b3b291
</BODY></HTML>
[17:49:40 4384] [Steam_Ratha] (00647C20:1560) Connection closed internal
[17:49:40 4384] [Steam_Ratha] (00647C20:4294967295) Connection closed

0.95.8 #19778 (b342481c3a) - Netlog using existing TokenSecret
Quote (selected)
[18:00:32 1294] [STEAM_1] CSteamProto::SetStatus: changing status from 40071 to 40072
[18:00:32 2224] [STEAM_1] Connection request to api.steampowered.com:443 (Flags 11)....
[18:00:32 2224] [STEAM_1] (005B8290) Connecting to server api.steampowered.com:443....
[18:00:32 2224] [STEAM_1] (005B8290) Connecting to ip 184.28.154.34:443 ....
[18:00:32 2224] [STEAM_1] (948) Connected to api.steampowered.com:443
[18:00:32 2224] [STEAM_1] (948 api.steampowered.com) Starting SSL negotiation
[18:00:32 2224] [STEAM_1] (948 api.steampowered.com) SSL negotiation successful
[18:00:32 2224] [STEAM_1] (005B8290:948) Data sent
POST /ISteamWebUserPresenceOAuth/Logon/v0001 HTTP/1.1
Content-Type: application/x-www-form-urlencoded
User-Agent: Miranda/0.95.8.19778
Accept-Encoding: deflate, gzip
Host: api.steampowered.com
Connection: Keep-Alive
Proxy-Connection: Keep-Alive
Content-Length: 57

access_token=[32 Character Token]&ui_mode=web
[18:00:35 2224] [STEAM_1] w:\miranda-build\src\mir_app\src\netlibhttp.cpp 523: HttpPeekFirstResponseLine Failed (1460 10)
[18:00:35 2224] [STEAM_1] (005B8290:948) Connection closed internal
[18:00:35 2224] [STEAM_1] (005B8290:4294967295) Connection closed
[18:00:35 2224] [STEAM_1] CSteamProto::OnLoggedOn: unknown login error
[18:00:35 2224] [STEAM_1] CSteamProto::SetStatus: changing status from 1 to 40071
[18:00:35 2224] [STEAM_1] Connection request to api.steampowered.com:443 (Flags 11)....
[18:00:35 2224] [STEAM_1] (005B8290) Connecting to server api.steampowered.com:443....
[18:00:35 2224] [STEAM_1] (005B8290) Connecting to ip 184.28.154.34:443 ....
[18:00:35 2224] [STEAM_1] (848) Connected to api.steampowered.com:443
[18:00:35 2224] [STEAM_1] (848 api.steampowered.com) Starting SSL negotiation
[18:00:35 2224] [STEAM_1] (848 api.steampowered.com) SSL negotiation successful
[18:00:35 2224] [STEAM_1] (005B8290:848) Data sent
POST /ISteamWebUserPresenceOAuth/Logoff/v0001 HTTP/1.1
Content-Type: application/x-www-form-urlencoded
User-Agent: Miranda/0.95.8.19778
Accept-Encoding: deflate, gzip
Host: api.steampowered.com
Connection: Keep-Alive
Proxy-Connection: Keep-Alive
Content-Length: 71

access_token=[32 Character Token]&umqid=[19 Character UMQID]
[18:00:38 2224] [STEAM_1] w:\miranda-build\src\mir_app\src\netlibhttp.cpp 523: HttpPeekFirstResponseLine Failed (1460 10)
[18:00:38 2224] [STEAM_1] (005B8290:848) Connection closed internal
[18:00:38 2224] [STEAM_1] (005B8290:4294967295) Connection closed
« Last Edit: 13 04 2018, 00:43:29 by Ratha »
 

Offline ghazan

  • Miranda NG founder
  • Administrator
  • *****
  • Posts: 495
  • Country: ru
  • Karma: 38
  • Jabber ID
Re: Steam protocol
« Reply #515 on: 15 04 2018, 20:15:23 »
error 1460 means timeout
 

Offline Vulpix

  • Beta Tester
  • *****
  • Posts: 568
  • Country: 00
  • Karma: 14
Re: Steam protocol
« Reply #516 on: 15 04 2018, 20:21:01 »
There was some kind of issue with steam at that time I believe. Mine was down as well. Might be that the site is running closer to the server so it was not affected (maybe because of a routing issue), or simply that it uses a different API than miranda (which it does for some calls)... but yeah your guess is as good as mine.

Picture of the outage:

https://imgur.com/a/N038Z
 

Offline Ratha

  • Jr. Member
  • **
  • Posts: 95
  • Karma: 2
Re: Steam protocol
« Reply #517 on: 10 05 2018, 08:10:48 »
Is it possible for TabSRMM to display Steam game's Xstatus message in the message window / container titlebar?

My current titlebar setting is: %n (%s) I've tried using %m, %x, and %t, but none of those seem to cover the 'playing game' message.

Right now (as far as im aware) the only way within Miranda to find out what game a friend is playing seems to be to find them in your contact list and then hover over their gameplay icon to find out. (This assumes of course that you have extra icons enabled and Tipper installed / configured to display Xstatus in a popup.

Was thinking that being able to see what game someone is playing just by glancing at the titlebar while you were talking to them might be useful. (While hovering over the gameplay icon on the contact list can be a very useful feature, it is also a little time consuming when you have hundreds of people in your contact list, many of which are often hidden behind different groups and subgroups.)
« Last Edit: 10 05 2018, 08:23:21 by Ratha »
 

Offline Ratha

  • Jr. Member
  • **
  • Posts: 95
  • Karma: 2
Re: Steam protocol
« Reply #518 on: 12 05 2018, 20:57:41 »
I posted a new issue to the tracker regarding adding new Steam users to your contact list:
https://github.com/miranda-ng/miranda-ng/issues/1352

Why new users sometimes dont show up after being added:
- You have "Hide Empty Groups" and have an empty "Unsorted" group. (New contacts are not counted as users, they wont make the group appear.)
- User might be offline and might have been added to your contact list under their 18 digit SteamID instead of their username.

Why new users new users sometimes disappear from the contact list:
- Disabling / Re-enabling groups, Hiding offline users, and Hiding empty groups (things that sort the contact list?) seem to cause them to disappear.

Why new users sometimes reappear:
- When they change status modes, or when you log off and back on they may reappear (only if they are online when you log on?) (They may also may reappear when they send you a message.)

Workarounds:
- Close and restart Miranda after adding the new contact to your list. New users should now count in group totals, and should not disappear anymore.

Additional issue to keep in mind, possibly related to why some 'lost' contacts may occasionally reappear:
- There is a bug with the Steam protocol that causes some Steam friends to appear offline when they are not. This seems to be the result of losing connection and being reconnected (without receiving a full / periodic contact list update?) The list will slowly repopulate over time as users change their statuses, but the only way to know for sure who is actually online is often to log out and back in. Seems like this issue may be the result of only updating the contact list on user state changes, but fails to account for brief periods of disconnection where the protocol does not go fully offline, thus any state changes that happened while you were not receiving them are lost. (Strangely this usually manifests itself as most contacts being offline when they are actually online. Its like the protocol notices that you were disconnected and sets everyone offline, but then it only does a partial state update when reconnecting instead of a full status update.) (As of posting I dont know if this issue is being tracked. Is there a way to browse/sort open/closed issues by protocol?)
 
The following users thanked this post: Vulpix

Offline Vulpix

  • Beta Tester
  • *****
  • Posts: 568
  • Country: 00
  • Karma: 14
Re: Steam protocol
« Reply #519 on: 12 05 2018, 21:02:52 »
First of all, awesome :D you really work hard :)

As for the steam issue with "sometimes getting wrong offline state" and then "updating only if people change their status", this has been an issue for a long time:

https://github.com/miranda-ng/miranda-ng/issues/646

But then it got resolved... I guess it came back. I have actually noticed it myself some time ago, but was too busy to log a ticket and then forgot..
 

Offline Ratha

  • Jr. Member
  • **
  • Posts: 95
  • Karma: 2
Re: Steam protocol
« Reply #520 on: 12 05 2018, 22:44:02 »
Thanks, the 'new user does not show up' problem has been a thorn in my side for a very long time, i finally sort of figured out what was going on when i noticed that newly added users were  not being shown as actual full contacts / that they didnt count as part of a group. That explained a bunch of the different problems that i had been having, so once i understood that was an issue it became a lot easier to sit down and diagnose the problem. Still took like 8 hours worth of testing and checking different things to document the problem to that point though. Its not a complete picture, but I think i've narrowed it down far enough that someone might be able to figure out. :)

Regarding the 'sometimes wrong offline state' issue. I have not noticed the problem with 'logging on and off too quickly' in quite awhile, not since nearish to the Steam refactoring update anyway. That part of it -seems- to have been resolved as far as my recent experiences are concerned. I manually tested logging off and on 3 times in a row (in under 10 seconds) and didnt have any issues, more testing might be needed though. The remaining issue feels like its got more due to some sort of internal automatic reconnection thread not downloading the full contact list update after an automated reconnect.

Question: Is there a place where the developers working on Miranda tend to have active discussions about bugs, changes, and updates? I read the commits every couple of days, but there tend to be some really big changes happening (like protocol removals and the database update) and yet i cant find much discussion of those things on the forums. Miranda forums largely appear to be dead most of the time, though I admit that i cant read the russian threads. The reason I ask is because it'd be nice to stay informed about the changes happening, and sometimes when im trying to diagnose or track down an issue it would be helpful to be able to talk to a few of the people who are involved a little more directly.
« Last Edit: 12 05 2018, 22:46:06 by Ratha »
 

Offline Vulpix

  • Beta Tester
  • *****
  • Posts: 568
  • Country: 00
  • Karma: 14
Re: Steam protocol
« Reply #521 on: 12 05 2018, 22:52:51 »
I think there is a telegram group :D but I don't use telegram (cause it's not supported in Miranda :p) so... no idea. I generally just talk to the devs directly when they have time.

And I agree it has something to do with the internal reconnection - because Steam as a chat protocol is so unstable, this reconnection is not a rare occurrence, and as such this kind of "wrong offline state" issue happens fairly often. I usually notice it when I see too few people online in my contact list, and I relog to get the actual state. Obviously not ideal and should be fixed.
 

Offline Ratha

  • Jr. Member
  • **
  • Posts: 95
  • Karma: 2
Re: Steam protocol
« Reply #522 on: 12 05 2018, 23:14:24 »
Thats exactly when I notice it has happened as well. I have a contact who is -always- online, and when i see them offline, I know something is wrong. Logging out and back in seems to resolve the issue instantly, and i know from looking at the logs that the protocol downloads quite a bit of contact information each time you manually reconnect, which is why i believe that mini-disconnects or auto-reconnects might not be performing the same download of data.

Recently (2 weeks ago) i started using Status Manager to help with the 'random disconnects' that seemed to be occurring with Steam, Skype, and Discord. Since starting to use it, I have noticed an increase in the number of 'Steam user is actually online but shows as offline' errors compared to when i was not using it. I dont remember having it as frequently before using it, but then i'd probably be disconnected for 30-45 minutes before noticing that i was offline in the past, allowing any network issues time to resolve itself before manually reconnecting.

If the issue is due to Steam's servers, that -might- explain the disconnections as well as why we're not getting a full Steam status updates sometimes. (Such as reconnecting to the service before the server is capable of sending full status updates again?) As far as I know, my connection is pretty solid, wired, and im not having any problems with my router (that im aware of.) Ive never -felt- any disconnections happening when my messengers randomly go offline though and i browse and play games often enough that major connection issues would be easily noticed.

But so far I've not been able to specifically link it to a network problem on their end (or mine), and scrubbing a network log from Steam of personal information over a 24 hour period in an attempt to catch the issue happening would be an exceptional amount of work. I have a feeling it would be a 30-50 meg log file and it took me 45 minutes just to read and scrub a 50k log file last time around. Doing that to a log that was 500-1000 times the size without knowing what i was looking for would be exceedingly painful. :P
« Last Edit: 12 05 2018, 23:16:46 by Ratha »
 

Offline SpinalBlood

  • Full Member
  • ***
  • Posts: 121
  • Country: it
  • Karma: 1
Re: Steam protocol
« Reply #523 on: 03 06 2018, 11:06:56 »
I doubt it, but just to be sure, this doesn't involve Miranda, right?

https://www.contextis.com/blog/frag-grenade-a-remote-code-execution-vulnerability-in-the-steam-client
 

Offline Vulpix

  • Beta Tester
  • *****
  • Posts: 568
  • Country: 00
  • Karma: 14
Re: Steam protocol
« Reply #524 on: 03 06 2018, 11:08:08 »
Yep, not at all. We're polling the steam web API, we do not use any of the client libraries or anything like that.
 
The following users thanked this post: SpinalBlood