Skip to content

Instantly share code, notes, and snippets.

E, [2020-06-29T17:18:19.911907 #7024] ERROR -- : [ActiveJob] [AppJob::WalkOrderNotifyJob] [c6c22b85-da56-44c5-8dfd-98ca2e3f47a3] Error performing AppJob::WalkOrderNotifyJob (Job ID: c6c22b85-da56-44c5-8dfd-98ca2e3f47a3) from Async(app_job) in 0.25ms: ArgumentError (wrong number of arguments (given 2, expected 1)):
/mnt/jiaochong-online-sandbox/releases/20200629064647/app/jobs/app_job/walk_order_notify_job.rb:3:in `perform'
/mnt/jiaochong-online-sandbox/shared/bundle/ruby/2.6.0/gems/activejob-6.0.2.2/lib/active_job/execution.rb:39:in `block in perform_now'
/mnt/jiaochong-online-sandbox/shared/bundle/ruby/2.6.0/gems/activesupport-6.0.2.2/lib/active_support/callbacks.rb:112:in `block in run_callbacks'
/mnt/jiaochong-online-sandbox/shared/bundle/ruby/2.6.0/gems/i18n-1.8.2/lib/i18n.rb:313:in `with_locale'
/mnt/jiaochong-online-sandbox/shared/bundle/ruby/2.6.0/gems/activejob-6.0.2.2/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'
/mnt/jiaochong-online-sandbox/shared/bundle/ruby/2.6.0/g
I, [2020-05-28T16:59:31.374454 #7374] INFO -- : [d3d0029f-ac50-4081-baa5-da7ffd5dd2e8] Processing by ActiveStorage::DirectUploadsController#create as JSON
I, [2020-05-28T16:59:31.374553 #7374] INFO -- : [d3d0029f-ac50-4081-baa5-da7ffd5dd2e8] Parameters: {"blob"=>{"filename"=>"action_cable_client demo with Rails 5.mp4", "content_type"=>"video/mp4", "byte_size"=>2739346, "checksum"=>"n0YLB86osur3MJQmXGgJFg=="}, "base"=>{"blob"=>{"filename"=>"action_cable_client demo with Rails 5.mp4", "content_type"=>"video/mp4", "byte_size"=>2739346, "checksum"=>"n0YLB86osur3MJQmXGgJFg=="}}}
W, [2020-05-28T16:59:31.374856 #7374] WARN -- : [d3d0029f-ac50-4081-baa5-da7ffd5dd2e8] Can't verify CSRF token authenticity.
D, [2020-05-28T16:59:31.376809 #7374] DEBUG -- : [d3d0029f-ac50-4081-baa5-da7ffd5dd2e8] (0.3ms) BEGIN
D, [2020-05-28T16:59:31.377497 #7374] DEBUG -- : [d3d0029f-ac50-4081-baa5-da7ffd5dd2e8] ActiveStorage::Blob Create (0.4ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "byte_size
+0800
I, [2020-05-28T17:17:02.412398 #8228] INFO -- : [d9ae74e9-09d0-48ce-80bc-bcd8883d6952] Processing by ActiveStorage::DirectUploadsController#create as JSON
I, [2020-05-28T17:17:02.412477 #8228] INFO -- : [d9ae74e9-09d0-48ce-80bc-bcd8883d6952] Parameters: {"blob"=>{"filename"=>"action_cable_client demo with Rails 5.mp4", "content_type"=>"video/mp4", "byte_size"=>2739346, "checksum"=>"n0YLB86osur3MJQmXGgJFg=="}, "direct_upload"=>{"blob"=>{"filename"=>"action_cable_client demo with Rails 5.mp4", "content_type"=>"video/mp4", "byte_size"=>2739346, "checksum"=>"n0YLB86osur3MJQmXGgJFg=="}}}
W, [2020-05-28T17:17:02.413094 #8228] WARN -- : [d9ae74e9-09d0-48ce-80bc-bcd8883d6952] Can't verify CSRF token authenticity.
I, [2020-05-28T17:17:02.413371 #8228] INFO -- : [d9ae74e9-09d0-48ce-80bc-bcd8883d6952] Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms | Allocations: 379)
F, [2020-05-28T17:17:02.414131 #8228] FATAL -- : [d9ae74e9-09d0-48ce-80bc-bcd8883d6952]
[d9ae74e9-09d0-48ce-80bc-bcd8883d6952]
Key Sublime Text 3.2.1 Build 3207
----- BEGIN LICENSE -----
Member J2TeaM
Single User License
EA7E-1011316
D7DA350E 1B8B0760 972F8B60 F3E64036
B9B4E234 F356F38F 0AD1E3B7 0E9C5FAD
FA0A2ABE 25F65BD8 D51458E5 3923CE80
87428428 79079A01 AA69F319 A1AF29A4
A684C2DC 0B1583D4 19CBD290 217618CD
@wangliyao
wangliyao / nginx.conf
Last active June 27, 2019 08:57 — forked from fotock/nginx.conf
Nginx SSL 安全配置最佳实践.
# 生成 dhparam.pem 文件, 在命令行执行任一方法:
# 方法1: 很慢
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
# 方法2: 较快
# 与方法1无明显区别. 2048位也足够用, 4096更强
openssl dhparam -dsaparam -out /etc/nginx/ssl/dhparam.pem 4096
@wangliyao
wangliyao / app.DockerFile
Created June 5, 2019 08:09 — forked from satendra02/app.DockerFile
docker+rails+puma+nginx+postgres (Production ready)
FROM ruby:2.3.1
# Install dependencies
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs
# Set an environment variable where the Rails app is installed to inside of Docker image:
ENV RAILS_ROOT /var/www/app_name
RUN mkdir -p $RAILS_ROOT
# Set working directory, where the commands will be ran: