TASK [tezos-remote-signer : install ocaml environment]

if using tezos-role i have error
FAILED! => {"changed": true, "cmd": "cd /home/tezos/tezos\nopam init --bare --auto-setup\nopam switch create tezos ocaml-base-compiler.4.07.1\neval $(opam env)\nmake build-deps\nmake\n", "delta": "0:11:56.823457", "end": "2020-10-29 15:12:26.199607", "msg": "non-zero return code", "rc": 2, "start": "2020-10-29 15:00:29.376150", "stderr": "[NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc.\n\n[ERROR] There already is an installed switch named tezos\nmake: *** [Makefile:200: build-deps] Error 1", "stderr_lines": ["[NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc.", "", "[ERROR] There already is an installed switch named tezos", "make: *** [Makefile:200: build-deps] Error 1"], "stdout": "\nUser configuration:\n  ~/.profile is already up-to-date.\n[tezos] Initialised\n\n<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>\n[tezos] no changes from git+https://gitlab.com/tezos/opam-repository.git#471779d7aff3d75c3d0b060e2143065d6b3002cd\nWrong Rust version, use your package manager or rustup:\n$ rustup toolchain install 1.39.0\n$ rustup default 1.39.0", "stdout_lines": ["", "User configuration:", "  ~/.profile is already up-to-date.", "[tezos] Initialised", "", "<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>", "[tezos] no changes from git+https://gitlab.com/tezos/opam-repository.git#471779d7aff3d75c3d0b060e2143065d6b3002cd", "Wrong Rust version, use your package manager or rustup:", "$ rustup toolchain install 1.39.0", "$ rustup default 1.39.0"]}

low RAM

@goodpen I have the same problem now on a fresh install, did you fix it? how?

no, new rasb 4 and same error
fatal: [<IP_ADDRESS>]: FAILED! => {"changed": true, "cmd": "cd /home/tezos/tezos\nopam init --bare --auto-setup\nopam switch create tezos ocaml-base-compiler.4.07.1\neval $(opam env)\nmake build-deps\nmake\n", "delta": "0:00:22.398681", "end": "2020-11-03 04:53:55.907942", "msg": "non-zero return code", "rc": 2, "start": "2020-11-03 04:53:33.509261", "stderr": "[NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc.\n\n[ERROR] There already is an installed switch named tezos\nmake: *** [Makefile:200: build-deps] Error 1\nmake: dune: Command not found\nmake: *** [Makefile:35: all] Error 127", "stderr_lines": ["[NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc.", "", "[ERROR] There already is an installed switch named tezos", "make: *** [Makefile:200: build-deps] Error 1", "make: dune: Command not found", "make: *** [Makefile:35: all] Error 127"], "stdout": "\nUser configuration:\n  ~/.profile is already up-to-date.\n[tezos] Initialised\n\n<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>\n[tezos] no changes from git+https://gitlab.com/tezos/opam-repository.git#471779d7aff3d75c3d0b060e2143065d6b3002cd\nWrong Rust version, use your package manager or rustup:\n$ rustup toolchain install 1.39.0\n$ rustup default 1.39.0", "stdout_lines": ["", "User configuration:", "  ~/.profile is already up-to-date.", "[tezos] Initialised", "", "<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>", "[tezos] no changes from git+https://gitlab.com/tezos/opam-repository.git#471779d7aff3d75c3d0b060e2143065d6b3002cd", "Wrong Rust version, use your package manager or rustup:", "$ rustup toolchain install 1.39.0", "$ rustup default 1.39.0"]}

I have opened an issue upstream:
https://gitlab.com/tezos/tezos/-/issues/979

Same issue here too. Thanks.

An alternative will be using raspberry ubuntu server 20.04 OS, Tezos building works with no errors.

@nicolasochem why tezos_version is set to "master" instead of "latest-release"?

@denver-s because ARM build is often broken on latest-release and fixed on master.
The signer code rarely changes so that's fine.

https://gitlab.com/tezos/tezos/-/merge_requests/2206 has been merged, it should fix this issue.

Worked using v8-release!

i try on v8-realese i have this error:
Non-64 bit architectures are not supported. - then i try run ./tezos-node

@goodpen thanks for reporting. The raspbian distribution is 32-bit only. @denver-s seems to have had success with ubuntu and v8.
There are 64 bit raspbian images as well, but I have not tried them:
https://downloads.raspberrypi.org/raspios_arm64/images/

uname -a gives me:
Linux pi 4.19.118-v7l+ #1311 SMP Mon Apr 27 14:26:42 BST 2020 armv7l GNU/Linux

uname -a gives me:
Linux pi 4.19.118-v7l+ #1311 SMP Mon Apr 27 14:26:42 BST 2020 armv7l GNU/Linux
armv7l is 32 bit processor.

try on ubuntu 20 i have this error
tezos-remote-signer-os/tezos-remote-signer/templates/etc/systemd/system/tezos-signer-forwarder.service", "state": "file", "uid": 1000}, "msg": "AnsibleUndefinedVariable: 'remote_signer_port' is undefined"}

remote_signer_port is undefined? What did you insert in https://github.com/midl-dev/tezos-remote-signer-os/blob/master/inventory?

<IP_ADDRESS>:22=
were is i can find < insert here remote signer forwarder port>

thanks, now i install https://downloads.raspberrypi.org/raspios_arm64/images/ and try fresh install, remove user pi not happened auto via ansible, had tried many times only deluser -r pi manualy help

with raspios_arm64/images/ and v8-release all works, only del user pi have problem

Can you post the log of the problem?

Can you post the log of the problem?

you mean about "delete pi user" ?

Yes, the ansible output when you try to setup the signer

i remove user pi manually, i cant reproduce right now. but log always be same i mean error : "pi use another process xxx" in next time i save log

i have question about this section

hosts: tezos-remote-signer
become: true
roles:

tezos-remote-signer
ansible-node-exporter
vars:
gke_signer_endpoint_hostname:
gke_signer_endpoint_port:
tezos_version: master

i use command  gcloud compute addresses list --project
i have tezos-baker-lb  <IP_ADDRESS>  EXTERNAL                    us-central1          IN_USE
i set <IP_ADDRESS> to gke_signer_endpoint_hostname
gke_signer_endpoint_port: 8888
i have error
ov 19 14:16:09 raspberrypi systemd[1]: Started Tezos Signer Forwarder Service, forwards tezos-signer to remote machine.
 I recommend k9s utility which makes it easy to see what's going on.

@nicolasochem

my cpu is critical
i dont change VM, 4 vCPUs | 16.00 GB

@goodpen you need to pass ssh host key as a terraform parameter.
Follow these instructions:
https://tezos-docs.midl.dev/deploy-remote-signer.html#ssh-endpoint-host-key

@nicolasochem
thanks it helps
but now somthing wrong with keyes. i have this error:
Dec  2 11:06:29 - 007-PsDELPH1.baking.endorsement: Error while injecting endorsement for delegate tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki :                                                             │
│ Dec  2 11:06:29 - 007-PsDELPH1.baking.endorsement:   Error:                                                                                │
│ Dec  2 11:06:29 - 007-PsDELPH1.baking.endorsement:     did not understand the public_key alias file /run/tezos/client/public_keys : Json_encoding.Cannot_destruct(_)
my variables
ariable "baking_nodes" {
type        = map
description = "Structured data related to baking, including public key and signer configuration"
default = {
mynode = {
mybaker = {
public_baking_key        = "edpkuTjNw4DRCDKb5fNQevMZfovz9qjUcSkFFSFxW9HmVX2tpZgosT"
public_baking_key_hash   = "tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki"
ledger_authorized_path   = "ledger://frugal-parrot-ancient-dodo/ed25519/0'/1'"
monitoring_slack_url     = "https://hooks.slack.com/services/xxxx/xxxx/xxxxxxxxxx"
monitoring_slack_channel = "#tezos-blockchain"
authorized_signers = [
{
ssh_pubkey           = "ssh-rsa AAAAB3Nz"
signer_port          = 8443
tunnel_endpoint_port = 58255
}
]
}
}
}
}
i trying to add key manual but it not help

This should be longer
ssh_pubkey = "ssh-rsa AAAAB3Nz"
should be the actual public key of your remote signer. Login as tezos to
your remote signer, then look at the content of ~/.ssh/id_rsa.pub. This
is what you should be giving as parameter. Once done, try ssh ing manually.
On Wed, Dec 2, 2020 at 3:35 AM Bey0nd<EMAIL_ADDRESS>wrote:

@nicolasochem https://github.com/nicolasochem
thanks it helps
but now somthing wrong with keyes. i have this error:
Dec 2 11:06:29 - 007-PsDELPH1.baking.endorsement: Error while injecting
endorsement for delegate tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki : │
│ Dec 2 11:06:29 - 007-PsDELPH1.baking.endorsement: Error: │
│ Dec 2 11:06:29 - 007-PsDELPH1.baking.endorsement: did not understand the
public_key alias file /run/tezos/client/public_keys :
Json_encoding.Cannot_destruct(_)
my variables
ariable "baking_nodes" {
type = map
description = "Structured data related to baking, including public key and
signer configuration"
default = {
mynode = {
mybaker = {
public_baking_key =
"edpkuTjNw4DRCDKb5fNQevMZfovz9qjUcSkFFSFxW9HmVX2tpZgosT"
public_baking_key_hash = "tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki"
ledger_authorized_path =
"ledger://frugal-parrot-ancient-dodo/ed25519/0'/1'"
monitoring_slack_url = "
https://hooks.slack.com/services/xxxx/xxxx/xxxxxxxxxx"
monitoring_slack_channel = "#tezos-blockchain"
authorized_signers = [
{
ssh_pubkey = "ssh-rsa AAAAB3Nz"
signer_port = 8443
tunnel_endpoint_port = 58255
}
]
}
}
}
}
i trying to add key manual but it not help
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/midl-dev/tezos-remote-signer-os/issues/2#issuecomment-737174782,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAWXC2VPPDCZM37GYFYUFLSSYQ7RANCNFSM4TDZOYHA
.

it is long, I just didn't insert it here, the problem is something else
On 2 Dec 2020, 19:05 +0100, Nicolas Ochem<EMAIL_ADDRESS>wrote:

This should be longer
ssh_pubkey = "ssh-rsa AAAAB3Nz"
should be the actual public key of your remote signer. Login as tezos to
your remote signer, then look at the content of ~/.ssh/id_rsa.pub. This
is what you should be giving as parameter. Once done, try ssh ing manually.
On Wed, Dec 2, 2020 at 3:35 AM Bey0nd<EMAIL_ADDRESS>wrote:

@nicolasochem https://github.com/nicolasochem
thanks it helps
but now somthing wrong with keyes. i have this error:
Dec 2 11:06:29 - 007-PsDELPH1.baking.endorsement: Error while injecting
endorsement for delegate tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki : │
│ Dec 2 11:06:29 - 007-PsDELPH1.baking.endorsement: Error: │
│ Dec 2 11:06:29 - 007-PsDELPH1.baking.endorsement: did not understand the
public_key alias file /run/tezos/client/public_keys :
Json_encoding.Cannot_destruct(_)
my variables
ariable "baking_nodes" {
type = map
description = "Structured data related to baking, including public key and
signer configuration"
default = {
mynode = {
mybaker = {
public_baking_key =
"edpkuTjNw4DRCDKb5fNQevMZfovz9qjUcSkFFSFxW9HmVX2tpZgosT"
public_baking_key_hash = "tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki"
ledger_authorized_path =
"ledger://frugal-parrot-ancient-dodo/ed25519/0'/1'"
monitoring_slack_url = "
https://hooks.slack.com/services/xxxx/xxxx/xxxxxxxxxx"
monitoring_slack_channel = "#tezos-blockchain"
authorized_signers = [
{
ssh_pubkey = "ssh-rsa AAAAB3Nz"
signer_port = 8443
tunnel_endpoint_port = 58255
}
]
}
}
}
}
i trying to add key manual but it not help
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/midl-dev/tezos-remote-signer-os/issues/2#issuecomment-737174782,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAWXC2VPPDCZM37GYFYUFLSSYQ7RANCNFSM4TDZOYHA
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

This work, I successfully connect from signer
ssh -p  signer@
On 2 Dec 2020, 19:05 +0100, Nicolas Ochem<EMAIL_ADDRESS>wrote:

This should be longer
ssh_pubkey = "ssh-rsa AAAAB3Nz"
should be the actual public key of your remote signer. Login as tezos to
your remote signer, then look at the content of ~/.ssh/id_rsa.pub. This
is what you should be giving as parameter. Once done, try ssh ing manually.
On Wed, Dec 2, 2020 at 3:35 AM Bey0nd<EMAIL_ADDRESS>wrote:

