Failed to execute 'subscribe' on 'PushManager': The provided applicationServerKey is not encoded as base64url without padding.
urlB64ToUint8Array
√ src % rails -v Rails 7.0.4 √ src % ruby -v ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin21]
<head> <title>App</title> <link rel="manifest" href="/manifest.json"> <meta name="theme-color" content="#8e2731"> <meta name="viewport" content="width=device-width,initial-scale=1"> <%= csrf_meta_tags %> <%= csp_meta_tag %> <%= tag :meta, name: :vapid_public_key, content: Rails.application.credentials.vapid.public_key %> <%= stylesheet_link_tag "application", "data-turbo-track": "reload" %> <%= javascript_include_tag "application", "data-turbo-track": "reload", defer: true %> </head>
Started GET "/manifest.json" for 127.0.0.1 at 2023-03-30 20:36:37 +0200 Processing by ServiceWorkers::ManifestsController#index as JSON Rendering service_workers/manifests/index.json.erb Rendered service_workers/manifests/index.json.erb (Duration: 0.0ms | Allocations: 7) Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.9ms | Allocations: 2283) Started GET "/manifest.json" for 127.0.0.1 at 2023-03-30 20:36:37 +0200 Processing by ServiceWorkers::ManifestsController#index as JSON Rendering service_workers/manifests/index.json.erb Rendered service_workers/manifests/index.json.erb (Duration: 0.0ms | Allocations: 7) Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 1.4ms | Allocations: 2283) Started GET "/manifest.json" for 127.0.0.1 at 2023-03-30 20:36:38 +0200 Processing by ServiceWorkers::ManifestsController#index as JSON Rendering service_workers/manifests/index.json.erb Rendered service_workers/manifests/index.json.erb (Duration: 0.0ms | Allocations: 7) Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 1.3ms | Allocations: 2283) Started GET "/manifest.json" for 127.0.0.1 at 2023-03-30 20:36:38 +0200 Processing by ServiceWorkers::ManifestsController#index as JSON Rendering service_workers/manifests/index.json.erb Rendered service_workers/manifests/index.json.erb (Duration: 0.0ms | Allocations: 7) Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.8ms | Allocations: 2283) Started GET "/manifest.json" for 127.0.0.1 at 2023-03-30 20:36:50 +0200 Processing by ServiceWorkers::ManifestsController#index as JSON Rendering service_workers/manifests/index.json.erb Rendered service_workers/manifests/index.json.erb (Duration: 0.0ms | Allocations: 7) Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 2.1ms | Allocations: 2283) Started GET "/manifest.json" for 127.0.0.1 at 2023-03-30 20:36:50 +0200 Processing by ServiceWorkers::ManifestsController#index as JSON Rendering service_workers/manifests/index.json.erb Rendered service_workers/manifests/index.json.erb (Duration: 0.0ms | Allocations: 7) Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 1.1ms | Allocations: 2283) Started GET "/manifest.json" for 127.0.0.1 at 2023-03-30 20:36:51 +0200 Processing by ServiceWorkers::ManifestsController#index as JSON Rendering service_workers/manifests/index.json.erb Rendered service_workers/manifests/index.json.erb (Duration: 0.0ms | Allocations: 7) Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.9ms | Allocations: 2283) Started GET "/manifest.json" for 127.0.0.1 at 2023-03-30 20:36:51 +0200 Processing by ServiceWorkers::ManifestsController#index as JSON Rendering service_workers/manifests/index.json.erb Rendered service_workers/manifests/index.json.erb (Duration: 0.0ms | Allocations: 7) Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 1.1ms | Allocations: 2283)