CLEARTEXT communication not permitted by network security policy #28

Closed
opened 2024-10-03 12:08:41 -04:00 by cuh7b5 · 1 comment
cuh7b5 commented 2024-10-03 12:08:41 -04:00 (Migrated from github.com)

This script:

function on_resume()
    http:get("http://cuh.sdf.org/test.html")
end


function on_network_result(result)
    ui:show_text(result)
end

function on_network_error(error)
    ui:show_text(error)
end

gives this error message instead of the network result:
"CLEARTEXT communication to cuh.sdf.org not permitted by network security policy"

I believe that plain http is no longer permitted for http:get, only https.

Is there a way to use plain http sites?
It worked few weeks ago.

Thanks

This script: ``` function on_resume() http:get("http://cuh.sdf.org/test.html") end function on_network_result(result) ui:show_text(result) end function on_network_error(error) ui:show_text(error) end ``` gives this error message instead of the network result: "CLEARTEXT communication to cuh.sdf.org not permitted by network security policy" I believe that plain http is no longer permitted for http:get, only https. Is there a way to use plain http sites? It worked few weeks ago. Thanks
zobnin commented 2024-10-03 23:45:13 -04:00 (Migrated from github.com)

Will be fixed in the next version. Thank you.

Will be fixed in the next version. Thank you.
Sign in to join this conversation.
No description provided.