@nicolasochem https://github.com/nicolasochem
thanks it helps
but now somthing wrong with keyes. i have this error:
Dec 2 11:06:29 - 007-PsDELPH1.baking.endorsement: Error while injecting
endorsement for delegate tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki : │
│ Dec 2 11:06:29 - 007-PsDELPH1.baking.endorsement: Error: │
│ Dec 2 11:06:29 - 007-PsDELPH1.baking.endorsement: did not understand the
public_key alias file /run/tezos/client/public_keys :
Json_encoding.Cannot_destruct(_)
my variables
ariable "baking_nodes" {
type = map
description = "Structured data related to baking, including public key and
signer configuration"
default = {
mynode = {
mybaker = {
public_baking_key =
"edpkuTjNw4DRCDKb5fNQevMZfovz9qjUcSkFFSFxW9HmVX2tpZgosT"
public_baking_key_hash = "tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki"
ledger_authorized_path =
"ledger://frugal-parrot-ancient-dodo/ed25519/0'/1'"
monitoring_slack_url = "
https://hooks.slack.com/services/xxxx/xxxx/xxxxxxxxxx"
monitoring_slack_channel = "#tezos-blockchain"
authorized_signers = [
{
ssh_pubkey = "ssh-rsa AAAAB3Nz"
signer_port = 8443
tunnel_endpoint_port = 58255
}
]
}
}
}
}
i trying to add key manual but it not help
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/midl-dev/tezos-remote-signer-os/issues/2#issuecomment-737174782,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAWXC2VPPDCZM37GYFYUFLSSYQ7RANCNFSM4TDZOYHA
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

The content of the /run/tezos/client file is generated by a script:
https://github.com/midl-dev/tezos-on-gke/blob/master/docker/tezos-key-importer/tezosKeyImporter.py
I suppose there is a problem here.
Can you pull the logs of tezos-key-importer container in your baking pod?
It should dump the content of the public key file, so we can have a look.
On Wed, Dec 2, 2020 at 10:14 AM Bey0nd<EMAIL_ADDRESS>wrote:

This work, I successfully connect from signer
ssh -p  signer@
On 2 Dec 2020, 19:05 +0100, Nicolas Ochem<EMAIL_ADDRESS>wrote:

This should be longer
ssh_pubkey = "ssh-rsa AAAAB3Nz"
should be the actual public key of your remote signer. Login as tezos to
your remote signer, then look at the content of ~/.ssh/id_rsa.pub. This
is what you should be giving as parameter. Once done, try ssh ing
manually.
On Wed, Dec 2, 2020 at 3:35 AM Bey0nd<EMAIL_ADDRESS>wrote:

@nicolasochem https://github.com/nicolasochem
thanks it helps
but now somthing wrong with keyes. i have this error:
Dec 2 11:06:29 - 007-PsDELPH1.baking.endorsement: Error while injecting
endorsement for delegate tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki : │
│ Dec 2 11:06:29 - 007-PsDELPH1.baking.endorsement: Error: │
│ Dec 2 11:06:29 - 007-PsDELPH1.baking.endorsement: did not understand
the
public_key alias file /run/tezos/client/public_keys :
Json_encoding.Cannot_destruct(_)
my variables
ariable "baking_nodes" {
type = map
description = "Structured data related to baking, including public key
and
signer configuration"
default = {
mynode = {
mybaker = {
public_baking_key =
"edpkuTjNw4DRCDKb5fNQevMZfovz9qjUcSkFFSFxW9HmVX2tpZgosT"
public_baking_key_hash = "tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki"
ledger_authorized_path =
"ledger://frugal-parrot-ancient-dodo/ed25519/0'/1'"
monitoring_slack_url = "
https://hooks.slack.com/services/xxxx/xxxx/xxxxxxxxxx"
monitoring_slack_channel = "#tezos-blockchain"
authorized_signers = [
{
ssh_pubkey = "ssh-rsa AAAAB3Nz"
signer_port = 8443
tunnel_endpoint_port = 58255
}
]
}
}
}
}
i trying to add key manual but it not help
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
https://github.com/midl-dev/tezos-remote-signer-os/issues/2#issuecomment-737174782
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AAAWXC2VPPDCZM37GYFYUFLSSYQ7RANCNFSM4TDZOYHA

.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/midl-dev/tezos-remote-signer-os/issues/2#issuecomment-737405076,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAWXCZUIEZ5ZFOSWW7OTH3SSZ7XFANCNFSM4TDZOYHA
.

Ok, thanks for you quick answer, tomorrow I send all logs
On 2 Dec 2020, 19:21 +0100, Nicolas Ochem<EMAIL_ADDRESS>wrote:

The content of the /run/tezos/client file is generated by a script:
https://github.com/midl-dev/tezos-on-gke/blob/master/docker/tezos-key-importer/tezosKeyImporter.py
I suppose there is a problem here.
Can you pull the logs of tezos-key-importer container in your baking pod?
It should dump the content of the public key file, so we can have a look.
On Wed, Dec 2, 2020 at 10:14 AM Bey0nd<EMAIL_ADDRESS>wrote:

This work, I successfully connect from signer
ssh -p  signer@
On 2 Dec 2020, 19:05 +0100, Nicolas Ochem<EMAIL_ADDRESS>wrote:

This should be longer
ssh_pubkey = "ssh-rsa AAAAB3Nz"
should be the actual public key of your remote signer. Login as tezos to
your remote signer, then look at the content of ~/.ssh/id_rsa.pub. This
is what you should be giving as parameter. Once done, try ssh ing
manually.
On Wed, Dec 2, 2020 at 3:35 AM Bey0nd<EMAIL_ADDRESS>wrote:

@nicolasochem https://github.com/nicolasochem
thanks it helps
but now somthing wrong with keyes. i have this error:
Dec 2 11:06:29 - 007-PsDELPH1.baking.endorsement: Error while injecting
endorsement for delegate tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki : │
│ Dec 2 11:06:29 - 007-PsDELPH1.baking.endorsement: Error: │
│ Dec 2 11:06:29 - 007-PsDELPH1.baking.endorsement: did not understand
the
public_key alias file /run/tezos/client/public_keys :
Json_encoding.Cannot_destruct(_)
my variables
ariable "baking_nodes" {
type = map
description = "Structured data related to baking, including public key
and
signer configuration"
default = {
mynode = {
mybaker = {
public_baking_key =
"edpkuTjNw4DRCDKb5fNQevMZfovz9qjUcSkFFSFxW9HmVX2tpZgosT"
public_baking_key_hash = "tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki"
ledger_authorized_path =
"ledger://frugal-parrot-ancient-dodo/ed25519/0'/1'"
monitoring_slack_url = "
https://hooks.slack.com/services/xxxx/xxxx/xxxxxxxxxx"
monitoring_slack_channel = "#tezos-blockchain"
authorized_signers = [
{
ssh_pubkey = "ssh-rsa AAAAB3Nz"
signer_port = 8443
tunnel_endpoint_port = 58255
}
]
}
}
}
}
i trying to add key manual but it not help
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
https://github.com/midl-dev/tezos-remote-signer-os/issues/2#issuecomment-737174782
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AAAWXC2VPPDCZM37GYFYUFLSSYQ7RANCNFSM4TDZOYHA

.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/midl-dev/tezos-remote-signer-os/issues/2#issuecomment-737405076,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAWXCZUIEZ5ZFOSWW7OTH3SSZ7XFANCNFSM4TDZOYHA
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

today i rebuild all infra and i have this error
in baking and endorser
Dec  3 09:31:17 - 007-PsDELPH1.baking.endorsement: Error while injecting endorsement for delegate tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki :                                                                                │
│ Dec  3 09:31:17 - 007-PsDELPH1.baking.endorsement:   Error:                                                                                │
│ Dec  3 09:31:17 - 007-PsDELPH1.baking.endorsement:     Rpc request failed:                                                                                │
│ Dec  3 09:31:17 - 007-PsDELPH1.baking.endorsement:        - meth: GET                                                                                │
│ Dec  3 09:31:17 - 007-PsDELPH1.baking.endorsement:        - uri: http://xtz-tezos-remote-signer-loadbalancer-mybaker:8445/authorized_keys                                                                                │
│ Dec  3 09:31:17 - 007-PsDELPH1.baking.endorsement:        - error: Unexpected error 503:                                                                                │
│ Dec  3 09:31:17 - 007-PsDELPH1.baking.endorsement:                   "503 Service Unavailable\nNo server is available to handle this request.\n\n"                                                                     │
│ Dec  3 09:31:17 - 007-PsDELPH1.baking.endorsement:                                                                                │
│ Dec  3 09:31:17 - 007-PsDELPH1.baking.endorsement:
Logs(tezos/xtz-tezos-private-baking-node-mynode-85df7877dd-f88gp:tezos-key-importer)
Importing Tezos keys by writing into $CLIENT_DIR                                                                                │
│ public_keys***                                                                                │
│ [                                                                                │
│   {                                                                                │
│     "name": "k8s-baker-mybaker",                                                                                │
│     "value": {                                                                                │
│       "locator": "http://xtz-tezos-remote-signer-loadbalancer-mybaker:8445/tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki",                                                                                │
│       "key": "edpkuTjNw4DRCDKb5fNQevMZfovz9qjUcSkFFSFxW9HmVX2tpZgosT"                                                                                │
│     }                                                                                │
│   }                                                                                │
│ ]                                                                                │
│ **public_key_hashs                                                                                │
│ [                                                                                │
│   {                                                                                │
│     "name": "k8s-baker-mybaker",                                                                                │
│     "value": "tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki"                                                                                │
│   }                                                                                │
│ ]                                                                                │
│ stream closed                                                                                │
│
but problem not here i think. error in load-balancer
Logs(tezos/xtz-tezos-remote-signer-loadbalancer-mybaker-7788b7f5d6-plrzv:tezos-remote-signer-loadbalancer)

expr 51 + 1                                                                                │
│ + i=52                                                                                │
│ + '[' 52 -le 58 ]                                                                                │
│ + expr substr 'ledger://tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki/ed25519/0'"'"'/1' 52 1                                                                                │
│ + echo 1                                                                                │
│ + local 'c=1'                                                                                │
│ + printf 1                                                                                │
│ + expr 52 + 1                                                                                │
│ + i=53                                                                                │
│ + '[' 53 -le 58 ]                                                                                │
│ + expr substr 'ledger://tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki/ed25519/0'"'"'/1' 53 1                                                                                │
│ + echo 9                                                                                │
│ + local 'c=9'                                                                                │
│ + printf 9                                                                                │
│ + expr 53 + 1                                                                                │
│ + i=54                                                                                │
│ + '[' 54 -le 58 ]                                                                                │
│ + expr substr 'ledger://tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki/ed25519/0'"'"'/1' 54 1                                                                                │
│ + echo /                                                                                │
│ + local 'c=/'                                                                                │
│ + printf '%%%02X' ''"'"'/'                                                                                │
│ + expr 54 + 1                                                                                │
│ + i=55                                                                                │
│ + '[' 55 -le 58 ]                                                                                │
│ + expr substr 'ledger://tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki/ed25519/0'"'"'/1' 55 1                                                                                │
│ + echo 0                                                                                │
│ + local 'c=0'                                                                                │
│ + printf 0                                                                                │
│ + expr 55 + 1                                                                                │
│ + i=56                                                                                │
│ + '[' 56 -le 58 ]                                                                                │
│ + expr substr 'ledger://tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki/ed25519/0'"'"'/1' 56 1                                                                                │
│ + echo ''"'"                                                                                │
│ + local 'c='"'"                                                                                │
│ + printf '%%%02X' ''"''"                                                                                │
│ + expr 56 + 1                                                                                │
│ + i=57                                                                                │
│ + '[' 57 -le 58 ]                                                                                │
│ + expr substr 'ledger://tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki/ed25519/0'"'"'/1' 57 1                                                                                │
│ + echo /                                                                                │
│ + local 'c=/'                                                                                │
│ + printf '%%%02X' ''"'"'/'                                                                                │
│ + expr 57 + 1                                                                                │
│ + i=58                                                                                │
│ + '[' 58 -le 58 ]                                                                                │
│ + expr substr 'ledger://tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki/ed25519/0'"'"'/1' 58 1                                                                                │
│ + echo 1                                                                                │
│ + local 'c=1'                                                                                │
│ + printf 1                                                                                │
│ + expr 58 + 1                                                                                │
│ + i=59                                                                                │
│ + '[' 59 -le 58 ]                                                                                │
│ + LC_COLLATE=                                                                                │
│ + export 'LEDGER_AUTHORIZED_PATH_ENCODED=ledger%3A%2F%2Ftz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki%2Fed25519%2F0%27%2F1'                                                                                │
│ + envsubst                                                                                │
│ haproxy tezos signer load balancer is starting                                                                                │
│ + echo 'haproxy tezos signer load balancer is starting'                                                                                │
│ + set -- haproxy -W -db -f /usr/local/etc/haproxy/haproxy.cfg                                                                                │
│ + exec haproxy -W -db -f /usr/local/etc/haproxy/haproxy.cfg                                                                                │
│ [NOTICE] 337/085002 (1) : New worker #1 (184) forked                                                                                │
│ [WARNING] 337/085002 (184) : Server tezos-signer-backends/tezos-signer-1 is DOWN, reason: Layer4 connection problem, info: "Connection refused", check duration: 0ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in q │
│ [NOTICE] 337/085002 (184) : haproxy version is 2.3.2-d522db7                                                                                │
│ [ALERT] 337/085002 (184) : backend 'tezos-signer-backends' has no server available!

