Issues during installation, on initNodes page
I am creating a test node from this repo.
I have pointed these dns domains at my server:
swtcc.christopherreay.com
ledger.swtcc.christopherreay.com
I have this apache2 config:
<Directory /home/swtccuser/context/swtcc/gitRepo/credit-commons-microservices>
Require all granted
</Directory>
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin christopher.reay@mutualcredit.services
ServerName swtcc.christopherreay.com
#DocumentRoot /home/sustenancecredcom/context/creditCommons/sustenance.christopherreay.com
DocumentRoot /home/swtccuser/context/swtcc/gitRepo/credit-commons-microservices/ccclient/
ErrorLog ${APACHE_LOG_DIR}/swtcc.christopherreay.com.error.log
CustomLog ${APACHE_LOG_DIR}/swtcc.christopherreay.com.access.log combined
RewriteEngine on
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/swtcc.christopherreay.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/swtcc.christopherreay.com/privkey.pem
</VirtualHost>
Include /home/swtccuser/context/swtcc/gitRepo/credit-commons-microservices/apache.conf
</IfModule>
this hosts file entry:
127.0.0.1 swtcc.christopherreay.com blogic.swtcc.christopherreay.com policy.swtcc.christopherreay.com
this apache.conf
generated by the ledger installation:
#autogenerated by ServerConfigurer::setup in /home/swtccuser/context/swtcc/gitRepo/credit-commons-microservices/ccclient/ServerConfigurer.php
<VirtualHost *:80>
ServerName swtcc.christopherreay.com
DocumentRoot /home/swtccuser/context/swtcc/gitRepo/credit-commons-microservices/swtcc/ledgerService
ErrorLog /home/swtccuser/context/swtcc/gitRepo/credit-commons-microservices/swtcc/cc_error.log
</VirtualHost>
<VirtualHost *:80>
ServerName blogic.swtcc.christopherreay.com
DocumentRoot /home/swtccuser/context/swtcc/gitRepo/credit-commons-microservices/swtcc/blogicService
ErrorLog /home/swtccuser/context/swtcc/gitRepo/credit-commons-microservices/swtcc/cc_error.log
</VirtualHost>
<VirtualHost *:80>
ServerName policy.swtcc.christopherreay.com
DocumentRoot /home/swtccuser/context/swtcc/gitRepo/credit-commons-microservices/swtcc/policyService
ErrorLog /home/swtccuser/context/swtcc/gitRepo/credit-commons-microservices/swtcc/cc_error.log
</VirtualHost>
and I have arrived at https://swtcc.christopherreay.com/initnodes.php?swtcc
with no problems
I have used these options:
- users: alice bob
- payer / payee fees: 0 0
- rootwards node url: blank
When clicking the "Complete setup" button, I get this error:
Fatal error: Uncaught TypeError: Argument 1 passed to BaseRequester::parseHeaders() must be of the type array, string given, called in /home/swtccuser/context/swtcc/gitRepo/credit-commons-microservices/ccclient/requesters/ClientRequesterTrait.php on line 34 and defined in /home/swtccuser/context/swtcc/gitRepo/credit-commons-microservices/node_template/ledgerService/requesters/BaseRequester.php:355 Stack trace: #0 /home/swtccuser/context/swtcc/gitRepo/credit-commons-microservices/ccclient/requesters/ClientRequesterTrait.php(34): BaseRequester->parseHeaders() #1 /home/swtccuser/context/swtcc/gitRepo/credit-commons-microservices/ccclient/requesters/ClientPolicyRequester.php(23): ClientPolicyRequester->request() #2 /home/swtccuser/context/swtcc/gitRepo/credit-commons-microservices/ccclient/Node.php(311): ClientPolicyRequester->join() #3 /home/swtccuser/context/swtcc/gitRepo/credit-commons-microservices/ccclient/Node.php(93): Node->addAccount() #4 /home/swtccuser/context/swtcc/gitRepo/credit-commons-microservices/ccclient/init in /home/swtccuser/context/swtcc/gitRepo/credit-commons-microservices/node_template/ledgerService/requesters/BaseRequester.php on line 355
Edited by Christopher Reay