403 during token refresh only on docker #739
Replies: 3 comments 1 reply
-
Running on NodeRed, I only have |
Beta Was this translation helpful? Give feedback.
-
I'm getting a similar issue. localhost works fine. Live Rails production server gets 403 with the exact same code. I have a SUPER hacky fix- I run a cron job locally every 6 hours that runs the refresh code and then POSTs the updated tokens to the live server which is used to actually connect and display the data. Do you have another server you could try with a different ip or something? I figured it was some sort of ip ban for some reason. |
Beta Was this translation helpful? Give feedback.
-
I have the same problem from an Ubuntu machine at Digital Ocean... So I used a curl command to test the request: Local MacBook: fine Then I tested an other Server @ DigitalOcean (different ID) and this is also not working... So, it seems, that the problem is not an IP ban... Any other ideas? |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have been following the guide for authentication.
I use node js as server, dockerized, and deployed to a Kubernetes cluster.
Following the discussions here
I do think I have all the headers that I need, and I am making sure TLS is max 1.2
{ headers: { 'Content-Type': 'application/json', Accept: 'application/json', 'User-Agent': 'TeslaAuthJS/1.0', 'Keep-Alive': 'timeout=60000', }, agent: new https.Agent({ maxVersion: 'TLSv1.2', keepAlive: true, }), };
Anyone can give me some ideas?
Beta Was this translation helpful? Give feedback.
All reactions