and i successfully connect from signer
ssh -p  signer@your gke ip

Yes, 503 is because there are no signers available.
There should be another container in the
*xtz-tezos-remote-signer-loadbalancer-mybaker-7788b7f5d6-plrzv *pod named
"tezos-remote-signer-forwarder".
Can you check the logs?
You should see successful ssh connections.
On Thu, Dec 3, 2020 at 1:39 AM Bey0nd<EMAIL_ADDRESS>wrote:

today i rebuild all infra and i have this error
in baking and endorser
Dec 3 09:31:17 - 007-PsDELPH1.baking.endorsement: Error while injecting
endorsement for delegate tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki : │
│ Dec 3 09:31:17 - 007-PsDELPH1.baking.endorsement: Error: │
│ Dec 3 09:31:17 - 007-PsDELPH1.baking.endorsement: Rpc request failed: │
│ Dec 3 09:31:17 - 007-PsDELPH1.baking.endorsement: - meth: GET │
│ Dec 3 09:31:17 - 007-PsDELPH1.baking.endorsement: - uri:
http://xtz-tezos-remote-signer-loadbalancer-mybaker:8445/authorized_keys │
│ Dec 3 09:31:17 - 007-PsDELPH1.baking.endorsement: - error: Unexpected
error 503: │
│ Dec 3 09:31:17 - 007-PsDELPH1.baking.endorsement: "
503 Service Unavailable\nNo server is available to handle this
request.\n\n" │
│ Dec 3 09:31:17 - 007-PsDELPH1.baking.endorsement: │
│ Dec 3 09:31:17 - 007-PsDELPH1.baking.endorsement:
Logs(tezos/xtz-tezos-private-baking-node-mynode-85df7877dd-f88gp:tezos-key-importer)
Importing Tezos keys by writing into $CLIENT_DIR │
│ public_keys*** │
│ [ │
│ { │
│ "name": "k8s-baker-mybaker", │
│ "value": { │
│ "locator": "
http://xtz-tezos-remote-signer-loadbalancer-mybaker:8445/tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki",
│
│ "key": "edpkuTjNw4DRCDKb5fNQevMZfovz9qjUcSkFFSFxW9HmVX2tpZgosT" │
│ } │
│ } │
│ ] │
│ **public_key_hashs │
│ [ │
│ { │
│ "name": "k8s-baker-mybaker", │
│ "value": "tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki" │
│ } │
│ ] │
│ stream closed │
│
but problem not here i think. error in load-balancer
Logs(tezos/xtz-tezos-remote-signer-loadbalancer-mybaker-7788b7f5d6-plrzv:tezos-remote-signer-loadbalancer)

expr 51 + 1 │
│ + i=52 │
│ + '[' 52 -le 58 ] │
│ + expr substr
'ledger://tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki/ed25519/0'"'"'/1' 52 1 │
│ + echo 1 │
│ + local 'c=1' │
│ + printf 1 │
│ + expr 52 + 1 │
│ + i=53 │
│ + '[' 53 -le 58 ] │
│ + expr substr
'ledger://tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki/ed25519/0'"'"'/1' 53 1 │
│ + echo 9 │
│ + local 'c=9' │
│ + printf 9 │
│ + expr 53 + 1 │
│ + i=54 │
│ + '[' 54 -le 58 ] │
│ + expr substr
'ledger://tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki/ed25519/0'"'"'/1' 54 1 │
│ + echo / │
│ + local 'c=/' │
│ + printf '%%%02X' ''"'"'/' │
│ + expr 54 + 1 │
│ + i=55 │
│ + '[' 55 -le 58 ] │
│ + expr substr
'ledger://tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki/ed25519/0'"'"'/1' 55 1 │
│ + echo 0 │
│ + local 'c=0' │
│ + printf 0 │
│ + expr 55 + 1 │
│ + i=56 │
│ + '[' 56 -le 58 ] │
│ + expr substr
'ledger://tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki/ed25519/0'"'"'/1' 56 1 │
│ + echo ''"'" │
│ + local 'c='"'" │
│ + printf '%%%02X' ''"''" │
│ + expr 56 + 1 │
│ + i=57 │
│ + '[' 57 -le 58 ] │
│ + expr substr
'ledger://tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki/ed25519/0'"'"'/1' 57 1 │
│ + echo / │
│ + local 'c=/' │
│ + printf '%%%02X' ''"'"'/' │
│ + expr 57 + 1 │
│ + i=58 │
│ + '[' 58 -le 58 ] │
│ + expr substr
'ledger://tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki/ed25519/0'"'"'/1' 58 1 │
│ + echo 1 │
│ + local 'c=1' │
│ + printf 1 │
│ + expr 58 + 1 │
│ + i=59 │
│ + '[' 59 -le 58 ] │
│ + LC_COLLATE= │
│ + export
'LEDGER_AUTHORIZED_PATH_ENCODED=ledger%3A%2F%2Ftz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki%2Fed25519%2F0%27%2F1'
│
│ + envsubst │
│ haproxy tezos signer load balancer is starting │
│ + echo 'haproxy tezos signer load balancer is starting' │
│ + set -- haproxy -W -db -f /usr/local/etc/haproxy/haproxy.cfg │
│ + exec haproxy -W -db -f /usr/local/etc/haproxy/haproxy.cfg │
│ [NOTICE] 337/085002 (1) : New worker #1
https://github.com/midl-dev/tezos-remote-signer-os/pull/1 (184)
forked │
│ [WARNING] 337/085002 (184) : Server
tezos-signer-backends/tezos-signer-1 is DOWN, reason: Layer4 connection
problem, info: "Connection refused", check duration: 0ms. 0 active and 0
backup servers left. 0 sessions active, 0 requeued, 0 remaining in q │
│ [NOTICE] 337/085002 (184) : haproxy version is 2.3.2-d522db7 │
│ [ALERT] 337/085002 (184) : backend 'tezos-signer-backends' has no
server available!

and i successfully connect from signer
ssh -p signer@your gke ip
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/midl-dev/tezos-remote-signer-os/issues/2#issuecomment-737788944,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAWXCZFAJ2G2SE5X34PX2DSS5MDVANCNFSM4TDZOYHA
.

I think I send this logs, ok I check it again and send all logs
On 3 Dec 2020, 18:34 +0100, Nicolas Ochem<EMAIL_ADDRESS>wrote:

Yes, 503 is because there are no signers available.
There should be another container in the
*xtz-tezos-remote-signer-loadbalancer-mybaker-7788b7f5d6-plrzv *pod named
"tezos-remote-signer-forwarder".
Can you check the logs?
You should see successful ssh connections.
On Thu, Dec 3, 2020 at 1:39 AM Bey0nd<EMAIL_ADDRESS>wrote:

today i rebuild all infra and i have this error
in baking and endorser
Dec 3 09:31:17 - 007-PsDELPH1.baking.endorsement: Error while injecting
endorsement for delegate tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki : │
│ Dec 3 09:31:17 - 007-PsDELPH1.baking.endorsement: Error: │
│ Dec 3 09:31:17 - 007-PsDELPH1.baking.endorsement: Rpc request failed: │
│ Dec 3 09:31:17 - 007-PsDELPH1.baking.endorsement: - meth: GET │
│ Dec 3 09:31:17 - 007-PsDELPH1.baking.endorsement: - uri:
http://xtz-tezos-remote-signer-loadbalancer-mybaker:8445/authorized_keys │
│ Dec 3 09:31:17 - 007-PsDELPH1.baking.endorsement: - error: Unexpected
error 503: │
│ Dec 3 09:31:17 - 007-PsDELPH1.baking.endorsement: "
503 Service Unavailable\nNo server is available to handle this
request.\n\n" │
│ Dec 3 09:31:17 - 007-PsDELPH1.baking.endorsement: │
│ Dec 3 09:31:17 - 007-PsDELPH1.baking.endorsement:
Logs(tezos/xtz-tezos-private-baking-node-mynode-85df7877dd-f88gp:tezos-key-importer)
Importing Tezos keys by writing into $CLIENT_DIR │
│ public_keys*** │
│ [ │
│ { │
│ "name": "k8s-baker-mybaker", │
│ "value": { │
│ "locator": "
http://xtz-tezos-remote-signer-loadbalancer-mybaker:8445/tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki",
│
│ "key": "edpkuTjNw4DRCDKb5fNQevMZfovz9qjUcSkFFSFxW9HmVX2tpZgosT" │
│ } │
│ } │
│ ] │
│ **public_key_hashs │
│ [ │
│ { │
│ "name": "k8s-baker-mybaker", │
│ "value": "tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki" │
│ } │
│ ] │
│ stream closed │
│
but problem not here i think. error in load-balancer
Logs(tezos/xtz-tezos-remote-signer-loadbalancer-mybaker-7788b7f5d6-plrzv:tezos-remote-signer-loadbalancer)

expr 51 + 1 │
│ + i=52 │
│ + '[' 52 -le 58 ] │
│ + expr substr
'ledger://tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki/ed25519/0'"'"'/1' 52 1 │
│ + echo 1 │
│ + local 'c=1' │
│ + printf 1 │
│ + expr 52 + 1 │
│ + i=53 │
│ + '[' 53 -le 58 ] │
│ + expr substr
'ledger://tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki/ed25519/0'"'"'/1' 53 1 │
│ + echo 9 │
│ + local 'c=9' │
│ + printf 9 │
│ + expr 53 + 1 │
│ + i=54 │
│ + '[' 54 -le 58 ] │
│ + expr substr
'ledger://tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki/ed25519/0'"'"'/1' 54 1 │
│ + echo / │
│ + local 'c=/' │
│ + printf '%%%02X' ''"'"'/' │
│ + expr 54 + 1 │
│ + i=55 │
│ + '[' 55 -le 58 ] │
│ + expr substr
'ledger://tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki/ed25519/0'"'"'/1' 55 1 │
│ + echo 0 │
│ + local 'c=0' │
│ + printf 0 │
│ + expr 55 + 1 │
│ + i=56 │
│ + '[' 56 -le 58 ] │
│ + expr substr
'ledger://tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki/ed25519/0'"'"'/1' 56 1 │
│ + echo ''"'" │
│ + local 'c='"'" │
│ + printf '%%%02X' ''"''" │
│ + expr 56 + 1 │
│ + i=57 │
│ + '[' 57 -le 58 ] │
│ + expr substr
'ledger://tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki/ed25519/0'"'"'/1' 57 1 │
│ + echo / │
│ + local 'c=/' │
│ + printf '%%%02X' ''"'"'/' │
│ + expr 57 + 1 │
│ + i=58 │
│ + '[' 58 -le 58 ] │
│ + expr substr
'ledger://tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki/ed25519/0'"'"'/1' 58 1 │
│ + echo 1 │
│ + local 'c=1' │
│ + printf 1 │
│ + expr 58 + 1 │
│ + i=59 │
│ + '[' 59 -le 58 ] │
│ + LC_COLLATE= │
│ + export
'LEDGER_AUTHORIZED_PATH_ENCODED=ledger%3A%2F%2Ftz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki%2Fed25519%2F0%27%2F1'
│
│ + envsubst │
│ haproxy tezos signer load balancer is starting │
│ + echo 'haproxy tezos signer load balancer is starting' │
│ + set -- haproxy -W -db -f /usr/local/etc/haproxy/haproxy.cfg │
│ + exec haproxy -W -db -f /usr/local/etc/haproxy/haproxy.cfg │
│ [NOTICE] 337/085002 (1) : New worker #1
https://github.com/midl-dev/tezos-remote-signer-os/pull/1 (184)
forked │
│ [WARNING] 337/085002 (184) : Server
tezos-signer-backends/tezos-signer-1 is DOWN, reason: Layer4 connection
problem, info: "Connection refused", check duration: 0ms. 0 active and 0
backup servers left. 0 sessions active, 0 requeued, 0 remaining in q │
│ [NOTICE] 337/085002 (184) : haproxy version is 2.3.2-d522db7 │
│ [ALERT] 337/085002 (184) : backend 'tezos-signer-backends' has no
server available!

