Airgap install manager, 401 Authorization Required, so-soc ERROR #1563
-
Working on doing an airgap install via ISO, using all default options only setting only the required fields when I head to the IP on https it loads the following URL and message https://x.x.x.x/login/?request=0b4a3829-c1c1-4c5b-b0ea-4b0585c4a4ec 401 Authorization Required I checked so-status and it shows everything OK except so-soc which shows ERROR. I tried so-soc-start and it shows the below, but afterwards so-status still shows so-soc as error. [root@xxxhostname onionadmin]# so-soc-startStarting soc... This could take a while if another Salt job is running.
|
Beta Was this translation helpful? Give feedback.
Replies: 24 comments 8 replies
-
Did you select ip, hostname, or other during the install?
You need to access it via that value. |
Beta Was this translation helpful? Give feedback.
-
I left it as default selecting IP, and am trying to reach it via that IP. Here's the output of the command: url_base: 'x.x.x.x' (matches the host IP and all of the x.x.x.x logs above). |
Beta Was this translation helpful? Give feedback.
-
I found a potentially similar issue: #1546 In checking that thread, I am seeing similar logs on my manger host: [root@xxxhostname onionadmin]# docker logs so-soc |
Beta Was this translation helpful? Give feedback.
-
I am having the same issue, but using hostname.
…On Tue, Oct 20, 2020 at 10:21 AM howsTricks ***@***.***> wrote:
I left it as default selecting IP, and am trying to reach it via that IP.
Here's the output of the command:
url_base: 'x.x.x.x' (matches the host IP and all of the x.x.x.x logs
above).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1563 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADC5ZNX2UHEHBPOTBM5ZGLDSLWMGVANCNFSM4SYLUFUQ>
.
--
Andrew R. Albertson
C: (540)908-8551
|
Beta Was this translation helpful? Give feedback.
-
Can one of you post the sensoroni.json in /opt/so/conf/soc? |
Beta Was this translation helpful? Give feedback.
-
I only have soc.json and changes.json in that folder: [root@xxxhostname onionadmin]# ls /opt/so/conf/soc/ |
Beta Was this translation helpful? Give feedback.
-
Same.
…On Tue, Oct 20, 2020 at 10:48 AM howsTricks ***@***.***> wrote:
I only have soc.json and changes.json in that folder:
***@***.*** onionadmin]# ls /opt/so/conf/soc/
changes.json soc.json
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1563 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADC5ZNR4ARKICOEZ4GHVIZLSLWPLNANCNFSM4SYLUFUQ>
.
--
Andrew R. Albertson
C: (540)908-8551
|
Beta Was this translation helpful? Give feedback.
-
sorry /opt/so/conf/sensoroni/sensoroni.json |
Beta Was this translation helpful? Give feedback.
-
Directory /opt/so/conf/sensoroni does not exist
…On Tue, Oct 20, 2020 at 10:53 AM Mike Reeves ***@***.***> wrote:
sorry /opt/so/conf/sensoroni/sensoroni.json
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1563 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADC5ZNTIQYRYRYQVFCZYKIDSLWP7TANCNFSM4SYLUFUQ>
.
--
Andrew R. Albertson
C: (540)908-8551
|
Beta Was this translation helpful? Give feedback.
-
I don't have anything called sensoroni in the /opt/so/conf folder: [root@xxxhostname onionadmin]# ls /opt/so/conf/ However, I think maybe /opt/so/conf/soc/soc.conf is mapped to sensoroni.conf in the docker container? If helpful, here is that file. Note there is a empty first line, wondering if that is causing issues? |
Beta Was this translation helpful? Give feedback.
-
ok I created an issue for this. I see the problem. |
Beta Was this translation helpful? Give feedback.
-
Awesome. Thanks Mike. Let me know if there is anything I can do to help!
…On Tue, Oct 20, 2020 at 11:14 AM Mike Reeves ***@***.***> wrote:
ok I created an issue for this. I see the problem.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1563 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADC5ZNXRKSEWRRFGM3MOLYTSLWSPBANCNFSM4SYLUFUQ>
.
--
Andrew R. Albertson
C: (540)908-8551
|
Beta Was this translation helpful? Give feedback.
-
Change line 19 in /opt/so/saltstack/default/salt/soc/files/soc/soc.json |
Beta Was this translation helpful? Give feedback.
-
line 57 needs the same treatment as well. |
Beta Was this translation helpful? Give feedback.
-
Both lines changed. Situation remains. So-status showing error for so-soc |
Beta Was this translation helpful? Give feedback.
-
Looks like both lines took the change. I am not able to transfer between
networks. Should I be looking for something in particular?
…On Tue, Oct 20, 2020 at 11:30 AM Mike Reeves ***@***.***> wrote:
What does soc.json look like now?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1563 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADC5ZNXM3XCEQ3WE7DBWP3TSLWUJRANCNFSM4SYLUFUQ>
.
--
Andrew R. Albertson
C: (540)908-8551
|
Beta Was this translation helpful? Give feedback.
-
That chunk of code looks identical (minus some whitespace).
Note: /opt/sensoroni DNE
…On Tue, Oct 20, 2020 at 11:35 AM Mike Reeves ***@***.***> wrote:
Should look something like this:
***@***.*** ~]# cat /opt/so/conf/soc/soc.json
{
"logFilename": "/opt/sensoroni/logs/sensoroni-server.log",
"server": {
"bindAddress": "0.0.0.0:9822",
"baseUrl": "/",
"maxPacketCount": 5000,
"htmlDir": "html",
"airgapEnabled": true,
"modules": {
"filedatastore": {
"jobDir": "jobs"
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1563 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADC5ZNU5YEOYIIO4YIH4E2DSLWU3FANCNFSM4SYLUFUQ>
.
--
Andrew R. Albertson
C: (540)908-8551
|
Beta Was this translation helpful? Give feedback.
-
salt is busy right now. I'll check back soon.
…On Tue, Oct 20, 2020 at 11:56 AM Mike Reeves ***@***.***> wrote:
how about running:
sudo docker stop so-soc
sudo docker rm so-soc
sudo salt-call state.apply soc
Then try incognito mode on the browser
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1563 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADC5ZNVVRKPQQKYL5ON5F73SLWXKFANCNFSM4SYLUFUQ>
.
--
Andrew R. Albertson
C: (540)908-8551
|
Beta Was this translation helpful? Give feedback.
-
Sir,
Looks like we are still in the same state. Is it worth doing a reboot?
On Tue, Oct 20, 2020 at 11:56 AM Andrew Albertson <
andrew.albertson93@gmail.com> wrote:
… salt is busy right now. I'll check back soon.
On Tue, Oct 20, 2020 at 11:56 AM Mike Reeves ***@***.***>
wrote:
> how about running:
>
> sudo docker stop so-soc
> sudo docker rm so-soc
> sudo salt-call state.apply soc
>
> Then try incognito mode on the browser
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#1563 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ADC5ZNVVRKPQQKYL5ON5F73SLWXKFANCNFSM4SYLUFUQ>
> .
>
--
Andrew R. Albertson
C: (540)908-8551
--
Andrew R. Albertson
C: (540)908-8551
|
Beta Was this translation helpful? Give feedback.
-
Thanks for your energy on this. Standing by.
…On Tue, Oct 20, 2020 at 12:20 PM Mike Reeves ***@***.***> wrote:
I am going a fresh install to see what the deal is
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1563 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADC5ZNU4ZJDJOOMXUD3WP43SLW2ERANCNFSM4SYLUFUQ>
.
--
Andrew R. Albertson
C: (540)908-8551
|
Beta Was this translation helpful? Give feedback.
-
Do that and it will fix it. Line 58 needs a " |
Beta Was this translation helpful? Give feedback.
-
That fixed my issue!! Thanks!!!
…On Tue, Oct 20, 2020 at 1:18 PM Mike Reeves ***@***.***> wrote:
4a9fcfb
<4a9fcfb>
Do that and it will fix it. Line 58 needs a "
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1563 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADC5ZNTABQBNP2AWQGHFWSDSLXA7HANCNFSM4SYLUFUQ>
.
--
Andrew R. Albertson
C: (540)908-8551
|
Beta Was this translation helpful? Give feedback.
-
Hi @TOoSmOotH Thanks for the help! I did the changes in a119d8f and 4a9fcfb and was able to start the soc container using the commands you mentioned: sudo docker stop so-soc |
Beta Was this translation helpful? Give feedback.
-
All, I have this same issue and after running through all the fixes listed above, I am still seeing the so-soc ERROR. Any thoughts on what else may be going on? I am AirGapped and running by IP, not hostname. While I cannot copy and paste configs (due to airgap), I can post screenshots if needed. |
Beta Was this translation helpful? Give feedback.
4a9fcfb
Do that and it will fix it. Line 58 needs a "