Not able to post custom customer attribute data using soap api

I need to post custom customer attribute data using soap api. I am passing the array in api

My array

$  customerdata = ['customer'=>                              [                               'email'=> 'customer-mail12344547866@example.org',                               'firstname' => 'Dough',                               'lastname' => 'Deeks',                               'website_id' => 1,                               'store_id' => 1,                               'group_id' => 4,                               "custom_attributes" => [                                   ["attribute_code" => "local_store_id",                                       "value" => 897897123,                                    ],                                   ["attribute_code" => "rms_id",                                       "value" => 897897123,                                    ],                               ],                              ]                 ];                 echo "<pre>";                 print_r($  customerdata);                 die(); 

enter image description here

And in response, i need this output

enter image description here

not able to install packages in pycharm on windows 10, getting SSL failed to verify error

I am trying to install a HL7 apy package in pycharm using following steps.

File–>Settings–>Project Interpreter–>click + sign–>search package–>Install package. There after getting below error.

Could not fetch URL https://pypi.org/simple/hl7apy/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=’pypi.org’, port=443): Max retries exceeded with url: /simple/hl7apy/ (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)’))) – skipping Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=’pypi.org’, port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)’))) – skipping

Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)’))’: /simple/hl7apy/ Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)’))’: /simple/hl7apy/ Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)’))’: /simple/hl7apy/ Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)’))’: /simple/hl7apy/ Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)’))’: /simple/hl7apy/ Could not find a version that satisfies the requirement hl7apy (from versions: ) No matching distribution found for hl7apy

Anyone who can help.It’s a bit urgent. I am able to install package through commmand terminal by adding trusted host. But when I import that package in pycharm IDE its not working.

Magento2.2.5 admin panel not able to get to cms page or static blocks

when I go into the admin panel and then try to get to any cms page or static block (in the admin panel) I get a 500 error which is the below error. Also in the admin panel if I try to go to any cart price rule the below error occurs.

Also on the site when you go to any category the top category image does not seem to load.

When I look in the server logs I see the error Uncaught exception ‘Error’ with message ‘Cannot instantiate interface Magento\Framework\Config\ReaderInterface’ in /vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:111

If I am able to generate the same public key as someone else, do I also get the same private key?

I have a very basic understanding of the asymetric encryption. I have a couple of simple questions. I know I can generate a key pair, of public and private keys.

  • If by co-incidence my public key that is generated is the same as a public key of someone else. Does this mean we will also have the same private keys?

Second related question.

  • If the answer is yes to the first question. Then, is it in theory, possible to have a huge database of all known public keys and keep randomly generating key pairs and checking against the database if any of them match.

Breaking one specific key, is very hard. But is breaking any key also hard? If someone tries to find a match with publicly known key they could somehow break one or a handful of them. If not, what stops this from happening.

Thanks! : )

I am not able to create a new partition in my MacBook

I use a MacBook Pro 13 early 2015 model running mac os Mojave, I have 2 partitions right now,(mac partition APFS and boot camp NTFS) I need to create one more partition to extend my boot camp partition. When I use disk utility to create new MS-Dos partition it is showing an error.. what do I do now ??.. This is the error I get

Checking the fsroot tree.

Verifying allocated space.

Performing deferred repairs.

error: nchildren of inode object (id 524386) does not match expected value Deferred repairs failed.

The volume /dev/disk0s2 could not be verified completely.

Storage system check exit code is 8.

Storage system verify or repair failed.

Operation failed…

enter image description here

nginx no longer able to proxy a website that’s behind Cloudflare DDOS protection

I have a server set up with nginx that’s intended to transparently reverse-proxy a specific website that is not owned by me. Recently that website started using Cloudflare DDOS protection and I’m no longer able to access it using nginx.

From what I can tell, what’s supposed to happen is that I’ll access a page and receive a 503 from Cloudflare with its “DDOS protection” page. That page will then redirect to another URL containing encoded data, my browser receives a 302 response, and that will redirect to the page I’m trying to access.

What’s apparently going wrong though when this is proxied through my nginx server is that after the 302 direction, the page I’m trying to access will produce another 503. It will then get into an endless cycle of redirection. Apparently something that Cloudflare is trying to set up is not working, causing my browser to never get past its protection.

I’m still new to nginx and so far I haven’t figured out how to fix this.

Here is the nginx server configuration with any identifying information redacted:

server {     listen XYZ;      location / {         proxy_set_header Referer "https://target.website";         proxy_pass https://target.website/;         proxy_redirect https://target.website https://$  host:$  server_port;         proxy_set_header Accept-Encoding "";         sub_filter_once off;         sub_filter 'https://$  proxy_host' 'https://$  host:$  server_port';     } } 

Is there something I can change so that it will pass Cloudflare’s check?

Is it possible to build a custom weapon, and if so, how my character will be able to use it?

I plan to make a multiclass character with a Rogue and a Ranger. Since I want to stay at a distance when attacking, I want to use a shortbow (with the proficiency from Rogue), but I also want to use a shield (with the proficiency from Ranger). This is not possible because the shield takes one hand, and the bow two.

I want to make a custom weapon, combining a shield with a bow, like a bow attached to the shield (so my character is holding the shield/bow in one hand, and shooting the arrow with the other) My DM would allow the construction of such item, but I want to know what kind of interaction this will have with the rules.

I need to specify that in RP, my character will be ordering this weapon custom for him, for his needs. My goal is having the +2 AC, and still making ranged attacks.

I will be proficient with both a shield and a bow, but the combined item is a new weapon, not specified in my proficiencies… Is it reasonable to think that I can be proficient the combined item? What kind of balance can I expect of this kind of item?

Not able to run pyqt5 in pycharm

C:\Anaconda3\envs\tkinter\python.exe D:/tkinter/practice.py Traceback (most recent call last): File “D:/tkinter/practice.py”, line 1, in import PyQt5.QtWidgets ModuleNotFoundError: No module named ‘PyQt5’

This is what I am getting while executing the code in pycharm. But I am able to run the code in terminal. What do I have to do to resolve to this issue