Skip to content

Mixed Content error using certain "load" functions in full mode  #543

Closed
@piecesofuk

Description

@piecesofuk

Nature of issue?

  • [ X] Found a bug

Details about the bug:

  • Web browser and version: Google Chrome OS Version 64.0.3282.134 (Official Build) beta (64-bit)
  • Operating System: Google Chrome OS Version 64.0.3282.134 (Official Build) beta (64-bit)
  • Steps to reproduce this: Calling a "load" function in preload()
function preload() {
	  table = loadTable("/assets/test.csv", "csv"); // error
//    json = loadJSON("/assets/test.json"); // error
//    img = loadImage("/assets/Transparent.gif"); // okay
//    strings = loadStrings("/assets/test.txt"); // error

}

p5 editor link: https://alpha.editor.p5js.org/piecesofuk/sketches/HkyBtEc8f
p5 full mode link: https://alpha.editor.p5js.org/full/HkyBtEc8f

For loadTable, loadJSON and loadStrings I get the error:

Mixed Content: The page at 'https://alpha.editor.p5js.org/full/HkyBtEc8f' was loaded over HTTPS, but requested an insecure resource 'http://alpha.editor.p5js.org/sketches/HkyBtEc8f/assets/assets/test.csv'. This request has been blocked; the content must be served over HTTPS.

loadImage works okay.
If I change https to http it also works okay.
#ilovefs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueA beginner-friendly issue, great for first-time contributorsHelp WantedWould love additional input or contributions!Priority:MediumModerately important, should be completed in a fair timeframe

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions