Replies: 3 comments 1 reply
-
Im a little unclear on where the format of this data comes from, in your case its Perhaps you can ask over at the gluetun project, we can update here to support this if its 'expected'. |
Beta Was this translation helpful? Give feedback.
-
I was facing the same issue and was able to investigate this. This happens when gluetun gets the IP from ifconfig.co instead of ipinfo.co. If there are too many requests to one it goes to the other and in the response from ifconfig.co it doesn't have region. |
Beta Was this translation helpful? Give feedback.
-
Thanks for confirming, easy enough to make it not required. It'd still be empty in the widget but that can be handled with |
Beta Was this translation helpful? Give feedback.
-
Description
Updated to the latest version of gluetun (0.9.11) and following instructions in both gethompage and gluetun docs to configure.
Getting the following error on homepage: The following is the API error Information
(Added X for IP Addresses)
API Error: Invalid data
URL: http://XXX.XXX.X.XXX:8000/v1/publicip/ip
Response Data:
{"public_ip":"XXX.XXX.XXX.XXX","country":"XXCOUNTRY INFOXX","location":"XX.XXXX,XX.XXXX","organization":"XXCOMPANY INFOXX","timezone":"XXTIMEZONEXX"}
The API is connecting and getting information but it looks like the data format may have changed.
Any help would be appreciated.
homepage version
v0.9.11 (2245cdd, Oct 15, 2024)
Installation method
Docker
Configuration
Container Logs
88 | type: gluetun
89 | url: http://192.168.1.205:8000
[2024-10-25T22:32:39.716Z] error: Invalid data for widget 'gluetun' endpoint 'publicip/ip':
Expected:public_ip,region,country
Parse error: none
Data: {"type":"Buffer","data":[123,34,112,117,98,108,105,99,95,105,112,34,58,34,57,49,46,49,52,56,46,50,52,49,46,52,50,34,44,34,99,111,117,110,116,114,121,34,58,34,84,104,101,32,78,101,116,104,101,114,108,97,110,100,115,34,44,34,108,111,99,97,116,105,111,110,34,58,34,53,50,46,51,56,50,52,48,49,44,52,46,56,57,57,53,48,48,34,44,34,111,114,103,97,110,105,122,97,116,105,111,110,34,58,34,69,119,101,107,97,32,73,110,116,101,114,110,101,116,32,83,101,114,118,105,99,101,115,32,66,46,86,46,34,44,34,116,105,109,101,122,111,110,101,34,58,34,69,117,114,111,112,101,47,65,109,115,116,101,114,100,97,109,34,125,10]}
[2024-10-25T22:35:21.370Z] error: Invalid data for widget 'gluetun' endpoint 'publicip/ip':
Expected:public_ip,region,country
Parse error: none
Data: {"type":"Buffer","data":[123,34,112,117,98,108,105,99,95,105,112,34,58,34,57,49,46,49,52,56,46,50,52,49,46,52,50,34,44,34,99,111,117,110,116,114,121,34,58,34,84,104,101,32,78,101,116,104,101,114,108,97,110,100,115,34,44,34,108,111,99,97,116,105,111,110,34,58,34,53,50,46,51,56,50,52,48,49,44,52,46,56,57,57,53,48,48,34,44,34,111,114,103,97,110,105,122,97,116,105,111,110,34,58,34,69,119,101,107,97,32,73,110,116,101,114,110,101,116,32,83,101,114,118,105,99,101,115,32,66,46,86,46,34,44,34,116,105,109,101,122,111,110,101,34,58,34,69,117,114,111,112,101,47,65,109,115,116,101,114,100,97,109,34,125,10]}
[2024-10-25T22:35:24.677Z] error: Invalid data for widget 'gluetun' endpoint 'publicip/ip':
Expected:public_ip,region,country
Parse error: none
Data: {"type":"Buffer","data":[123,34,112,117,98,108,105,99,95,105,112,34,58,34,57,49,46,49,52,56,46,50,52,49,46,52,50,34,44,34,99,111,117,110,116,114,121,34,58,34,84,104,101,32,78,101,116,104,101,114,108,97,110,100,115,34,44,34,108,111,99,97,116,105,111,110,34,58,34,53,50,46,51,56,50,52,48,49,44,52,46,56,57,57,53,48,48,34,44,34,111,114,103,97,110,105,122,97,116,105,111,110,34,58,34,69,119,101,107,97,32,73,110,116,101,114,110,101,116,32,83,101,114,118,105,99,101,115,32,66,46,86,46,34,44,34,116,105,109,101,122,111,110,101,34,58,34,69,117,114,111,112,101,47,65,109,115,116,101,114,100,97,109,34,125,10]}
[2024-10-25T22:35:32.945Z] error: undefined
[2024-10-25T22:40:05.346Z] error: Invalid data for widget 'gluetun' endpoint 'publicip/ip':
Expected:public_ip,region,country
Parse error: none
Data: {"type":"Buffer","data":[123,34,112,117,98,108,105,99,95,105,112,34,58,34,57,49,46,49,52,56,46,50,52,49,46,52,50,34,44,34,99,111,117,110,116,114,121,34,58,34,84,104,101,32,78,101,116,104,101,114,108,97,110,100,115,34,44,34,108,111,99,97,116,105,111,110,34,58,34,53,50,46,51,56,50,52,48,49,44,52,46,56,57,57,53,48,48,34,44,34,111,114,103,97,110,105,122,97,116,105,111,110,34,58,34,69,119,101,107,97,32,73,110,116,101,114,110,101,116,32,83,101,114,118,105,99,101,115,32,66,46,86,46,34,44,34,116,105,109,101,122,111,110,101,34,58,34,69,117,114,111,112,101,47,65,109,115,116,101,114,100,97,109,34,125,10]}
[2024-10-25T22:46:20.009Z] error: Invalid data for widget 'gluetun' endpoint 'publicip/ip':
Expected:public_ip,region,country
Parse error: none
Data: {"type":"Buffer","data":[123,34,112,117,98,108,105,99,95,105,112,34,58,34,57,49,46,49,52,56,46,50,52,49,46,52,50,34,44,34,99,111,117,110,116,114,121,34,58,34,84,104,101,32,78,101,116,104,101,114,108,97,110,100,115,34,44,34,108,111,99,97,116,105,111,110,34,58,34,53,50,46,51,56,50,52,48,49,44,52,46,56,57,57,53,48,48,34,44,34,111,114,103,97,110,105,122,97,116,105,111,110,34,58,34,69,119,101,107,97,32,73,110,116,101,114,110,101,116,32,83,101,114,118,105,99,101,115,32,66,46,86,46,34,44,34,116,105,109,101,122,111,110,101,34,58,34,69,117,114,111,112,101,47,65,109,115,116,101,114,100,97,109,34,125,10]}
[2024-10-25T22:50:17.323Z] error: Invalid data for widget 'gluetun' endpoint 'publicip/ip':
Expected:public_ip,region,country
Parse error: none
Data: {"type":"Buffer","data":[123,34,112,117,98,108,105,99,95,105,112,34,58,34,57,49,46,49,52,56,46,50,52,49,46,52,50,34,44,34,99,111,117,110,116,114,121,34,58,34,84,104,101,32,78,101,116,104,101,114,108,97,110,100,115,34,44,34,108,111,99,97,116,105,111,110,34,58,34,53,50,46,51,56,50,52,48,49,44,52,46,56,57,57,53,48,48,34,44,34,111,114,103,97,110,105,122,97,116,105,111,110,34,58,34,69,119,101,107,97,32,73,110,116,101,114,110,101,116,32,83,101,114,118,105,99,101,115,32,66,46,86,46,34,44,34,116,105,109,101,122,111,110,101,34,58,34,69,117,114,111,112,101,47,65,109,115,116,101,114,100,97,109,34,125,10]}
[2024-10-25T22:50:31.438Z] error: Invalid data for widget 'gluetun' endpoint 'publicip/ip':
Expected:public_ip,region,country
Parse error: none
Data: {"type":"Buffer","data":[123,34,112,117,98,108,105,99,95,105,112,34,58,34,57,49,46,49,52,56,46,50,52,49,46,52,50,34,44,34,99,111,117,110,116,114,121,34,58,34,84,104,101,32,78,101,116,104,101,114,108,97,110,100,115,34,44,34,108,111,99,97,116,105,111,110,34,58,34,53,50,46,51,56,50,52,48,49,44,52,46,56,57,57,53,48,48,34,44,34,111,114,103,97,110,105,122,97,116,105,111,110,34,58,34,69,119,101,107,97,32,73,110,116,101,114,110,101,116,32,83,101,114,118,105,99,101,115,32,66,46,86,46,34,44,34,116,105,109,101,122,111,110,101,34,58,34,69,117,114,111,112,101,47,65,109,115,116,101,114,100,97,109,34,125,10]}
[2024-10-25T22:52:54.513Z] error: Invalid data for widget 'gluetun' endpoint 'publicip/ip':
Expected:public_ip,region,country
Parse error: none
Data: {"type":"Buffer","data":[123,34,112,117,98,108,105,99,95,105,112,34,58,34,57,49,46,49,52,56,46,50,52,49,46,52,50,34,44,34,99,111,117,110,116,114,121,34,58,34,84,104,101,32,78,101,116,104,101,114,108,97,110,100,115,34,44,34,108,111,99,97,116,105,111,110,34,58,34,53,50,46,51,56,50,52,48,49,44,52,46,56,57,57,53,48,48,34,44,34,111,114,103,97,110,105,122,97,116,105,111,110,34,58,34,69,119,101,107,97,32,73,110,116,101,114,110,101,116,32,83,101,114,118,105,99,101,115,32,66,46,86,46,34,44,34,116,105,109,101,122,111,110,101,34,58,34,69,117,114,111,112,101,47,65,109,115,116,101,114,100,97,109,34,125,10]}
[2024-10-25T22:53:25.764Z] error: Invalid data for widget 'gluetun' endpoint 'publicip/ip':
Expected:public_ip,region,country
Parse error: none
Data: {"type":"Buffer","data":[123,34,112,117,98,108,105,99,95,105,112,34,58,34,57,49,46,49,52,56,46,50,52,49,46,52,50,34,44,34,99,111,117,110,116,114,121,34,58,34,84,104,101,32,78,101,116,104,101,114,108,97,110,100,115,34,44,34,108,111,99,97,116,105,111,110,34,58,34,53,50,46,51,56,50,52,48,49,44,52,46,56,57,57,53,48,48,34,44,34,111,114,103,97,110,105,122,97,116,105,111,110,34,58,34,69,119,101,107,97,32,73,110,116,101,114,110,101,116,32,83,101,114,118,105,99,101,115,32,66,46,86,46,34,44,34,116,105,109,101,122,111,110,101,34,58,34,69,117,114,111,112,101,47,65,109,115,116,101,114,100,97,109,34,125,10]}
[2024-10-25T22:57:46.132Z] error: Invalid data for widget 'gluetun' endpoint 'publicip/ip':
Expected:public_ip,region,country
Parse error: none
Data: {"type":"Buffer","data":[123,34,112,117,98,108,105,99,95,105,112,34,58,34,57,49,46,49,52,56,46,50,52,49,46,52,50,34,44,34,99,111,117,110,116,114,121,34,58,34,84,104,101,32,78,101,116,104,101,114,108,97,110,100,115,34,44,34,108,111,99,97,116,105,111,110,34,58,34,53,50,46,51,56,50,52,48,49,44,52,46,56,57,57,53,48,48,34,44,34,111,114,103,97,110,105,122,97,116,105,111,110,34,58,34,69,119,101,107,97,32,73,110,116,101,114,110,101,116,32,83,101,114,118,105,99,101,115,32,66,46,86,46,34,44,34,116,105,109,101,122,111,110,101,34,58,34,69,117,114,111,112,101,47,65,109,115,116,101,114,100,97,109,34,125,10]}
Browser Logs
No response
Troubleshooting
Completed testing to verify that homepage is able to connect to the service in question. Homepage is getting data back and it looks to be a data change in the gluetun return message
Beta Was this translation helpful? Give feedback.
All reactions