Ktor: crypto is undefined in IE11

Created on 21 Apr 2020  路  2Comments  路  Source: ktorio/ktor

Ktor Version and Engine Used (client or server and name)

Version 1.3.2

My project uses ktor-client-core and ktor-client-core-js

Describe the bug
I have a React web application built with the kotlin-wrappers and ktor as the http client. When loading the application in IE 11, the application fails to load and the console displays an error saying: crypto is undefined

This problem happens in IE 11 on both windows 7 and windows 10.

1283 references this same problem.

To Reproduce
Steps to reproduce the behavior:

  1. Start web application. Application will not render because of crypto is undefined.

Expected behavior
Application should load and run without javascript exceptions from ktor.

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

image

bug

All 2 comments

Hi @chadmorrow, thanks for the report. The issue will be fixed in the next release.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KennethanCeyer picture KennethanCeyer  路  4Comments

lamba92 picture lamba92  路  3Comments

evgfilim1 picture evgfilim1  路  4Comments

PatrickLemke picture PatrickLemke  路  3Comments

baruchn picture baruchn  路  3Comments