Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mixed active content #52

Closed
sandwitcherz opened this issue Jan 28, 2021 · 10 comments
Closed

mixed active content #52

sandwitcherz opened this issue Jan 28, 2021 · 10 comments
Assignees
Labels

Comments

@sandwitcherz
Copy link

sandwitcherz commented Jan 28, 2021

Hi, when i deploy my Node App on my apache https website, console says :
Blocage du chargement du contenu mixte actif (mixed active content) « http://amiiboapi.com/api/type/ »

BUT, in my app, i have configured whith https ... :

const baseURL = "https://amiiboapi.com/api/";

Is there an error from api?

thanks

@N3evin
Copy link
Owner

N3evin commented Jan 28, 2021

That's weird, I just tried on https://amiiboapi.com/, if you type in the box type/ there is no issue. Are you using type or type/?

@sandwitcherz
Copy link
Author

thanks ^^ i use this :

const baseURL = "https://www.amiiboapi.com/api/";
const config = [
  {
    name: "Type",
    url: "type",
    viewUrl: `${baseURL}amiibo/?type=`,
    menuData: []
  },
  {
    name: "Game Series",
    url: "gameseries",
    viewUrl: `${baseURL}amiibo/?gameseries=`,
    menuData: []
  },
  {
    name: "Series",
    url: "amiiboseries",
    viewUrl: `${baseURL}amiibo/?amiiboSeries=`,
    menuData: []
  },
  {
    name: "Character",
    url: "character",
    viewUrl: `${baseURL}amiibo/?character=`,
    menuData: []
  }
];

@N3evin
Copy link
Owner

N3evin commented Jan 28, 2021

Those look ok. Just tried it on amiiboapi.com

@sandwitcherz
Copy link
Author

https://www.amiiboapi.com/api/ , https://amiiboapi.com/api/ give same error...

@N3evin
Copy link
Owner

N3evin commented Jan 28, 2021

that is weird, I guess I will find ways to duplicate when I am free. Are you running it on localhost or hosted somewhere?

@sandwitcherz
Copy link
Author

sandwitcherz commented Jan 28, 2021

on localhost, no problem, because the mixed active content is not enabled when i am on http .
I have deployed on a domain who are httpS whith letsencrypt certificat, and here appears the error ^^

@sandwitcherz
Copy link
Author

if you go here : https://www.amiiboapi.com/api/gameseries
this link redirrect to http://www.amiiboapi.com/api/gameseries/
who redirrects to https://amiiboapi.com/api/gameseries/

is it ok?

yes, take your time, thanks :))

@N3evin
Copy link
Owner

N3evin commented Jan 29, 2021

For now is it possible for you to just add a "/" to all your calls? this way it won't be redirected.

@N3evin N3evin self-assigned this Jan 29, 2021
@N3evin N3evin added the bug label Jan 29, 2021
@N3evin
Copy link
Owner

N3evin commented Jan 29, 2021

I posted a Nginx configuration, could be that I am not configuring it right that it's causing some redirect. Due to work I won't be able to look into it much. Hoping to see if anyone can help take a look.

#53

@sandwitcherz
Copy link
Author

ok i will try later, thanks N3evin :)

lana-k added a commit to lana-k/amiibo-api-viewer that referenced this issue Feb 17, 2021
@N3evin N3evin closed this as completed Mar 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants