Vanjaro.Platform icon indicating copy to clipboard operation
Vanjaro.Platform copied to clipboard

Valid Pixabay API Key not accepted

Open aloscher opened this issue 4 years ago • 16 comments

Product & Version Vanjaro for DNN

Describe the bug Valid Pixabay API Key not accepted - message "Input is not a valid Pixabay API Key."

To Reproduce Steps to reproduce the behavior: Menu->Settings->Integrations & Connectors->Pixabay->Global or Site

Expected behavior API Implemented

Current behavior

"Input is not a valid Pixabay API Key."

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Windows 10 - same results in Firefox Chrome and Edge browsers

aloscher avatar Aug 14 '21 15:08 aloscher

I use Vanjaro (1.1) for DNN (9.9.1) and at yesterday I had a working Pixabay. But...today images became 404. The url was not valid. If I open up the connector, there is an empty text box. The Youtube API text box is also empty.

This a site as one of 6 portals and I was using the API on portal level.

Tychodewaard avatar Aug 17 '21 11:08 Tychodewaard

Product & Version Vanjaro for DNN

Describe the bug Valid Pixabay API Key not accepted - message "Input is not a valid Pixabay API Key."

To Reproduce Steps to reproduce the behavior: Menu->Settings->Integrations & Connectors->Pixabay->Global or Site

Expected behavior API Implemented

Current behavior

"Input is not a valid Pixabay API Key."

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Windows 10 - same results in Firefox Chrome and Edge browsers

Can you please provide a screencast

nikhilmandeeps avatar Aug 17 '21 11:08 nikhilmandeeps

But...today images became 404.

This should never happen. We don't hotlink images from PixaBay. They're downloaded and served from your site filesystem. It's likely you have hot-linked images; if that's the case, please open a new issue with steps to duplicate.

If I open up the connector, there is an empty text box. The YouTube API text box is also empty.

Can you provide a screencast? It's possible that you configured the setting at Global Level (logged in as host) and viewing it at site level (logged in as administrator)?

meetmandeep avatar Aug 18 '21 04:08 meetmandeep

Actually the problem goes deeper. i have a brand new Platform install with nothing done yet and I cannot even register integrations or connectors except Azure.. See attached video;; http://somup.com/crjFqmYRJ7

scottw12 avatar Aug 18 '21 19:08 scottw12

@scottw12 Are there any errors in console?

meetmandeep avatar Aug 18 '21 19:08 meetmandeep

No, I watching when I went to the virgin site. However after I sent eh video I restarted the application and now things are working fine for me and pixabay and YouTube are working on three other sites including one that is Vanjaro_for_DNN.

I noticed that all of the items that did not work when I did the video are ones that open up in a modal. I had problems with Live_Content with modals on Vanjaro and it was fixed in the Live_Content module.

scottw12 avatar Aug 18 '21 19:08 scottw12

I put my Pixaby API Key into the virgin installed Platform and it is working fine. https://vanjaro.jkmcomm.com/ I did it both ways as Site and then removed and added as Global. Also working for in Vanjaro_for_DNN https://dnn.jkmcomm.com/tst

scottw12 avatar Aug 18 '21 20:08 scottw12

Product & Version Vanjaro for DNN Describe the bug Valid Pixabay API Key not accepted - message "Input is not a valid Pixabay API Key." To Reproduce Steps to reproduce the behavior: Menu->Settings->Integrations & Connectors->Pixabay->Global or Site Expected behavior API Implemented Current behavior "Input is not a valid Pixabay API Key." Screenshots If applicable, add screenshots to help explain your problem. Additional context Windows 10 - same results in Firefox Chrome and Edge browsers

Can you please provide a screencast

https://user-images.githubusercontent.com/21082075/130086855-9fd044ea-4836-4627-96be-0e37fccd9bd7.mp4

sitelog

aloscher avatar Aug 19 '21 14:08 aloscher

https://pixabay.com/api/?key=yourkey

Check if this url is giving you json response by replacing yourkey with your key.

mksmanish79 avatar Aug 20 '21 05:08 mksmanish79

Also provide us the screenshot of the the error logged by clicking on the exception. You have not given the full screenshot of the error logged.

mksmanish79 avatar Aug 20 '21 05:08 mksmanish79

Also provide us the screenshot of the the error logged by clicking on the exception. You have not given the full screenshot of the error logged.

image

aloscher avatar Aug 20 '21 10:08 aloscher

https://pixabay.com/api/?key=yourkey

Check if this url is giving you json response by replacing yourkey with your key.

I received a successful reply from the url

aloscher avatar Aug 20 '21 10:08 aloscher

Can you please check after disabling your antivirus/firewall for a while?

mksmanish79 avatar Aug 20 '21 10:08 mksmanish79

Can you please check after disabling your antivirus/firewall for a while?

I just tried without my antivirus/firewall with the same results. I even tried another browser.

aloscher avatar Aug 20 '21 11:08 aloscher

@aloscher The error log provided indicates that your server is unable to connect to Pixabay; I suspect firewall as an issue. Please review your outbound connections from server.

meetmandeep avatar Aug 20 '21 17:08 meetmandeep

@aloscher The error log provided indicates that your server is unable to connect to Pixabay; I suspect firewall as an issue. Please review your outbound connections from server.

I will check with my host.

aloscher avatar Aug 20 '21 18:08 aloscher