Unable to run sync_grains while using grain matching

Whenever I try to run the sync_grains command on a host using glob matching, it works great:

root@salt:~# salt '*-stage-*' saltutil.sync_grains; echo $  ? i-0bbaf106121397b74-stage-knowledge-base: 0 

However, any time I try matching based on grains, it fails completely:

root@salt:~# salt -C 'G@env:stage and G@role:knowledge-base' saltutil.sync_grains; echo $  ? i-0bbaf106121397b74-stage-knowledge-base:     Minion did not return. [No response] ERROR: Minions returned with non-zero exit code 1 

It still doesn’t work even if I use the -G flag instead of compound matching, so it’s not that.

Now, it doesn’t really make sense that you wouldn’t be able to sync grains while using grains to match, since it will have already matched before running the command.

Is this a known issue? Is there a workaround?


Unable to track UK Visa application

I am unable to track my UK Visa application which was submitted Monday 06th May 2019 and today is 22nd May 2019

I have even subscribed to SMS service yet I haven’t received a single SMS till date

Further there is no benefit subscribing to VFS Worthless silver package services.

Additionally the customer care is arrogant and would have no clue why my SMS service is unavailable.

Magento 2.3 unable to send email server configuration

I am using Magento 2.3 , I try to send a mail but unfortunately, I am not able to send any mail I got error

Unable to send mail: Unknown error at /home/public_html/proj/vendor/zendframework/zend-mail/src/Transport/Sendmail.php:305)”} []

then I am using Hostgator Server is there anything configured from server side because I tried mageplaza smtp module it says mail sent successfully but I didn’t get any mail

how do i fix this ?

Unable Debug “attaching-remote-event-receivers-to-lists-in-the-host-web” using azure service bus

I use to follow the following approach to create remote event receivers and debug them using azure service bus https://blogs.msdn.microsoft.com/kaevans/2014/02/26/attaching-remote-event-receivers-to-lists-in-the-host-web/ , but currently it is no more working for us.

where i do these steps:-

  1. Inside Azure i created a new service bus, as follow >> i copied the primary connection string:-

  2. Inside the visual studio 2015 project >> Properties >> SharePoint >> i added the above service bus’s primary connection string, as follow:- enter image description here

  3. I run the project >> where i got this message >> i select the list >> click on “Trust”:- enter image description here

  4. I got the app showed the home page:- enter image description here

  5. I got the app added correctly inside my site content enter image description here

but the visual studio stop running and showed these 2 messages:-

One or more services were unregistered from the Microsoft Azure Service Bus. Cannot register Services/AppEventReceiver.svc on Microsoft Azure Service Bus: Unable to connect to the remote server

Here is a screen shot from VS:- enter image description here

so i am not sure what is going on ? why the service bus is not working?

here is my AppManifest.xml:-

<?xml version="1.0" encoding="utf-8" ?> <!--Created:cb85b80c-f585-40ff-8bfc-12ff4d0e34a9--> <App xmlns="http://schemas.microsoft.com/sharepoint/2012/app/manifest"      Name="CustomerServiceKB"      ProductID="{28e4281a-1114-4d41-82dd-6277e01c7d34}"      Version=""      SharePointMinVersion="" >   <Properties>     <Title>CustomerServiceKB</Title>     <StartPage>~remoteAppUrl/?{StandardTokens}</StartPage>     <InstalledEventEndpoint>~remoteAppUrl/Services/AppEventReceiver.svc</InstalledEventEndpoint>     <UninstallingEventEndpoint>~remoteAppUrl/Services/AppEventReceiver.svc</UninstallingEventEndpoint> </Properties>    <AppPrincipal>     <RemoteWebApplication ClientId="*" />   </AppPrincipal>   <AppPermissionRequests AllowAppOnlyPolicy="true">     <AppPermissionRequest Scope="http://sharepoint/content/sitecollection/web/list" Right="Manage" >        <Property Name="BaseTemplateId" Value="100" />     </AppPermissionRequest>   </AppPermissionRequests> </App> 

Unable to stop date sync in Oracle VM Virtual box 5.2.XX

I was using the below command to stop date sync inside virtual machine for Oracle VM virual box which was compatible with windows7.

vboxmanage setextradata “VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled” “1”

When I try in Windows10 Compatible Oracle VM virual box, the above command is not stopping date sync. It is resetting to correct date in 2-3 seconds.

Please help to stop sync date in Windows10 Compatible Oracle VM virual box. (5.2 or greater vetsion).

Unable to import xgboost in Python

I have installed xgboost successfully using pip for Python 2.7.16 (I installed this Python version using Homebrew on macOS High Sierra). My problem is that I’m unable to import xgboost in Python, as per the error message below:

