How might we help customers get back on track from a connection timeout message

I’m designing ‘sad path’ scenarios for checkout and I’m trying to design for helping customers when a connection timeout occurs when the checkout hangs trying to connect to our 3rd party credit card payment form.

When this happens the credit payment form could not get loaded in our checkout environment.

A simple solution is to reload the page.

The UX/UI solution I’m putting forward is an alert message that appears on the page and asks the customer to reload the page.

This is my attempt at making the error message more ‘user-friendly’:


A connection error occurred

An error occurred when we were trying to connect to the system.

Please reload the page to try connecting again.

[ Reload page ] <— button


How do people feel about the above message? Any other solutions you can think of?

Thanks.

database mirror – A connection attempt failed because the connected party did not properly respond after a period of time

I have database mirror set up in one of my servers and all seems to be fine, however, from time to time I get this error message in the logs:

--Execute it on Primary/Secondary server EXEC xp_readerrorlog 0,1,"Error",Null, NULL, NULL, N'desc' 

Database mirroring connection error 2 ‘Connection attempt failed with error: ‘10060 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)’.’ for ‘TCP://MIRROR_SERVER_DB01:5022’.

enter image description here

--============================================================================== -- query that shows the current state of each database in the mirroring --==============================================================================   SELECT   db_name(sd.[database_id])              AS [Database Name]           ,sd.mirroring_state                  AS [Mirror State]           ,sd.mirroring_state_desc             AS [Mirror State]            ,sd.mirroring_partner_name           AS [Partner Name]           ,sd.mirroring_role_desc              AS [Mirror Role]             ,sd.mirroring_safety_level_desc      AS [Safety Level]           ,sd.mirroring_witness_name           AS [Witness]           ,sd.mirroring_connection_timeout AS [Timeout(sec)]     FROM sys.database_mirroring AS sd     WHERE mirroring_guid IS NOT null     ORDER BY [Database Name]; 

enter image description here

question:

as it happens only sometimes, and I could not identify what else running at the same time – could have triggered this error,

what are possible things to look at while troubleshooting?

this server is hosted in the USA and I am not admin on the machine, only sysdba in the sql server world.

FUD payload connection over 443 (meterpreter behavior) still being detected by Windows Defender

I’ve managed to create a obfuscated shellcode that is compatible with windows/meterpreter/reverse_tcp and windows/shell/reverse_tcp (metasploit) payload’s handlers. When testing with metasploit listening with windows/shell/reverse_tcp payload the connection is not detected, when I test with metasploit listening with windows/meterpreter/reverse_tcp set the behavior is detected. The detection seems to post connection..

Is there additional options/variables I can set in the windows/meterpreter/reverse_tcp payload handler to evade antivirus (windows defender) detecting meterpreter behavior?

I’m looking to evade detection server side (metasploit listener options), not client side I’ve done that.

What are the exact steps to establish a HTTPS/SSL connection?

Before asking this question I got through a lot of posts for finding a simple explanation about:

  • How an HTTPS/SSL connection establishes?

but I could not find a good one, in addition here, i can ask more question until it becomes clear for me, it may also be helpful for many others. And also there is another question Related to this topic:

  • How the client generates the privet key?

what does this connection failure message mean?

$ psql -h host db_name

psql: could not fork new process for connection: Cannot allocate memory

I think I have enough free RAM?

Other conditions, when using jdbc:

Caused by: java.lang.IllegalStateException: Received resultset tuples, but no field structure for them     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2086)     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:288)     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:430)     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:356)     at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:168)     at org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:116)  org.postgresql.util.PSQLException: A connection could not be made using the requested protocol null.         at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:59)         at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:216)         at org.postgresql.Driver.makeConnection(Driver.java:404)         at org.postgresql.Driver.connect(Driver.java:272)         at java.sql.DriverManager.getConnection(DriverManager.java:664)         at java.sql.DriverManager.getConnection(DriverManager.java:247)    Detail: Failed on request of size 81160 in memory context "MessageContext". java.lang.RuntimeException: org.postgresql.util.PSQLException: ERROR: out of memory   Detail: Failed on request of size 81160 in memory context "MessageContext". 

How to find SSL root cert that made connection to the database in PostgreSQL?

When we connect to postgreSQL via ssl-mode=verify-full how will I make sure if the certificate I passed is used while making the connection?

With ssl_is_used(); shows only true or false. Is there any other extension or pg_catalog views that shows the root cert used in making connection to the DB ?

