Fresh installation and Invalid credentials supplied


#1

Hi I made a new installation of dsp

-ubuntu-trusty-14.04 and debain jessie
-Admin Application Version: 2.1.3
-DreamFactory Version: 2.1.0
-mysql
-login with id admin created in installation

in both cases of linux have this errors:

REST Exception #401 > Invalid credentials supplied., referer: http://54.197.187.175/dreamfactory/dist/index.html
REST Exception #404 > Record not found, referer: http://54.197.187.175/dreamfactory/dist/index.html

and then when try to access apidocs:

REST Exception #501 > Database or driver does not support fetching all stored procedure names., referer: http://54.197.187.175/dreamfactory/dist/index.html
REST Exception #501 > Database or driver does not support fetching all stored function names., referer: http://54.197.187.175/dreamfactory/dist/index.html
REST Exception #404 > Could not find a service for dreamfactory, referer: http://54.197.187.175/dreamfactory/dist/index.html

with the first access

any ideas


#2

Hi,

could you give us some information about the log erro in log file?


#3

this is the log for login a session with the admin user:

dreamafactory.log

[2016-02-12 15:07:39] local.DEBUG: Resource event: system.environment.get.pre_process
[2016-02-12 15:07:39] local.DEBUG: Resource event: system.environment.get.post_process
[2016-02-12 15:07:39] local.DEBUG: Resource event: system.environment.get.pre_process
[2016-02-12 15:07:39] local.DEBUG: Resource event: system.environment.get.post_process
[2016-02-12 15:07:53] local.DEBUG: Resource event: user.session.post.pre_process
[2016-02-12 15:07:53] local.DEBUG: Resource event: system.admin.session.post.pre_process
[2016-02-12 15:07:53] local.DEBUG: Resource event: system.admin.session.post.post_process
[2016-02-12 15:07:54] local.DEBUG: Resource event: user.custom.get.pre_process
[2016-02-12 15:07:54] local.DEBUG: Service event: system.get.pre_process
[2016-02-12 15:07:54] local.DEBUG: Service event: system.get.post_process
[2016-02-12 15:07:54] local.DEBUG: Resource event: system.config.get.pre_process
[2016-02-12 15:07:54] local.DEBUG: Resource event: system.config.get.post_process
[2016-02-12 15:07:54] local.DEBUG: Resource event: system.role.get.pre_process
[2016-02-12 15:07:54] local.DEBUG: Resource event: system.role.get.post_process
[2016-02-12 15:07:54] local.DEBUG: Resource event: system.environment.get.pre_process
[2016-02-12 15:07:54] local.DEBUG: Resource event: system.app.get.pre_process
[2016-02-12 15:07:54] local.DEBUG: Resource event: system.service_type.get.pre_process
[2016-02-12 15:07:54] local.DEBUG: Resource event: system.service.get.pre_process
[2016-02-12 15:07:54] local.DEBUG: Resource event: system.environment.get.post_process
[2016-02-12 15:07:54] local.DEBUG: Resource event: system.app.get.post_process
[2016-02-12 15:07:54] local.DEBUG: Resource event: system.admin.get.pre_process
[2016-02-12 15:07:54] local.DEBUG: Resource event: system.admin.get.post_process
[2016-02-12 15:07:54] local.DEBUG: Resource event: system.user.get.pre_process
[2016-02-12 15:07:54] local.DEBUG: Resource event: system.user.get.post_process
[2016-02-12 15:07:54] local.DEBUG: Resource event: system.service.get.post_process
[2016-02-12 15:07:54] local.DEBUG: Resource event: system.email_template.get.pre_process
[2016-02-12 15:07:54] local.DEBUG: Resource event: system.email_template.get.post_process
[2016-02-12 15:07:54] local.DEBUG: Resource event: system.lookup.get.pre_process
[2016-02-12 15:07:54] local.DEBUG: Resource event: system.lookup.get.post_process
[2016-02-12 15:07:54] local.DEBUG: Resource event: system.service_type.get.post_process
[2016-02-12 15:07:55] local.DEBUG: Resource event: system.app_group.get.pre_process
[2016-02-12 15:07:55] local.DEBUG: Resource event: system.cors.get.pre_process
[2016-02-12 15:07:55] local.DEBUG: Resource event: system.app_group.get.post_process
[2016-02-12 15:07:55] local.DEBUG: Resource event: system.event.get.pre_process
[2016-02-12 15:07:55] local.DEBUG: Resource event: system.cors.get.post_process
[2016-02-12 15:07:55] local.DEBUG: Resource event: system.script_type.get.pre_process
[2016-02-12 15:07:55] local.DEBUG: Resource event: system.event.get.post_process
[2016-02-12 15:07:55] local.DEBUG: Resource event: system.script_type.get.post_process

in apache error

[Fri Feb 12 15:07:53.584060 2016] [:error] [pid 1466] [client 186.29.69.35:64977] REST Exception #401 > Invalid credentials supplied., referer: http://54.204.246.161/dreamfactory/dist/index.html
[Fri Feb 12 15:07:54.358858 2016] [:error] [pid 1467] [client 186.29.69.35:57937] REST Exception #404 > Record not found, referer: http://54.204.246.161/dreamfactory/dist/index.html
[Fri Feb 12 15:07:55.554197 2016] [:error] [pid 1206] [client 186.29.69.35:15635] REST Exception #404 > Could not find a service for dreamfactory, referer: http://54.204.246.161/dreamfactory/dist/index.html