mac-128644:~ user$   python Python 2.7.16 (default, Apr 12 2019, 15:32:52)  [GCC 4.2.1 Compatible Apple LLVM 10.0.0 (clang-1000.11.45.5)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import xgboost Traceback (most recent call last):   File "<stdin>", line 1, in <module>   File "/usr/local/lib/python2.7/site-packages/xgboost/__init__.py", line 11, in <module>     from .core import DMatrix, Booster   File "/usr/local/lib/python2.7/site-packages/xgboost/core.py", line 163, in <module>     _LIB = _load_lib()   File "/usr/local/lib/python2.7/site-packages/xgboost/core.py", line 154, in _load_lib     'Error message(s): {}\n'.format(os_error_list)) xgboost.core.XGBoostError: XGBoost Library (libxgboost.dylib) could not be loaded. Likely causes:   * OpenMP runtime is not installed (vcomp140.dll or libgomp-1.dll for Windows, libgomp.so for UNIX-like OSes)   * You are running 32-bit Python on a 64-bit OS Error message(s): ['dlopen(/usr/local/lib/python2.7/site-packages/xgboost/./lib/libxgboost.dylib, 6): Library not loaded: /usr/local/opt/gcc/lib/gcc/8/libgomp.1.dylib\n  Referenced from: /usr/local/lib/python2.7/site-packages/xgboost/./lib/libxgboost.dylib\n  Reason: no suitable image found.  Did find:\n\t/usr/local/lib/python2.7/site-packages/xgboost/./lib/libxgboost.dylib/libgomp.1.dylib: stat() failed with errno=20'] 

I’ve made sure that both my Python version and OS are 64-bit, so the problem is definitely not the second “likely cause.” I’m also pretty sure I have OpenMP installed: looking up instructions, for my case I would do brew install llvm and the install was successful. I’m also not sure why it can’t seem to find /usr/local/lib/python2.7/site-packages/xgboost/./lib/libxgboost.dylib, as I can cd into that directory and see libxgboost.dylib just fine. It looks like later on in the message it did find it, but still throws an error? What exactly is going on here, and what can I do to fix this error?

SSLKEYLOGFILE: unable to generate the log file

I am trying to decrypt SSL packets that I sniff from the browser using Wireshark. I’ve watched this tutorial where they explain how to do this using the SSLKEYLOGFILE environment variable.

Here are the steps I followed: (I am on Linux)

$ sudo su

$ export SSLKEYLOGFILE="$ PWD/sslkeyfile.txt"

When I run $ printenv I can clearly see that the environment variable was set to the path I specified above.

When I run $ ls -a I get nothing, which seems to be normal according to the tutorial.

Then I launch Wireshark using $ sudo Wireshark and I start sniffing the packets

I then launch Firefox from my terminal using $ firefox, ad I send an https request from firefox which is https://google.com, so I can decrypt it on Wireshark.

Now when I run the command $ ls -a from the right directory, I get nothing, the file sslkeyfile.txt was not created, and so I am unable to decrypt the SSL packets.

I’ve already managed to do this following the same tutorial. I would appreciate some help with this.

lnd SendPayment “unable to find a path to destination”

I got an error “unable to find a path to destination” when I call SendPayment to an invoice, created at starblocks.acinq.co, from my local private LND node.

It seems getinfo and getnetworkinfo are no problem. Am I missing something? (e.g. open port or connect channel) How can I debug it?

  • my local private LND node
# lncli --macaroonpath=/home/bitcoin/.lnd_1/chain/bitcoin/testnet/admin.macaroon --rpcserver=localhost:10010 --lnddir=/home/bitcoin/.lnd_1 getinfo {     "version": "0.6.1-beta commit=v0.6.1-beta-21-g863bf2f91b245afd58c8edc078a171a55e48f931",     "identity_pubkey": "02a5d8c2fa771570cefd4ab00be298daffca4d64c77cfc8a0d411a6c1b638cc092",     "alias": "02a5d8c2fa771570cefd",     "num_pending_channels": 0,     "num_active_channels": 0,     "num_inactive_channels": 0,     "num_peers": 3,     "block_height": 1517489,     "block_hash": "00000000000000723b9b81a3d7433385eec9e03fe1ecff2a3ea850171f70f639",     "best_header_timestamp": 1558348537,     "synced_to_chain": true,     "testnet": true,     "chains": [         {             "chain": "bitcoin",             "network": "testnet"         }     ],     "uris": null }  # lncli --macaroonpath=/home/bitcoin/.lnd_1/chain/bitcoin/testnet/admin.macaroon --rpcserver=localhost:10010 --lnddir=/home/bitcoin/.lnd_1 getnetworkinfo {     "graph_diameter": 0,     "avg_out_degree": 6.239715591670899,     "max_out_degree": 775,     "num_nodes": 1969,     "num_channels": 6143,     "total_network_capacity": "48768373513",     "avg_channel_size": 7938852.924141299,     "min_channel_size": "4000",     "max_channel_size": "16777216",     "median_channel_size_sat": "5000000" } 
  • invoice created at starblocks.acinq.co


AD: Unable to perform remote desktop logon

For my users in Active Directory, I did setup a GPO in order to allow the remote desktop connections.

For a specific user in particular, I did also manually setup the group membership for Remote Desktop Users:

enter image description here

However, I still get an error while performing a remote logon, saying that the user is not allowed to login in remotely.

Do you have any clue about it? Please just consider that Admins can correctly perform this operation, and the target machine is a generic windows server machine (no specific role yet installed, just joined to the domain).