Is there any way to keep the request in intercepting proxy for atleast a min before application says check your connection?

I just bypassed SSL pinning on an android application but the problem is application won’t let me play with the request on my intercepting proxy. It says something like problem with your network or check your internet connection, it might be slow. It used to say the same thing before I didn’t bypassed SSL pinning.

My assumption is that the application is coded in such a way that it expects to get response from the server quickly. Since am playing around with the request on my intercepting proxy there is no response from the server because the request is still on my proxy and not sent to the server.

Is there any way out of it?

mysql – importing large Tablespace: Lost connection during query

iam trying to recover innodb table which has 1.5M rows from ibd file ( 5.5 GB )

this is the exact steps i do:

  1. getting create table query using mysqlfrm command

  2. create the table

  3. Alter Table discard tablespace

  4. moving the new tablespace to the db directory

  5. Alter Table import tablespace;

and i’m getting this error after 5 minutes :-

ERROR 2013 (HY000): Lost connection to MySQL server during query my.cnf:

[client] port=3307 [mysql] no-beep  [mysqld] max_allowed_packet=8M innodb_buffer_pool_size=511M innodb_log_file_size=500M innodb_log_buffer_size=800M net_read_timeout=600 net_write_timeout=600 open_files_limit=100000 skip-grant-tables port=3307 datadir=D:\dbrecover\_home_db_\home\db default-storage-engine=INNODB sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION" log-output=FILE general-log=0 general_log_file="WIN-36LFCDISVVC.log" slow-query-log=1 slow_query_log_file="WIN-36LFCDISVVC-slow.log" long_query_time=10 log-error="WIN-36LFCDISVVC.err" relay_log="WIN-36LFCDISVVC-relay" server-id=1 report_port=3307 lower_case_table_names=2 secure-file-priv="C:/ProgramData/MySQL/MySQL Server 5.7/Uploads" max_connections=151 table_open_cache=2000 tmp_table_size=123M thread_cache_size=10 myisam_max_sort_file_size=100G myisam_sort_buffer_size=236M key_buffer_size=8M read_buffer_size=64K read_rnd_buffer_size=256K innodb_flush_log_at_trx_commit=1 innodb_thread_concurrency=9 innodb_autoextend_increment=64 innodb_buffer_pool_instances=8 innodb_concurrency_tickets=5000 innodb_old_blocks_time=1000 innodb_open_files=300 innodb_stats_on_metadata=0 innodb_file_per_table=1 innodb_checksum_algorithm=0 back_log=80 flush_time=0 join_buffer_size=256K max_connect_errors=100 sort_buffer_size=256K table_definition_cache=1400 binlog_row_event_max_size=8K sync_master_info=10000 sync_relay_log=10000 sync_relay_log_info=10000 

is there any way to import it ??

What is the connection between the Shadowfell and Strahd/the plane of Barovia?

I’m preparing to run Curse of Strahd, and one of my players wants to play as a Shadar-kai who is loyal to the Raven Queen.

In the adventure’s set up, it says (p. 9):

For obvious reasons, I’d like to know more about the connection between these Dark Powers of the Shadowfell and Strahd.

I’ve looked at the related question What are the "Dark Powers"? but it seems to be an old question based on old D&D lore (from 2e and 3e) that doesn’t help in this regard, because the Shadowfell appears to have been introduced in 4e (and remains in 5e). Hence this question about the 5e adventure Curse of Strahd and the 4e/5e Shadowfell is not a duplicate of that question.

Rather than focusing on the Dark Powers (since that would make this a duplicate), I want to instead better understand the relationship between Strahd, Barovia and the Shadowfell, especially if the Raven Queen is supposed to be in any way related to any of this. If it turns out that she is related to this, then this player’s backstory will have to include why the Raven Queen is sending their PC to ruin Strahd’s day (especially since, AFAIK, the Raven Queen dislikes sentient undead), whereas otherwise the “Raven Queen dislikes sentient undead” thing is probably enough on its own.

So, in what way is the Shadowfell related to Strahd, and the plane of Barovia (if at all)?


I’m chiefly interested in any 5e lore that might help me understand the connections between the Shadowfell and Barovia/Strahd, but 4e lore is acceptable as well. 3e and older lore I won’t shun if it can help in any way, but the fact that the Shadowfell didn’t exist back then implies that answers must contain at least some 4e/5e lore as well for such answers to be helpful.