and i successfully connect from signer
ssh -p signer@your gke ip
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/midl-dev/tezos-remote-signer-os/issues/2#issuecomment-737788944,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAWXCZFAJ2G2SE5X34PX2DSS5MDVANCNFSM4TDZOYHA
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

you are right, I see them now, my bad.
Can you do curl http://localhost:8443/authorized_keys on the signer?
You should get {} back.
If so, can you open a shell into the tezos-remote-signer-forwarder container and try the same command? curl http://localhost:8443/authorized_keys

Ok, I trying tomorrow and send you result
On 3 Dec 2020, 18:53 +0100, Nicolas Ochem<EMAIL_ADDRESS>wrote:

you are right, I see them now, my bad.
Can you do curl http://localhost:8443/authorized_keys on the signer?
You should get {} back.
If so, can you open a shell into the tezos-remote-signer-forwarder container and try the same command? curl http://localhost:8443/authorized_keys
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@nicolasochem just in case, I throw off the logs again
Logs(tezos/xtz-tezos-remote-signer-loadbalancer-mybaker-7788b7f5d6-jqdhs:tezos-remote-signer-forwarder-mybaker-0)
Server listening on <IP_ADDRESS> port 58255.                                                                                │
│ Server listening on :: port 58255.                                                                                │
│ Accepted publickey for signer from <IP_ADDRESS> port 23257 ssh2: RSA SHA256:osQbfcmJgRVRnlJvBh+jS///nY+pfLx6HYeQPmN/oac                                                                               │
│ Received disconnect from <IP_ADDRESS> port 23257:11: disconnected by user                                                                                │
│ Disconnected from user signer <IP_ADDRESS> port 23257                                                                                │
│ Accepted publickey for signer from <IP_ADDRESS> port 4864 ssh2: RSA SHA256:osQbfcmJgRVRnlJvBh+jS///nY+pfLx6HYeQPmN/oac
tezos@raspberrypi:~ $ curl localhost:8443/authorized_keys
{}
Container: tezos-remote-signer-forwarder-mybaker-0
curl http://localhost:8443/authorized_keys
{}

@goodpen do you still have an issue with this?

Yes I can’t solve it
On 29 Dec 2020, 06:51 +0100, Nicolas Ochem<EMAIL_ADDRESS>wrote:

