dashy icon indicating copy to clipboard operation
dashy copied to clipboard

Pi-hole widget

Open LarryT8959 opened this issue 1 year ago โ€ข 9 comments

Question

I'm having an issue with getting pi-widgets to work. I see the error but don't know how to fix it. Not allowed access control allow origin. Status code: 200 page could not load due to access control checks. Unable to fetch data. I'm trying to pull this data from pi-hole which is running in a container on my nas. Thanks Dashy version2.1.1

Category

Setup and Deployment

Please tick the boxes

LarryT8959 avatar Sep 18 '23 15:09 LarryT8959

If you're enjoying Dashy, consider dropping us a โญ
๐Ÿค– I'm a bot, and this message was automated

liss-bot avatar Sep 18 '23 15:09 liss-bot

Screenshot 2023-09-18 at 1 04 36 PM

Screenshot

LarryT8959 avatar Sep 18 '23 17:09 LarryT8959

That's a CORS error, there's info about it in the troueshooting page:

https://github.com/Lissy93/dashy/blob/master/docs/troubleshooting.md#widget-cors-errors

๐Ÿš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more! - Lissy93/dashy

Lissy93 avatar Sep 18 '23 18:09 Lissy93

Thank you for responding. I'm fairly new at this and struggling to figure out how to add header. I would appreciate if you could help a little more. Where to add header? Is there a specific file to edit?

LarryT8959 avatar Sep 18 '23 19:09 LarryT8959

Can you help me with placing this header? Where do I put it? Browser extension? Or is there a file to modify? Thanks

On Sep 18, 2023, at 2:22 PM, Alicia Sykes @.***> wrote:

That's a CORS error, there's info about it in the troueshooting page:

https://github.com/Lissy93/dashy/blob/master/docs/troubleshooting.md#widget-cors-errors

โ€” Reply to this email directly, view it on GitHub https://github.com/Lissy93/dashy/issues/1319#issuecomment-1724145956, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATN5WTKI5GO3T73I4OBDBK3X3CGOZANCNFSM6AAAAAA4456KPE. You are receiving this because you authored the thread.

LarryT8959 avatar Sep 20 '23 12:09 LarryT8959

Question

I'm having an issue with getting pi-widgets to work. I see the error but don't know how to fix it. Not allowed access control allow origin. Status code: 200 page could not load due to access control checks. Unable to fetch data. I'm trying to pull this data from pi-hole which is running in a container on my nas. Thanks Dashy version2.1.1

Category

Setup and Deployment

Please tick the boxes

Please share your conf.yml

CrazyWolf13 avatar Oct 20 '23 15:10 CrazyWolf13

Adding this to my widgets worked for me; useProxy: true

On Oct 20, 2023, at 11:29โ€ฏAM, Tobias Meier @.***> wrote:

Question

I'm having an issue with getting pi-widgets to work. I see the error but don't know how to fix it. Not allowed access control allow origin. Status code: 200 page could not load due to access control checks. Unable to fetch data. I'm trying to pull this data from pi-hole which is running in a container on my nas. Thanks Dashy version2.1.1

Category

Setup and Deployment

Please tick the boxes

You are using a supported https://github.com/Lissy93/dashy/blob/master/.github/SECURITY.md#supported-versions version of Dashy (check the first two digits of the version number) You've checked that this question hasn't already been raised https://github.com/Lissy93/dashy/issues?q=is%3Aissue You've checked the docs https://github.com/Lissy93/dashy/tree/master/docs#readme and troubleshooting https://github.com/Lissy93/dashy/blob/master/docs/troubleshooting.md#troubleshooting guide You agree to the code of conduct https://github.com/Lissy93/dashy/blob/master/.github/CODE_OF_CONDUCT.md#contributor-covenant-code-of-conduct Please share your conf.yml

โ€” Reply to this email directly, view it on GitHub https://github.com/Lissy93/dashy/issues/1319#issuecomment-1772957479, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATN5WTKXLLPU77REBRMWHPLYAKKFPAVCNFSM6AAAAAA4456KPGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZSHE2TONBXHE. You are receiving this because you authored the thread.

LarryT8959 avatar Oct 22 '23 15:10 LarryT8959

Yeah, that is known. If you would've shared your conf.yml from the beginning, we would've said you this earlier.

CrazyWolf13 avatar Oct 22 '23 18:10 CrazyWolf13

Please close as completed if it works now.

CrazyWolf13 avatar Oct 22 '23 18:10 CrazyWolf13