anvil-works / anvil-runtime

The runtime engine for hosting Anvil web apps
https://anvil.works/open-source
Other
904 stars 117 forks source link

HTTPS does not work in version 1.11.0 and 1.12.0 #88

Closed augustasvol closed 1 month ago

augustasvol commented 3 months ago

If I try to run it with a URL using HTTPS:

Traefik dashboard: http://localhost:26868/dashboard/
[ERROR anvil.app-server.run] #error {
 :cause nil
 :via
 [{:type java.lang.NullPointerException
   :message nil
   :at [java.io.File <init> File.java 279]}]
 :trace
 [[java.io.File <init> File.java 279]
  [anvil.app_server.run$with_reverse_proxy_if_configured invokeStatic run.clj 283]
  [anvil.app_server.run$with_reverse_proxy_if_configured invoke run.clj 241]
  [anvil.app_server.run$_main invokeStatic run.clj 410]
  [anvil.app_server.run$_main doInvoke run.clj 407]
  [clojure.lang.RestFn applyTo RestFn.java 137]
  [anvil.app_server.run main nil -1]]}

I get this error in Ubuntu 24.04, Python 3.11, anvil-runtime versions 1.11 and 1.12

However if I try to run it in anvil-runtime version 1.10.1, it works fine without problems.

haimat commented 3 months ago

Same problem here. Any updates on this issue?

fei-yan-fentics commented 3 months ago

I the same problem. No solution yet.

haimat commented 3 months ago

There is also a thread on this in the Anvil forum: https://anvil.works/forum/t/app-server-java-lang-nullpointerexception/21041/6

No updates on this yet?

haimat commented 2 months ago

With latest version 1.12.2 this problem is solved.