@goodpen do you still have an issue with this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@nicolasochem one solution, for future upgrades, could be using the static binaries instead of OPAM (see https://gitlab.com/tezos/tezos/-/merge_requests/2314 or https://github.com/serokell/tezos-packaging).

It could be a mismatch of the ports?
The remote_signer_port as configured on Ansible should be the same port number that the signer_port value in authorized_signers here:
https://tezos-docs.midl.dev/deploy-remote-signer.html#configure-the-endpoint
Can you open a terminal into tezos-remote-signer-loadbalancer and issue the same command?
curl localhost:8443/authorized_keys
It should also return {}. If not, you have a port mismatch somewhere.

@goodpen did you try my suggestion above?

@goodpen did you try my suggestion above?

@goodpen did you try my suggestion above?

yes, Container: tezos-remote-signer-loadbalancer
curl localhost:8443/authorized_keys
{}

@goodpen did you try my suggestion above?

yes, Container: tezos-remote-signer-loadbalancer
curl localhost:8443/authorized_keys
{}

and can you check this command
tezos-client -A delphinet-tezos.giganode.io -S -P 443 register key legder_tezos as delegate
before it work, now i have this
tezos-client -A delphinet-tezos.giganode.io -S -P 443 register key legder_tezos as delegate
Warning:  the --addr --port --tls options are now deprecated; use --endpoint instead
Waiting for the node to be bootstrapped...

 --
Jan 13 08:30:51 raspberrypi gunicorn3[11748]: [2021-01-13 08:30:51 +0000] [11748] [INFO] Handling signal: term
Jan 13 08:30:51 raspberrypi gunicorn3[11748]: [2021-01-13 08:30:51 +0000] [11754] [INFO] Worker exiting (pid: 11754)
Jan 13 08:30:52 raspberrypi gunicorn3[11748]: [2021-01-13 08:30:52 +0000] [11748] [INFO] Shutting down: Master
Jan 13 08:30:52 raspberrypi systemd[1]: tezos-signer-wrapper.service: Succeeded.
Jan 13 08:30:52 raspberrypi systemd[1]: Stopped Tezos Signer Wrapper Service to add intrumented endpoints.
Jan 13 08:30:52 raspberrypi systemd[1]: Started Tezos Signer Wrapper Service to add intrumented endpoints.
Jan 13 08:30:53 raspberrypi gunicorn3[15959]: [2021-01-13 08:30:53 +0000] [15959] [INFO] Starting gunicorn 19.9.0
Jan 13 08:30:53 raspberrypi gunicorn3[15959]: [2021-01-13 08:30:53 +0000] [15959] [INFO] Listening at: http://<IP_ADDRESS>:8443 (15959)
Jan 13 08:30:53 raspberrypi gunicorn3[15959]: [2021-01-13 08:30:53 +0000] [15959] [INFO] Using worker: threads
Jan 13 08:30:53 raspberrypi gunicorn3[15959]: [2021-01-13 08:30:53 +0000] [15965] [INFO] Booting worker with pid: 15965
Jan 13 08:30:55 raspberrypi gunicorn3[15959]: ping: SO_BINDTODEVICE: No such device
Jan 13 08:31:10 raspberrypi gunicorn3[15959]: ping: SO_BINDTODEVICE: No such device
Jan 13 08:31:25 raspberrypi gunicorn3[15959]: ping: SO_BINDTODEVICE: No such device
Jan 13 08:31:40 raspberrypi gunicorn3[15959]: ping: SO_BINDTODEVICE: No such device

sudo journalctl --follow --unit=tezos-signer-wrapper.service
-- Logs begin at Tue 2020-12-29 15:17:01 GMT. --
Jan 13 08:30:51 raspberrypi gunicorn3[11748]: [2021-01-13 08:30:51 +0000] [11748] [INFO] Handling signal: term
Jan 13 08:30:51 raspberrypi gunicorn3[11748]: [2021-01-13 08:30:51 +0000] [11754] [INFO] Worker exiting (pid: 11754)
Jan 13 08:30:52 raspberrypi gunicorn3[11748]: [2021-01-13 08:30:52 +0000] [11748] [INFO] Shutting down: Master
Jan 13 08:30:52 raspberrypi systemd[1]: tezos-signer-wrapper.service: Succeeded.
Jan 13 08:30:52 raspberrypi systemd[1]: Stopped Tezos Signer Wrapper Service to add intrumented endpoints.
Jan 13 08:30:52 raspberrypi systemd[1]: Started Tezos Signer Wrapper Service to add intrumented endpoints.
Jan 13 08:30:53 raspberrypi gunicorn3[15959]: [2021-01-13 08:30:53 +0000] [15959] [INFO] Starting gunicorn 19.9.0
Jan 13 08:30:53 raspberrypi gunicorn3[15959]: [2021-01-13 08:30:53 +0000] [15959] [INFO] Listening at: http://<IP_ADDRESS>:8443 (15959)
Jan 13 08:30:53 raspberrypi gunicorn3[15959]: [2021-01-13 08:30:53 +0000] [15959] [INFO] Using worker: threads
Jan 13 08:30:53 raspberrypi gunicorn3[15959]: [2021-01-13 08:30:53 +0000] [15965] [INFO] Booting worker with pid: 15965
Jan 13 08:30:55 raspberrypi gunicorn3[15959]: ping: SO_BINDTODEVICE: No such device
Jan 13 08:31:10 raspberrypi gunicorn3[15959]: ping: SO_BINDTODEVICE: No such device
Jan 13 08:31:25 raspberrypi gunicorn3[15959]: ping: SO_BINDTODEVICE: No such device
Jan 13 08:31:40 raspberrypi gunicorn3[15959]: ping: SO_BINDTODEVICE: No such device

before all works i dont know what happened i dont change any config

before all works i dont know what happened i dont change any config

i dont know maybe problem on my side but i cant anymore register  as delegator or  activate account
tezos-client -A delphinet-tezos.giganode.io -S -P 443 register key legder_tezos as delegate
Warning:  the --addr --port --tls options are now deprecated; use --endpoint instead
Waiting for the node to be bootstrapped...
Current head: BKnvbsKjGeVc (timestamp: 2021-01-13T13:15:41.000-00:00, validation: 2021-01-13T13:15:43.507-00:00)
Current head: BLsh1996RA1a (timestamp: 2021-01-13T13:16:11.000-00:00, validation: 2021-01-13T13:16:12.014-00:00)
Current head: BL6StMqsLVQt (timestamp: 2021-01-13T13:16:41.000-00:00, validation: 2021-01-13T13:16:42.144-00:00)
Current head: BKsCxDYLHmew (timestamp: 2021-01-13T13:17:11.000-00:00, validation: 2021-01-13T13:17:11.993-00:00)
Current head: BKtE17xe1qfe (timestamp: 2021-01-13T13:17:41.000-00:00, validation: 2021-01-13T13:17:43.515-00:00)

i dont know maybe problem on my side but i cant anymore register  as delegator or  activate account
tezos-client -A delphinet-tezos.giganode.io -S -P 443 register key legder_tezos as delegate
Warning:  the --addr --port --tls options are now deprecated; use --endpoint instead
Waiting for the node to be bootstrapped...
Current head: BKnvbsKjGeVc (timestamp: 2021-01-13T13:15:41.000-00:00, validation: 2021-01-13T13:15:43.507-00:00)
Current head: BLsh1996RA1a (timestamp: 2021-01-13T13:16:11.000-00:00, validation: 2021-01-13T13:16:12.014-00:00)
Current head: BL6StMqsLVQt (timestamp: 2021-01-13T13:16:41.000-00:00, validation: 2021-01-13T13:16:42.144-00:00)
Current head: BKsCxDYLHmew (timestamp: 2021-01-13T13:17:11.000-00:00, validation: 2021-01-13T13:17:11.993-00:00)
Current head: BKtE17xe1qfe (timestamp: 2021-01-13T13:17:41.000-00:00, validation: 2021-01-13T13:17:43.515-00:00)

tezos node version 8.1

tezos node version 8.1

For the registration command error: maybe your Tezos client is 8.1 on the
remote signer but Giganode is still 7.5 for delphinet so it thinks the node
is not bootstrapped?
Maybe you can try from a different device? You can install Tezos client 7.5
on a laptop and plug the ledger to it.
On Wed, Jan 13, 2021, 5:22 AM Bey0nd<EMAIL_ADDRESS>wrote:

tezos node version 8.1
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/midl-dev/tezos-remote-signer-os/issues/2#issuecomment-759444732,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAWXC2BNIODP5WOEN7UOLTSZWNDDANCNFSM4TDZOYHA
.

For the registration command error: maybe your Tezos client is 8.1 on the
remote signer but Giganode is still 7.5 for delphinet so it thinks the node
is not bootstrapped?
Maybe you can try from a different device? You can install Tezos client 7.5
on a laptop and plug the ledger to it.
On Wed, Jan 13, 2021, 5:22 AM Bey0nd<EMAIL_ADDRESS>wrote:

tezos node version 8.1
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/midl-dev/tezos-remote-signer-os/issues/2#issuecomment-759444732,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAWXC2BNIODP5WOEN7UOLTSZWNDDANCNFSM4TDZOYHA
.

Yes I have 8.1 signer, I deprecated to 7.5 and try, thanks 🙏
On 13 Jan 2021, 14:50 +0100, Nicolas Ochem<EMAIL_ADDRESS>wrote:

For the registration command error: maybe your Tezos client is 8.1 on the
remote signer but Giganode is still 7.5 for delphinet so it thinks the node
is not bootstrapped?
Maybe you can try from a different device? You can install Tezos client 7.5
on a laptop and plug the ledger to it.
On Wed, Jan 13, 2021, 5:22 AM Bey0nd<EMAIL_ADDRESS>wrote:

tezos node version 8.1
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/midl-dev/tezos-remote-signer-os/issues/2#issuecomment-759444732,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAWXC2BNIODP5WOEN7UOLTSZWNDDANCNFSM4TDZOYHA
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Yes I have 8.1 signer, I deprecated to 7.5 and try, thanks 🙏
On 13 Jan 2021, 14:50 +0100, Nicolas Ochem<EMAIL_ADDRESS>wrote:

For the registration command error: maybe your Tezos client is 8.1 on the
remote signer but Giganode is still 7.5 for delphinet so it thinks the node
is not bootstrapped?
Maybe you can try from a different device? You can install Tezos client 7.5
on a laptop and plug the ledger to it.
On Wed, Jan 13, 2021, 5:22 AM Bey0nd<EMAIL_ADDRESS>wrote:

tezos node version 8.1
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/midl-dev/tezos-remote-signer-os/issues/2#issuecomment-759444732,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAWXC2BNIODP5WOEN7UOLTSZWNDDANCNFSM4TDZOYHA
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

tezos-node --version
ce365456 (2020-11-11 18:42:01 +0100) (7.5)
tezos-client -A delphinet-tezos.giganode.io -S -P 443 register key legder_tezos as delegate
Waiting for the node to be bootstrapped before injection...

Current head: BM3hoRHMvs1i (timestamp: 2021-01-13T15:16:57-00:00, validation: 2021-01-13T15:16:59-00:00)
Current head: BKqb2rPsGr99 (timestamp: 2021-01-13T15:17:27-00:00, validation: 2021-01-13T15:17:30-00:00)
Current head: BLc44JLy5MVu (timestamp: 2021-01-13T15:17:57-00:00, validation: 2021-01-13T15:17:58-00:00)
Current head: BLTdjGMxdWQS (timestamp: 2021-01-13T15:18:27-00:00, validation: 2021-01-13T15:18:29-00:00)
Current head: BKt8QZwgwXRB (timestamp: 2021-01-13T15:18:57-00:00, validation: 2021-01-13T15:18:59-00:00)
Current head: BMSVb4KUZ1wd (timestamp: 2021-01-13T15:19:27-00:00, validation: 2021-01-13T15:19:29-00:00)

i do
tezos-client -A delphinet-tezos.giganode.io -S -P 443 list connected ledgers
tezos-client import secret key ledger_tezos "ledger://frugal-parrot-ancient-dodo/ed25519/0'/1'"
tezos-client -A delphinet-tezos.giganode.io -S -P 443 setup ledger to bake for ledger_tezos
but i have this
an 14 10:23:52 raspberrypi tezos-signer[3206]: Jan 14 10:23:52 - client.signer: Request for public key tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki
Jan 14 10:23:52 raspberrypi tezos-signer[3206]: Jan 14 10:23:52 - client.signer: No public key found for hash tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki
Jan 14 10:24:07 raspberrypi tezos-signer[3206]: Jan 14 10:24:07 - client.signer: Request for public key tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki
Jan 14 10:24:07 raspberrypi tezos-signer[3206]: Jan 14 10:24:07 - client.signer: No public key found for hash tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki
Jan 14 10:24:22 raspberrypi tezos-signer[3206]: Jan 14 10:24:22 - client.signer: Request for public key tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki
Jan 14 10:24:22 raspberrypi tezos-signer[3206]: Jan 14 10:24:22 - client.signer: No public key found for hash tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki
Jan 14 10:24:38 raspberrypi tezos-signer[3206]: Jan 14 10:24:38 - client.signer: Request for public key tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki
Jan 14 10:24:38 raspberrypi tezos-signer[3206]: Jan 14 10:24:38 - client.signer: No public key found for hash tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki
Jan 14 10:24:53 raspberrypi tezos-signer[3206]: Jan 14 10:24:53 - client.signer: Request for public key tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki
Jan 14 10:24:53 raspberrypi tezos-signer[3206]: Jan 14 10:24:53 - client.signer: No public key found for hash tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki

i do
tezos-client -A delphinet-tezos.giganode.io -S -P 443 list connected ledgers
tezos-client import secret key ledger_tezos "ledger://frugal-parrot-ancient-dodo/ed25519/0'/1'"
tezos-client -A delphinet-tezos.giganode.io -S -P 443 setup ledger to bake for ledger_tezos
but i have this
an 14 10:23:52 raspberrypi tezos-signer[3206]: Jan 14 10:23:52 - client.signer: Request for public key tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki
Jan 14 10:23:52 raspberrypi tezos-signer[3206]: Jan 14 10:23:52 - client.signer: No public key found for hash tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki
Jan 14 10:24:07 raspberrypi tezos-signer[3206]: Jan 14 10:24:07 - client.signer: Request for public key tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki
Jan 14 10:24:07 raspberrypi tezos-signer[3206]: Jan 14 10:24:07 - client.signer: No public key found for hash tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki
Jan 14 10:24:22 raspberrypi tezos-signer[3206]: Jan 14 10:24:22 - client.signer: Request for public key tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki
Jan 14 10:24:22 raspberrypi tezos-signer[3206]: Jan 14 10:24:22 - client.signer: No public key found for hash tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki
Jan 14 10:24:38 raspberrypi tezos-signer[3206]: Jan 14 10:24:38 - client.signer: Request for public key tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki
Jan 14 10:24:38 raspberrypi tezos-signer[3206]: Jan 14 10:24:38 - client.signer: No public key found for hash tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki
Jan 14 10:24:53 raspberrypi tezos-signer[3206]: Jan 14 10:24:53 - client.signer: Request for public key tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki
Jan 14 10:24:53 raspberrypi tezos-signer[3206]: Jan 14 10:24:53 - client.signer: No public key found for hash tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki

tezos@raspberrypi:~/tezos $ tezos-signer list connected ledgers | grep "import secret key" | grep ed25519 | sed -e "s|0'/0'|2'/2'|"
tezos-client import secret key ledger_tezos "ledger://frugal-parrot-ancient-dodo/ed25519/0h/0h"

tezos@raspberrypi:~/tezos $ tezos-signer list connected ledgers | grep "import secret key" | grep ed25519 | sed -e "s|0'/0'|2'/2'|"
tezos-client import secret key ledger_tezos "ledger://frugal-parrot-ancient-dodo/ed25519/0h/0h"

after restart all 3 service it gone
an 14 11:10:00 raspberrypi tezos-signer[27840]: Jan 14 11:10:00 - client.signer: Accepting HTTP requests on port 8443
Jan 14 11:10:00 raspberrypi tezos-signer[27840]: Jan 14 11:10:00 - client.signer: Listening on address ::ffff:<IP_ADDRESS>

after restart all 3 service it gone
an 14 11:10:00 raspberrypi tezos-signer[27840]: Jan 14 11:10:00 - client.signer: Accepting HTTP requests on port 8443
Jan 14 11:10:00 raspberrypi tezos-signer[27840]: Jan 14 11:10:00 - client.signer: Listening on address ::ffff:<IP_ADDRESS>

my terrafrom varibles file
terraform {
required_version = ">= 0.13"
}
variable "org_id" {
type        = string
description = "Organization ID."
default     = "123456"
}
variable "billing_account" {
type        = string
description = "Billing account ID."
default     = "01C3FA-8E6592-7DD21D"
}
variable "project" {
type        = string
default     = "tezos-on-gke"
description = "Project ID where Terraform is authenticated to run to create additional projects. If provided, Terraform will great the GKE and Tezos cluster inside this project. If not given, Terraform will generate a new project."
}
variable "region" {
type        = string
default     = "us-central1"
description = "Region in which to create the cluster, or region where the cluster exists."
}
variable "node_locations" {
type        = list
default     = ["us-central1-b", "us-central1-f"]
description = "Zones in which to create the nodes"
}
variable "kubernetes_namespace" {
type        = string
description = "kubernetes namespace to deploy the resource into"
default     = "tezos"
}
variable "kubernetes_name_prefix" {
type        = string
description = "kubernetes name prefix to prepend to all resources (should be short, like xtz)"
default     = "xtz"
}
variable "kubernetes_endpoint" {
type        = string
description = "name of the kubernetes endpoint"
default     = ""
}
variable "cluster_ca_certificate" {
type        = string
description = "kubernetes cluster certificate"
default     = ""
}
variable "cluster_name" {
type        = string
description = "name of the kubernetes cluster"
default     = ""
}
variable "kubernetes_access_token" {
type        = string
description = "name of the kubernetes endpoint"
default     = ""
}
variable "terraform_service_account_credentials" {
type        = string
description = "path to terraform service account file, created following the instructions in https://cloud.google.com/community/tutorials/managing-gcp-projects-with-terraform"
default     = "~/.config/gcloud/tezos-on-gke-a6761766797e.json"
}
variable "kubernetes_pool_name" {
type        = string
description = "when kubernetes cluster has several node pools, specify which ones to deploy the baking setup into. only effective when deploying on an external cluster with terraform_no_cluster_create"
default     = "blockchain-pool"
}

Tezos node and baker options
------------------------------
variable "baking_nodes" {
type        = map
description = "Structured data related to baking, including public key and signer configuration"
default = {
mynode = {
mybaker = {
public_baking_key        = "edpkuTjNw4DRCDKb5fNQevMZfovz9qjUcSkFFSFxW9HmVX2tpZgosT"
public_baking_key_hash   = "tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki"
ledger_authorized_path   = "ledger://tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki/ed25519/0'/1'"
monitoring_slack_url     = "https://hooks.slack.com/services/xxxx/xxxx/xxxxxxxxxx"
monitoring_slack_channel = "#tezos-blockchain"
authorized_signers = [
{
ssh_pubkey           = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC6UQ0dM9fGsRdMRzCRC6KmPWhGbLRSV6M//Or4xG3/qKdq0HYxr/iSs27hXzsY46KK7C92YuB/pNmFQnfxkwygLULyGxLTFWokfddgVQB41bq91IBPvkKU43mAfG/wOmkes6VwQse3DhbumjOQF6vgsORaC7XXYXWzRXW2Nvp+fbRzGwjx2WjFOScJIcyL1bcYqFOWwii0PRyazhZ/2Q5n/KCkTs+3LaUOvAEzw32sKBoGF20doF0Zf3JxBs9DLZhJvuAnjh8C7YUPjuaB1ptUcduB1opdkR9T5cM2TCczwRfVuqobwcIFx/4Y3XtEXLhseYiVe5Z9P7AtADrMiqaSetCt90zDI+OyjzpxywWe1KXPCaDeU1ftn2jMLg5+WPORJJk2JKSy/YpHu8RKTk9U971b/fa9fNff2uD48RrsLwTNMFLYFPxjFNmsd9NR8Bua6v0QeTXYTT9wrdE2vvMD1lbH4WwNyryJ6eLGYkQZiisVoSzjy8tt9yKHt61ZNIPlZr1AzkRBl7Do6ztvrbZVLjdQEPl1H3O8MNk6BABOGyagM6Bhjf1frMeubpVKQIvKv75A/ZTN0g4OOA72RnYNMFhJ5jo0IGxxN8LQ1pRpaVcah/QWQNTXJoWw9uYmp58xisJlO6LseAfvE6ctruqn2qqHF5YfZlJiwJBZrmCIVQ=="
signer_port          = 8443
tunnel_endpoint_port = 58255
}
]
}
}
}
}
variable "tezos_network" {
type        = string
description = "The tezos network i.e. mainnet, carthagenet..."
default     = "delphinet"
}
variable "tezos_sentry_version" {
type        = string
description = "The tezos container version for sentry (public) nodes. Should be hard-coded to a version from https://hub.docker.com/r/tezos/tezos/tags. Not recommended to set to a rolling tag like 'mainnet', because it may break unexpectedly. Example: mainnet_06398944_20200211142914"
default     = "v7.5"
}
variable "tezos_private_version" {
type        = string
description = "The tezos container version for private node. Should be hard-coded to a version from https://hub.docker.com/r/tezos/tezos/tags. Not recommended to set to a rolling tag like 'mainnet', because it may break unexpectedly. Example: mainnet_06398944_20200211142914"
default     = "v7.5"
}
variable "signer_target_host_key" {
type        = string
description = "ssh host key for the ssh endpoint the remote signer connects to. if you leave it empty, sshd will generate it but it may change, cutting your access to the remote signers."
default     = ""
}
variable "protocols" {
type        = list
description = "The list of Tezos protocols currently in use, following the naming convention used in the baker/endorser binary names, for example 006-PsCARTHA. Baking and endorsing daemons will be spun up for every protocol provided in the list, which helps for seamless protocol updates"
default     = ["006-PsCARTHA", "007-PsDELPH1"]
validation {
condition     = length(sort(var.protocols)) == length(distinct(sort(var.protocols)))
error_message = "You must pass different protocols, passing the same protocol twice is not allowed as it introduces double-baking risk."
}
}
variable "snapshot_url" {
type        = string
description = "url of the snapshot of type rolling to download"
default     = "https://delphinet.xtz-shots.io/tezos-delphinet-359180.rolling"
}
variable "history_mode" {
type        = string
description = "history mode of the tezos nodes"
default     = "rolling"
}
variable "node_storage_size" {
type        = string
description = "storage size for the nodes, in gi"
default     = "15"
}
variable "rpc_public_hostname" {
type        = string
description = "if set, expose the rpc of the public node through a load balancer and create a certificate for the given hostname"
default     = ""
}
variable "rpc_subnet_whitelist" {
type        = list
description = "ip address whitelisting for the public rpc. defaults to open to everyone"
default     = ["<IP_ADDRESS>/0"]
}
variable "monitoring_slack_url" {
type        = string
default     = ""
description = "slack api url to send prometheus alerts to"
}
also i created terraform.tfvars
signer_target_host_key = <<-EOK
-----BEGIN OPENSSH PRIVATE KEY-----
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
prOHiRuJk9sAAAAAAQID
-----END OPENSSH PRIVATE KEY-----
EOK
tezos-remote-signer.yaml

hosts: tezos-remote-signer
become: true
roles:

tezos-remote-signer
ansible-node-exporter
vars:
gke_signer_endpoint_hostname: <IP_ADDRESS>
gke_signer_endpoint_port: 58255
tezos_version: delphinet

iventory.yaml
[tezos-remote-signer]
<IP_ADDRESS> remote_signer_port=8443
[tezos-remote-signer:vars]
#ansible_ssh_user=pi
#ansible_ssh_pass=1
ansible_ssh_user=tezos
ansible_sudo=yes
ansible_ssh_common_args='-o StrictHostKeyChecking=no  -o UserKnownHostsFile=/dev/null'
on signer
cat /home/tezos/.ssh/id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC6UQ0dM9fGsRdMRzCRC6KmPWhGbLRSV6M//Or4xG3/qKdq0HYxr/iSs27hXzsY46KK7C92YuB/pNmFQnfxkwygLULyGxLTFWokfddgVQB41bq91IBPvkKU43mAfG/wOmkes6VwQse3DhbumjOQF6vgsORaC7XXYXWzRXW2Nvp+fbRzGwjx2WjFOScJIcyL1bcYqFOWwii0PRyazhZ/2Q5n/KCkTs+3LaUOvAEzw32sKBoGF20doF0Zf3JxBs9DLZhJvuAnjh8C7YUPjuaB1ptUcduB1opdkR9T5cM2TCczwRfVuqobwcIFx/4Y3XtEXLhseYiVe5Z9P7AtADrMiqaSetCt90zDI+OyjzpxywWe1KXPCaDeU1ftn2jMLg5+WPORJJk2JKSy/YpHu8RKTk9U971b/fa9fNff2uD48RrsLwTNMFLYFPxjFNmsd9NR8Bua6v0QeTXYTT9wrdE2vvMD1lbH4WwNyryJ6eLGYkQZiisVoSzjy8tt9yKHt61ZNIPlZr1AzkRBl7Do6ztvrbZVLjdQEPl1H3O8MNk6BABOGyagM6Bhjf1frMeubpVKQIvKv75A/ZTN0g4OOA72RnYNMFhJ5jo0IGxxN8LQ1pRpaVcah/QWQNTXJoWw9uYmp58xisJlO6LseAfvE6ctruqn2qqHF5YfZlJiwJBZrmCIVQ==
curl localhost:8443/authorized_keys

500 Internal Server Error
Internal Server Error
The server encountered an internal error and was unable to complete your request.  Either the server is overloaded or there is an error in the application.
ssh  -p 58255<EMAIL_ADDRESS>Welcome to Alpine!
The Alpine Wiki contains a large amount of how-to guides and general
information about administrating Alpine systems.
See http://wiki.alpinelinux.org/.
You can setup the system with the command: setup-alpine
You may change this message by editing /etc/motd.
This account is not available
Connection to <IP_ADDRESS> closed.
Jan 14 11:10:00 raspberrypi tezos-signer[27840]: Jan 14 11:10:00 - client.signer: Accepting HTTP requests on port 8443
Jan 14 11:10:00 raspberrypi tezos-signer[27840]: Jan 14 11:10:00 - client.signer: Listening on address ::ffff:<IP_ADDRESS>

an 18 10:14:42 raspberrypi autossh[26780]: starting ssh (count 1)
Jan 18 10:14:42 raspberrypi autossh[26780]: ssh child pid is 26793
an 18 10:13:52 raspberrypi gunicorn3[27879]:     return request('get', url, params=params, **kwargs)
Jan 18 10:13:52 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
Jan 18 10:13:52 raspberrypi gunicorn3[27879]:     return session.request(method=method, url=url, **kwargs)
Jan 18 10:13:52 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
Jan 18 10:13:52 raspberrypi gunicorn3[27879]:     resp = self.send(prep, **send_kwargs)
Jan 18 10:13:52 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
Jan 18 10:13:52 raspberrypi gunicorn3[27879]:     r = adapter.send(request, **kwargs)
Jan 18 10:13:52 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
Jan 18 10:13:52 raspberrypi gunicorn3[27879]:     raise ConnectionError(e, request=request)
Jan 18 10:13:52 raspberrypi gunicorn3[27879]: requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8442): Max retries exceeded with url: /authorized_keys (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7ec08198>: Failed to establish a new connection: [Errno 111] Connection refused'))
Jan 18 10:18:48 raspberrypi gunicorn3[27879]: [2021-01-18 10:18:48,745] ERROR in app: Exception on /authorized_keys [GET]
Jan 18 10:18:48 raspberrypi gunicorn3[27879]: Traceback (most recent call last):
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     (self._dns_host, self.port), self.timeout, **extra_kw)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     raise err
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     sock.connect(sa)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]: ConnectionRefusedError: [Errno 111] Connection refused
Jan 18 10:18:48 raspberrypi gunicorn3[27879]: During handling of the above exception, another exception occurred:
Jan 18 10:18:48 raspberrypi gunicorn3[27879]: Traceback (most recent call last):
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     chunked=chunked)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     conn.request(method, url, **httplib_request_kw)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3.7/http/client.py", line 1244, in request
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     self._send_request(method, url, body, headers, encode_chunked)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     self.endheaders(body, encode_chunked=encode_chunked)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     self._send_output(message_body, encode_chunked=encode_chunked)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     self.send(msg)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3.7/http/client.py", line 966, in send
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     self.connect()
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     conn = self._new_conn()
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     self, "Failed to establish a new connection: %s" % e)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]: urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7ec08e48>: Failed to establish a new connection: [Errno 111] Connection refused
Jan 18 10:18:48 raspberrypi gunicorn3[27879]: During handling of the above exception, another exception occurred:
Jan 18 10:18:48 raspberrypi gunicorn3[27879]: Traceback (most recent call last):
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     timeout=timeout
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     _stacktrace=sys.exc_info()[2])
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     raise MaxRetryError(_pool, url, error or ResponseError(cause))
Jan 18 10:18:48 raspberrypi gunicorn3[27879]: urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8442): Max retries exceeded with url: /authorized_keys (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7ec08e48>: Failed to establish a new connection: [Errno 111] Connection refused'))
Jan 18 10:18:48 raspberrypi gunicorn3[27879]: During handling of the above exception, another exception occurred:
Jan 18 10:18:48 raspberrypi gunicorn3[27879]: Traceback (most recent call last):
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 2292, in wsgi_app
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     response = self.full_dispatch_request()
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1815, in full_dispatch_request
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     rv = self.handle_user_exception(e)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1718, in handle_user_exception
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     reraise(exc_type, exc_value, tb)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/flask/_compat.py", line 35, in reraise
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     raise value
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1813, in full_dispatch_request
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     rv = self.dispatch_request()
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1799, in dispatch_request
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     return self.view_functionsrule.endpoint
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/tezos-signer-wrapper/signerWrapper.py", line 115, in catch_all
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     signer_response = requests.get('http://localhost:%s/%s' % (LOCAL_SIGNER_PORT, path) )
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/api.py", line 75, in get
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     return request('get', url, params=params, **kwargs)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     return session.request(method=method, url=url, **kwargs)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     resp = self.send(prep, **send_kwargs)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     r = adapter.send(request, **kwargs)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     raise ConnectionError(e, request=request)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]: requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8442): Max retries exceeded with url: /authorized_keys (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7ec08e48>: Failed to establish a new connection: [Errno 111] Connection refused'))
Jan 18 10:23:33 raspberrypi gunicorn3[27879]: [2021-01-18 10:23:33,373] ERROR in app: Exception on /authorized_keys [GET]
Jan 18 10:23:33 raspberrypi gunicorn3[27879]: Traceback (most recent call last):
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     (self._dns_host, self.port), self.timeout, **extra_kw)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     raise err
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     sock.connect(sa)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]: ConnectionRefusedError: [Errno 111] Connection refused
Jan 18 10:23:33 raspberrypi gunicorn3[27879]: During handling of the above exception, another exception occurred:
Jan 18 10:23:33 raspberrypi gunicorn3[27879]: Traceback (most recent call last):
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     chunked=chunked)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     conn.request(method, url, **httplib_request_kw)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3.7/http/client.py", line 1244, in request
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     self._send_request(method, url, body, headers, encode_chunked)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     self.endheaders(body, encode_chunked=encode_chunked)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     self._send_output(message_body, encode_chunked=encode_chunked)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     self.send(msg)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3.7/http/client.py", line 966, in send
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     self.connect()
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     conn = self._new_conn()
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     self, "Failed to establish a new connection: %s" % e)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]: urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7ec081d0>: Failed to establish a new connection: [Errno 111] Connection refused
Jan 18 10:23:33 raspberrypi gunicorn3[27879]: During handling of the above exception, another exception occurred:
Jan 18 10:23:33 raspberrypi gunicorn3[27879]: Traceback (most recent call last):
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     timeout=timeout
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     _stacktrace=sys.exc_info()[2])
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     raise MaxRetryError(_pool, url, error or ResponseError(cause))
Jan 18 10:23:33 raspberrypi gunicorn3[27879]: urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8442): Max retries exceeded with url: /authorized_keys (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7ec081d0>: Failed to establish a new connection: [Errno 111] Connection refused'))
Jan 18 10:23:33 raspberrypi gunicorn3[27879]: During handling of the above exception, another exception occurred:
Jan 18 10:23:33 raspberrypi gunicorn3[27879]: Traceback (most recent call last):
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 2292, in wsgi_app
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     response = self.full_dispatch_request()
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1815, in full_dispatch_request
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     rv = self.handle_user_exception(e)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1718, in handle_user_exception
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     reraise(exc_type, exc_value, tb)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/flask/_compat.py", line 35, in reraise
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     raise value
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1813, in full_dispatch_request
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     rv = self.dispatch_request()
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1799, in dispatch_request
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     return self.view_functionsrule.endpoint
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/tezos-signer-wrapper/signerWrapper.py", line 115, in catch_all
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     signer_response = requests.get('http://localhost:%s/%s' % (LOCAL_SIGNER_PORT, path) )
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/api.py", line 75, in get
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     return request('get', url, params=params, **kwargs)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     return session.request(method=method, url=url, **kwargs)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     resp = self.send(prep, **send_kwargs)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     r = adapter.send(request, **kwargs)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     raise ConnectionError(e, request=request)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]: requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8442): Max retries exceeded with url: /authorized_keys (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7ec081d0>: Failed to establish a new connection: [Errno 111] Connection refused'))
on gke
Container: tezos-remote-signer-loadbalancer
curl localhost:8443/authorized_keys

500 Internal Server Error
Internal Server Error
The server encountered an internal error and was unable to complete your request.  Either the server is overloaded or there is an error in the application.
i dont know were is my mistake

my terrafrom varibles file
terraform {
required_version = ">= 0.13"
}
variable "org_id" {
type        = string
description = "Organization ID."
default     = "123456"
}
variable "billing_account" {
type        = string
description = "Billing account ID."
default     = "01C3FA-8E6592-7DD21D"
}
variable "project" {
type        = string
default     = "tezos-on-gke"
description = "Project ID where Terraform is authenticated to run to create additional projects. If provided, Terraform will great the GKE and Tezos cluster inside this project. If not given, Terraform will generate a new project."
}
variable "region" {
type        = string
default     = "us-central1"
description = "Region in which to create the cluster, or region where the cluster exists."
}
variable "node_locations" {
type        = list
default     = ["us-central1-b", "us-central1-f"]
description = "Zones in which to create the nodes"
}
variable "kubernetes_namespace" {
type        = string
description = "kubernetes namespace to deploy the resource into"
default     = "tezos"
}
variable "kubernetes_name_prefix" {
type        = string
description = "kubernetes name prefix to prepend to all resources (should be short, like xtz)"
default     = "xtz"
}
variable "kubernetes_endpoint" {
type        = string
description = "name of the kubernetes endpoint"
default     = ""
}
variable "cluster_ca_certificate" {
type        = string
description = "kubernetes cluster certificate"
default     = ""
}
variable "cluster_name" {
type        = string
description = "name of the kubernetes cluster"
default     = ""
}
variable "kubernetes_access_token" {
type        = string
description = "name of the kubernetes endpoint"
default     = ""
}
variable "terraform_service_account_credentials" {
type        = string
description = "path to terraform service account file, created following the instructions in https://cloud.google.com/community/tutorials/managing-gcp-projects-with-terraform"
default     = "~/.config/gcloud/tezos-on-gke-a6761766797e.json"
}
variable "kubernetes_pool_name" {
type        = string
description = "when kubernetes cluster has several node pools, specify which ones to deploy the baking setup into. only effective when deploying on an external cluster with terraform_no_cluster_create"
default     = "blockchain-pool"
}

Tezos node and baker options
------------------------------
variable "baking_nodes" {
type        = map
description = "Structured data related to baking, including public key and signer configuration"
default = {
mynode = {
mybaker = {
public_baking_key        = "edpkuTjNw4DRCDKb5fNQevMZfovz9qjUcSkFFSFxW9HmVX2tpZgosT"
public_baking_key_hash   = "tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki"
ledger_authorized_path   = "ledger://tz1fnXpmH1RTFFa7XFhoxahXrtq6sP47Zjki/ed25519/0'/1'"
monitoring_slack_url     = "https://hooks.slack.com/services/xxxx/xxxx/xxxxxxxxxx"
monitoring_slack_channel = "#tezos-blockchain"
authorized_signers = [
{
ssh_pubkey           = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC6UQ0dM9fGsRdMRzCRC6KmPWhGbLRSV6M//Or4xG3/qKdq0HYxr/iSs27hXzsY46KK7C92YuB/pNmFQnfxkwygLULyGxLTFWokfddgVQB41bq91IBPvkKU43mAfG/wOmkes6VwQse3DhbumjOQF6vgsORaC7XXYXWzRXW2Nvp+fbRzGwjx2WjFOScJIcyL1bcYqFOWwii0PRyazhZ/2Q5n/KCkTs+3LaUOvAEzw32sKBoGF20doF0Zf3JxBs9DLZhJvuAnjh8C7YUPjuaB1ptUcduB1opdkR9T5cM2TCczwRfVuqobwcIFx/4Y3XtEXLhseYiVe5Z9P7AtADrMiqaSetCt90zDI+OyjzpxywWe1KXPCaDeU1ftn2jMLg5+WPORJJk2JKSy/YpHu8RKTk9U971b/fa9fNff2uD48RrsLwTNMFLYFPxjFNmsd9NR8Bua6v0QeTXYTT9wrdE2vvMD1lbH4WwNyryJ6eLGYkQZiisVoSzjy8tt9yKHt61ZNIPlZr1AzkRBl7Do6ztvrbZVLjdQEPl1H3O8MNk6BABOGyagM6Bhjf1frMeubpVKQIvKv75A/ZTN0g4OOA72RnYNMFhJ5jo0IGxxN8LQ1pRpaVcah/QWQNTXJoWw9uYmp58xisJlO6LseAfvE6ctruqn2qqHF5YfZlJiwJBZrmCIVQ=="
signer_port          = 8443
tunnel_endpoint_port = 58255
}
]
}
}
}
}
variable "tezos_network" {
type        = string
description = "The tezos network i.e. mainnet, carthagenet..."
default     = "delphinet"
}
variable "tezos_sentry_version" {
type        = string
description = "The tezos container version for sentry (public) nodes. Should be hard-coded to a version from https://hub.docker.com/r/tezos/tezos/tags. Not recommended to set to a rolling tag like 'mainnet', because it may break unexpectedly. Example: mainnet_06398944_20200211142914"
default     = "v7.5"
}
variable "tezos_private_version" {
type        = string
description = "The tezos container version for private node. Should be hard-coded to a version from https://hub.docker.com/r/tezos/tezos/tags. Not recommended to set to a rolling tag like 'mainnet', because it may break unexpectedly. Example: mainnet_06398944_20200211142914"
default     = "v7.5"
}
variable "signer_target_host_key" {
type        = string
description = "ssh host key for the ssh endpoint the remote signer connects to. if you leave it empty, sshd will generate it but it may change, cutting your access to the remote signers."
default     = ""
}
variable "protocols" {
type        = list
description = "The list of Tezos protocols currently in use, following the naming convention used in the baker/endorser binary names, for example 006-PsCARTHA. Baking and endorsing daemons will be spun up for every protocol provided in the list, which helps for seamless protocol updates"
default     = ["006-PsCARTHA", "007-PsDELPH1"]
validation {
condition     = length(sort(var.protocols)) == length(distinct(sort(var.protocols)))
error_message = "You must pass different protocols, passing the same protocol twice is not allowed as it introduces double-baking risk."
}
}
variable "snapshot_url" {
type        = string
description = "url of the snapshot of type rolling to download"
default     = "https://delphinet.xtz-shots.io/tezos-delphinet-359180.rolling"
}
variable "history_mode" {
type        = string
description = "history mode of the tezos nodes"
default     = "rolling"
}
variable "node_storage_size" {
type        = string
description = "storage size for the nodes, in gi"
default     = "15"
}
variable "rpc_public_hostname" {
type        = string
description = "if set, expose the rpc of the public node through a load balancer and create a certificate for the given hostname"
default     = ""
}
variable "rpc_subnet_whitelist" {
type        = list
description = "ip address whitelisting for the public rpc. defaults to open to everyone"
default     = ["<IP_ADDRESS>/0"]
}
variable "monitoring_slack_url" {
type        = string
default     = ""
description = "slack api url to send prometheus alerts to"
}
also i created terraform.tfvars
signer_target_host_key = <<-EOK
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAACFwAAAAdzc2gtcn
NhAAAAAwEAAQAAAgEAulENHTPXxrEXTEcwkQuipj1oRmy0UlejP/zq+MRt/6inatB2Ma/4
krNu4V87GOOiiuwvdmLgf6TZhUJ38ZMMoC1C8hsS0xVqJH3XYFUAeNW6vdSAT75ClON5gH
xv8DppHrOlcELHtw4W7pozkBer4LDkWgu112F1s0V1tjb6fn20cxsI8dloxTknCSHMi9W3
GKhTlsIotD0cms4Wf9kOZ/ygpE7Pty2lDrwBM8N9rCgaBhdtHaBdGX9ycQbPQy2YSb7gJ4
4fAu2FD47mgdabVHHbgdaKXZEfU+XDNkwnM8EX1bqqG8HCBcf+GN17RFy4bHmIlXuWfT+w
LQA6zIqmknrQrfdMwyPjso86ccsFntSlzwmg3lNX7Z9ozC4OfljzkSSZNiSksv2KR7vESk
5PVPe9W/32vXzX39rg+PEa7C8EzTBS2BT8YxTZrHfTUfAbmur9EHk12E0/cK3RNr7zA9ZW
x+FsDcq8ienixmJEGYorFaEs48vLbfcih7etWTSD5Wa9QM5EQZew6Os7b622VS43UBD5dR
9zvDDZOgQAThsmoDOgYY39X6zHrm6VSkCLyr++QP2UzdIODjgO9kZ2DTBYSeY6NCBscTfC
0NaUaWlXGof0FkDU1yaFsPbmJqefMYrCZTui7HgH7xOnLa7qp9qqhxeWH2ZSYsCQWa5giF
UAAAc46yhwVesocFUAAAAHc3NoLXJzYQAAAgEAulENHTPXxrEXTEcwkQuipj1oRmy0Ulej
P/zq+MRt/6inatB2Ma/4krNu4V87GOOiiuwvdmLgf6TZhUJ38ZMMoC1C8hsS0xVqJH3XYF
UAeNW6vdSAT75ClON5gHxv8DppHrOlcELHtw4W7pozkBer4LDkWgu112F1s0V1tjb6fn20
cxsI8dloxTknCSHMi9W3GKhTlsIotD0cms4Wf9kOZ/ygpE7Pty2lDrwBM8N9rCgaBhdtHa
BdGX9ycQbPQy2YSb7gJ44fAu2FD47mgdabVHHbgdaKXZEfU+XDNkwnM8EX1bqqG8HCBcf+
GN17RFy4bHmIlXuWfT+wLQA6zIqmknrQrfdMwyPjso86ccsFntSlzwmg3lNX7Z9ozC4Ofl
jzkSSZNiSksv2KR7vESk5PVPe9W/32vXzX39rg+PEa7C8EzTBS2BT8YxTZrHfTUfAbmur9
EHk12E0/cK3RNr7zA9ZWx+FsDcq8ienixmJEGYorFaEs48vLbfcih7etWTSD5Wa9QM5EQZ
ew6Os7b622VS43UBD5dR9zvDDZOgQAThsmoDOgYY39X6zHrm6VSkCLyr++QP2UzdIODjgO
9kZ2DTBYSeY6NCBscTfC0NaUaWlXGof0FkDU1yaFsPbmJqefMYrCZTui7HgH7xOnLa7qp9
qqhxeWH2ZSYsCQWa5giFUAAAADAQABAAACADqQb4bWXOTflWsslV+CQMXwV26LjMK1OWNL
pLA9TjYmVTmF/SDxJzk1nYzJ2lGge98fDmwv+FEnCBiTJBCTIEzY7UocqHYhLRP7Wk+1aE
iTJfe1a/+k1ljmh7KTarwgIBq+bSo0U4J+s0acwchxKF2gPKbxN19UCyMmmjGEZoiMCsSD
ovQiWoRjyplcPmdV7g+aGWwx64l8DBm83eWh3J1jEzuSakgx2Mgg4F/c+wu6LzPq+Slu1t
TE8rwEX/HFyzCjBuJoEedhsYmKaXo2cuzAPTc6sJNoomhEuG/A0DG8aDmOSxoedVZL3tsC
A1Uhr/ao3P3fsxX7hu0ePV091815jbQwp+GNMD6u7Z1c6UIx5jCz7gtxGDo8zSq07oALTk
q+yFYXZXjvpmAwiJFVuZzbKNhIs8m9GkpZayf8mYCcDW1byDa1OeYL1irNAuCBfHMkIC7t
+s63JKCKUxzCRq9iZueqcKJGUvrtDI2PcpSxxTZ+FMkbXgwQ81cOnhG2JMflUAi4ytKOie
oAsR0URYOV0c6g8eqbEaPkqnVNhqLE4JsKikZScYRfOnYHy8JI+W39zZOxTZGE1cdmSGmd
Hlxuvrl2ou6JcNnDOYPjQ4oIwtXN6ZWkOe57hiBps2BbdCS3IkBShq/ztbvg6qWeagFp1F
yOrh59DQhvoNbW2q6hAAABAAMbFn/Qaf4NpevjPKC8a9UHZ4njJsX0FtbrRl7bV0rKBUJ9
VpZYDvtRwArX3NizxmeqCsy68xKy4dYKMHGJ1kjeZwaUU7GaY1qkZj4UFP1BElyGwAZE0+
DThltEKyr2WpmD5AEthm9pI8oRhFkDRtdGfnXy1oqc4pOQolpsyEcWhczav9sDoHwUdvNi
Vi72L3g/xk7t5gfN12EAA+YwbBpGu07mB3xzC4T/osQSEY/i8XM+5mHlgBeXd/O842jz14
6jqVwxyJC9V8qdFBGHeAdBieZ7vjsVypF+KScDXcBYu5Oznr6Si+HlwRMXDtAECiMMy7gl
WbG763rMQZ8oYmwAAAEBAOtzlPsAxvu/mxvjIhOFWiLuKvCs5+CtAquIMiZnTZgS0wbCOE
fAZRfTpj8uQhjd1kSlXDhsKiiVtaakxLMaDYaIJA3rX4b5di/x7FoGA2mVd54kO/xpl5d9
FgdWhbIyQGBE5t/bQh8q3RGDrYQC+pVDnP4amj/TpkShlCeqk6gY4U0MUswClhhL0Z9q/B
aXUU2KpE7K8dN2mN+hyRLlfXoHHhAsq4Gt+ThycX/i1/WNxjHY5SxoFo397JnGdLSh69oA
js7Mfn3uG/tqemLa/NtTqqrGbb9Bm0hfTuCyQRZtDwzyEmdUhmkA1CEQ3Ov2PuYx/DWFPD
4zXta8lKDwI48AAAEBAMqTtLGVbVSO6tKHkzCb0W4b0kzdTaXSccy22jo92HLBpjF8dg/Z
Q8rhFYU52U4P7y5M8iHZe46qdeoAVlhuEJiaxEKlRxOe+Fr1++0dxC56WWBKoASUnrwUk4
e2wEsLgTxUXQ/6OAxWG8t0JCbtQrFgQpzEdBh0jliJzKp92K8It2xoR6xQ1tOlNWMjfik7
jLvsJLcju05r5uR5bg8UctXFvEI0kgAVdF0VcjEvY2vA/QISE/PBm7KGSTxCitidO4UhDH
KjoQBAdJnbLqAryafNLEA0rDY41GfioYRo3FX8i+7Dzb/Wq1KpD7ruhFiVK5EUv1ZzWIeE
prOHiRuJk9sAAAAAAQID
-----END OPENSSH PRIVATE KEY-----
EOK
tezos-remote-signer.yaml

hosts: tezos-remote-signer
become: true
roles:

tezos-remote-signer
ansible-node-exporter
vars:
gke_signer_endpoint_hostname: <IP_ADDRESS>
gke_signer_endpoint_port: 58255
tezos_version: delphinet

iventory.yaml
[tezos-remote-signer]
<IP_ADDRESS> remote_signer_port=8443
[tezos-remote-signer:vars]
#ansible_ssh_user=pi
#ansible_ssh_pass=1
ansible_ssh_user=tezos
ansible_sudo=yes
ansible_ssh_common_args='-o StrictHostKeyChecking=no  -o UserKnownHostsFile=/dev/null'
on signer
cat /home/tezos/.ssh/id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC6UQ0dM9fGsRdMRzCRC6KmPWhGbLRSV6M//Or4xG3/qKdq0HYxr/iSs27hXzsY46KK7C92YuB/pNmFQnfxkwygLULyGxLTFWokfddgVQB41bq91IBPvkKU43mAfG/wOmkes6VwQse3DhbumjOQF6vgsORaC7XXYXWzRXW2Nvp+fbRzGwjx2WjFOScJIcyL1bcYqFOWwii0PRyazhZ/2Q5n/KCkTs+3LaUOvAEzw32sKBoGF20doF0Zf3JxBs9DLZhJvuAnjh8C7YUPjuaB1ptUcduB1opdkR9T5cM2TCczwRfVuqobwcIFx/4Y3XtEXLhseYiVe5Z9P7AtADrMiqaSetCt90zDI+OyjzpxywWe1KXPCaDeU1ftn2jMLg5+WPORJJk2JKSy/YpHu8RKTk9U971b/fa9fNff2uD48RrsLwTNMFLYFPxjFNmsd9NR8Bua6v0QeTXYTT9wrdE2vvMD1lbH4WwNyryJ6eLGYkQZiisVoSzjy8tt9yKHt61ZNIPlZr1AzkRBl7Do6ztvrbZVLjdQEPl1H3O8MNk6BABOGyagM6Bhjf1frMeubpVKQIvKv75A/ZTN0g4OOA72RnYNMFhJ5jo0IGxxN8LQ1pRpaVcah/QWQNTXJoWw9uYmp58xisJlO6LseAfvE6ctruqn2qqHF5YfZlJiwJBZrmCIVQ==
curl localhost:8443/authorized_keys

500 Internal Server Error
Internal Server Error
The server encountered an internal error and was unable to complete your request.  Either the server is overloaded or there is an error in the application.
ssh  -p 58255<EMAIL_ADDRESS>Welcome to Alpine!
The Alpine Wiki contains a large amount of how-to guides and general
information about administrating Alpine systems.
See http://wiki.alpinelinux.org/.
You can setup the system with the command: setup-alpine
You may change this message by editing /etc/motd.
This account is not available
Connection to <IP_ADDRESS> closed.
Jan 14 11:10:00 raspberrypi tezos-signer[27840]: Jan 14 11:10:00 - client.signer: Accepting HTTP requests on port 8443
Jan 14 11:10:00 raspberrypi tezos-signer[27840]: Jan 14 11:10:00 - client.signer: Listening on address ::ffff:<IP_ADDRESS>

an 18 10:14:42 raspberrypi autossh[26780]: starting ssh (count 1)
Jan 18 10:14:42 raspberrypi autossh[26780]: ssh child pid is 26793
an 18 10:13:52 raspberrypi gunicorn3[27879]:     return request('get', url, params=params, **kwargs)
Jan 18 10:13:52 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
Jan 18 10:13:52 raspberrypi gunicorn3[27879]:     return session.request(method=method, url=url, **kwargs)
Jan 18 10:13:52 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
Jan 18 10:13:52 raspberrypi gunicorn3[27879]:     resp = self.send(prep, **send_kwargs)
Jan 18 10:13:52 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
Jan 18 10:13:52 raspberrypi gunicorn3[27879]:     r = adapter.send(request, **kwargs)
Jan 18 10:13:52 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
Jan 18 10:13:52 raspberrypi gunicorn3[27879]:     raise ConnectionError(e, request=request)
Jan 18 10:13:52 raspberrypi gunicorn3[27879]: requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8442): Max retries exceeded with url: /authorized_keys (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7ec08198>: Failed to establish a new connection: [Errno 111] Connection refused'))
Jan 18 10:18:48 raspberrypi gunicorn3[27879]: [2021-01-18 10:18:48,745] ERROR in app: Exception on /authorized_keys [GET]
Jan 18 10:18:48 raspberrypi gunicorn3[27879]: Traceback (most recent call last):
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     (self._dns_host, self.port), self.timeout, **extra_kw)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     raise err
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     sock.connect(sa)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]: ConnectionRefusedError: [Errno 111] Connection refused
Jan 18 10:18:48 raspberrypi gunicorn3[27879]: During handling of the above exception, another exception occurred:
Jan 18 10:18:48 raspberrypi gunicorn3[27879]: Traceback (most recent call last):
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     chunked=chunked)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     conn.request(method, url, **httplib_request_kw)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3.7/http/client.py", line 1244, in request
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     self._send_request(method, url, body, headers, encode_chunked)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     self.endheaders(body, encode_chunked=encode_chunked)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     self._send_output(message_body, encode_chunked=encode_chunked)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     self.send(msg)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3.7/http/client.py", line 966, in send
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     self.connect()
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     conn = self._new_conn()
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     self, "Failed to establish a new connection: %s" % e)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]: urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7ec08e48>: Failed to establish a new connection: [Errno 111] Connection refused
Jan 18 10:18:48 raspberrypi gunicorn3[27879]: During handling of the above exception, another exception occurred:
Jan 18 10:18:48 raspberrypi gunicorn3[27879]: Traceback (most recent call last):
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     timeout=timeout
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     _stacktrace=sys.exc_info()[2])
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     raise MaxRetryError(_pool, url, error or ResponseError(cause))
Jan 18 10:18:48 raspberrypi gunicorn3[27879]: urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8442): Max retries exceeded with url: /authorized_keys (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7ec08e48>: Failed to establish a new connection: [Errno 111] Connection refused'))
Jan 18 10:18:48 raspberrypi gunicorn3[27879]: During handling of the above exception, another exception occurred:
Jan 18 10:18:48 raspberrypi gunicorn3[27879]: Traceback (most recent call last):
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 2292, in wsgi_app
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     response = self.full_dispatch_request()
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1815, in full_dispatch_request
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     rv = self.handle_user_exception(e)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1718, in handle_user_exception
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     reraise(exc_type, exc_value, tb)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/flask/_compat.py", line 35, in reraise
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     raise value
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1813, in full_dispatch_request
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     rv = self.dispatch_request()
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1799, in dispatch_request
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     return self.view_functionsrule.endpoint
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/tezos-signer-wrapper/signerWrapper.py", line 115, in catch_all
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     signer_response = requests.get('http://localhost:%s/%s' % (LOCAL_SIGNER_PORT, path) )
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/api.py", line 75, in get
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     return request('get', url, params=params, **kwargs)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     return session.request(method=method, url=url, **kwargs)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     resp = self.send(prep, **send_kwargs)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     r = adapter.send(request, **kwargs)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
Jan 18 10:18:48 raspberrypi gunicorn3[27879]:     raise ConnectionError(e, request=request)
Jan 18 10:18:48 raspberrypi gunicorn3[27879]: requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8442): Max retries exceeded with url: /authorized_keys (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7ec08e48>: Failed to establish a new connection: [Errno 111] Connection refused'))
Jan 18 10:23:33 raspberrypi gunicorn3[27879]: [2021-01-18 10:23:33,373] ERROR in app: Exception on /authorized_keys [GET]
Jan 18 10:23:33 raspberrypi gunicorn3[27879]: Traceback (most recent call last):
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     (self._dns_host, self.port), self.timeout, **extra_kw)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     raise err
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     sock.connect(sa)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]: ConnectionRefusedError: [Errno 111] Connection refused
Jan 18 10:23:33 raspberrypi gunicorn3[27879]: During handling of the above exception, another exception occurred:
Jan 18 10:23:33 raspberrypi gunicorn3[27879]: Traceback (most recent call last):
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     chunked=chunked)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     conn.request(method, url, **httplib_request_kw)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3.7/http/client.py", line 1244, in request
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     self._send_request(method, url, body, headers, encode_chunked)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     self.endheaders(body, encode_chunked=encode_chunked)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     self._send_output(message_body, encode_chunked=encode_chunked)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     self.send(msg)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3.7/http/client.py", line 966, in send
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     self.connect()
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     conn = self._new_conn()
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     self, "Failed to establish a new connection: %s" % e)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]: urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7ec081d0>: Failed to establish a new connection: [Errno 111] Connection refused
Jan 18 10:23:33 raspberrypi gunicorn3[27879]: During handling of the above exception, another exception occurred:
Jan 18 10:23:33 raspberrypi gunicorn3[27879]: Traceback (most recent call last):
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     timeout=timeout
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     _stacktrace=sys.exc_info()[2])
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     raise MaxRetryError(_pool, url, error or ResponseError(cause))
Jan 18 10:23:33 raspberrypi gunicorn3[27879]: urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8442): Max retries exceeded with url: /authorized_keys (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7ec081d0>: Failed to establish a new connection: [Errno 111] Connection refused'))
Jan 18 10:23:33 raspberrypi gunicorn3[27879]: During handling of the above exception, another exception occurred:
Jan 18 10:23:33 raspberrypi gunicorn3[27879]: Traceback (most recent call last):
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 2292, in wsgi_app
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     response = self.full_dispatch_request()
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1815, in full_dispatch_request
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     rv = self.handle_user_exception(e)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1718, in handle_user_exception
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     reraise(exc_type, exc_value, tb)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/flask/_compat.py", line 35, in reraise
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     raise value
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1813, in full_dispatch_request
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     rv = self.dispatch_request()
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1799, in dispatch_request
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     return self.view_functionsrule.endpoint
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/tezos-signer-wrapper/signerWrapper.py", line 115, in catch_all
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     signer_response = requests.get('http://localhost:%s/%s' % (LOCAL_SIGNER_PORT, path) )
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/api.py", line 75, in get
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     return request('get', url, params=params, **kwargs)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     return session.request(method=method, url=url, **kwargs)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     resp = self.send(prep, **send_kwargs)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     r = adapter.send(request, **kwargs)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:   File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
Jan 18 10:23:33 raspberrypi gunicorn3[27879]:     raise ConnectionError(e, request=request)
Jan 18 10:23:33 raspberrypi gunicorn3[27879]: requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8442): Max retries exceeded with url: /authorized_keys (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7ec081d0>: Failed to establish a new connection: [Errno 111] Connection refused'))
on gke
Container: tezos-remote-signer-loadbalancer
curl localhost:8443/authorized_keys

500 Internal Server Error
Internal Server Error
The server encountered an internal error and was unable to complete your request.  Either the server is overloaded or there is an error in the application.
i dont know were is my mistake

and one thing i dont undestand
service tezos-signer-wrapper.service if run show this
an 18 10:55:49 raspberrypi gunicorn3[13872]: [2021-01-18 10:55:49 +0000] [13872] [INFO] Starting gunicorn 19.9.0
Jan 18 10:55:49 raspberrypi gunicorn3[13872]: [2021-01-18 10:55:49 +0000] [13872] [INFO] Listening at: http://<IP_ADDRESS>:8443 (13872)