{
“code”: 7,
“message”: “error:pkg/web/oauthclient:exchange (token exchange refused)”,
“details”: [
{
“@type”: “type.googleapis.com/ttn.lorawan.v3.ErrorDetails”,
“namespace”: “pkg/web/oauthclient”,
“name”: “exchange”,
“message_format”: “token exchange refused”,
“correlation_id”: “3f1ad5f705b34cee9f58c8464b426ff8”,
“cause”: {
“namespace”: “pkg/errors”,
“name”: “net_operation”,
“message_format”: “net operation failed”,
“attributes”: {
“address”: “127.0.1.1:443”,
“net”: “tcp”,
“op”: “dial”,
“timeout”: false
},
“correlation_id”: “ccc890190c3c455584633f1c804cc1eb”,
“cause”: {
“namespace”: “pkg/errors”,
“name”: “syscall”,
“message_format”: “{syscall}
failed”,
“attributes”: {
“error”: “connection refused”,
“syscall”: “connect”,
“timeout”: false
},
“correlation_id”: “0ac00067f05d456dbdca8742001692a7”,
“code”: 2
},
“code”: 14
},
“code”: 7
}
]
}
Even tried a fresh install and im getting token exchange error. i even checked the troubleshooting guide and went though all those steps in which applied to me. And the error even happens on a new OS install.
This is not a ttn/tts issue. I solved my problem by looking in the /etc/hosts file. My domain was pointing to 127.0.1.1 instead of the public IP.
1 Like
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.