简体   繁体   中英

Getting “We did not find this address :(” error each time visit on user profile

I am getting error while each time user profile sections.

在此处输入图片说明

Now i am getting this error.

在此处输入图片说明

I have followed all the installation instruction but still getting this issue. Also /pt/users/undefined/edit is getting undefined. I think it is wrong. Please help me fix this issue.

Started GET "/pt/users/undefined/edit" for 163.53.151.26 at 2016-10-20 03:19:25 -0400 ActiveRecord::SchemaMigration Load (1.8ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by UsersController#edit as HTML Parameters: {"id"=>"undefined", "locale"=>"pt"} User Load (2.3ms) SELECT "users".* FROM "users" WHERE "users"."deactivated_at" IS NULL AND "users"."id" = 0 ORDER BY "users"."id" ASC LIMIT 1 Rendered catarse_bootstrap/devise/shared/_header.html.slim (7.9ms) Rendered catarse_bootstrap/errors/not_found.html.slim within layouts/catarse_bootstrap (600.2ms) Rendered catarse_bootstrap/layouts/_analytics.html.slim (9.8ms) User Load (1.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1

I solved the problem by running postgres api client. Because catarse is a monolithic architecture application now. So we need to run the client in the system so could other functionality could worked.

./postgrest postgres://rails:test12345@localhost/catarse_development -a anonymous --jwt-secret gZH75aKtMN3Yj0iPS4hcgUuTwjAzZr9C -s 1 -p 3004

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM