Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FItbit OS Simulator : Blocked insecure request to URL (http)

ANSWERED

Hi Everyone,

I developed an application for my ionic to see the progress of my 3D printing on my printer. Wishing to make improvements, I wanted to relaunch the code on the fitbit OS simulator and I came across this error message: Blocked insecure request to URL. On the other hand no error when I launch the application directly on my watch.
In the first place I try to put my URL in https with a self-signed certificate on my server, I no longer have the blocked insecure request to URL but I still have a failed fetch.


Do you have any idea how I can solve this problem?

Thank you in advance!

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Fetch should work on local unsecured URLs, or secure remote URLs.

Have you also granted the internet permission in your package.json?

View best answer in original post

Best Answer
0 Votes
2 REPLIES 2

Fetch should work on local unsecured URLs, or secure remote URLs.

Have you also granted the internet permission in your package.json?

Best Answer
0 Votes

You right, I juste run ma script in local for working and after that I put on my server online. Thanks!

Best Answer
0 Votes