Hello,
what does this error mean? I am not able to find this error msg in source code so that's why I am not able to trace it and find out how to fix it ..
it occurs whenever emp wants to send a request to his superior and whenever superior wants to edit the attendance of employee ...
this popup err msg appear but attendance is edited and request is also sent ...
Can you advise me, what causes this error please?
Thx
Proxy error from TimeTrex
Proxy error from TimeTrex
- Attachments
-
- timetrex_proxy_err_msg.png (44.37 KiB) Viewed 7777 times
Re: Proxy error from TimeTrex
Please see this FAQ:
http://forums.timetrex.com/viewtopic.php?f=6&t=89
http://forums.timetrex.com/viewtopic.php?f=6&t=89
Re: Proxy error from TimeTrex
hi excuse me ..
3) version of TimeTrex is v8.0.9-20150710-013525
4) operating system is RedHat 6.6
5) installer
DEBUG INFO:
1) PHP 5.2.6
2) PostgreSQL 8.3
3) Apache
4) no
Do you need any additional info pls? I will provide as much as I can...
thank you for your help guys
3) version of TimeTrex is v8.0.9-20150710-013525
4) operating system is RedHat 6.6
5) installer
DEBUG INFO:
1) PHP 5.2.6
2) PostgreSQL 8.3
3) Apache
4) no
Do you need any additional info pls? I will provide as much as I can...
thank you for your help guys
Re: Proxy error from TimeTrex
Here is an array I receive when I click on ./api/json/api.php link ...
Code: Select all
{"api_retval":false,"api_details":{"code":"EXCEPTION","description":"Method does not exist.","record_details":{"total":0,"valid":0,"invalid":0},"user_generic_status_batch_id":false,"details":false}}
Re: Proxy error from TimeTrex
As per that FAQ, please enable logging, replicate the issue and attach the log here.
Re: Proxy error from TimeTrex
Hello, it is very strange but - no data in error log file appeared
timetrex_err.log has 766 permissions ... but it is still empty.. if I invoke manualy error (wrong url)
see the attached file pls
timetrex_err.log has 766 permissions ... but it is still empty.. if I invoke manualy error (wrong url)
see the attached file pls
- Attachments
-
- timetrex_proxy_err_log.png (10.28 KiB) Viewed 7764 times
Re: Proxy error from TimeTrex
Check the TimeTrex error log in the log directory (specified in timetrex.ini.php) as well please.
Re: Proxy error from TimeTrex
Hello,
I've checked the err.log file (made by php) and there were those lines:
But I think it is not regarding the issue I am facing ...
Log file from timetrex ->
I've checked the err.log file (made by php) and there were those lines:
Code: Select all
[22-Oct-2015 01:29:55] PHP Notice: Object of class SoapFault could not be converted to int in /home/timetrex/TimeTrex/timetrex/classes/modules/soap/TimeTrexSoapClient.class.php on line 151
[22-Oct-2015 01:30:00] PHP Notice: Object of class SoapFault could not be converted to int in /home/timetrex/TimeTrex/timetrex/classes/modules/soap/TimeTrexSoapClient.class.php on line 166
[22-Oct-2015 01:30:05] PHP Notice: Object of class SoapFault could not be converted to int in /home/timetrex/TimeTrex/timetrex/classes/modules/soap/TimeTrexSoapClient.class.php on line 181
Log file from timetrex ->
Code: Select all
---------------[ 22-Oct-2015 10:15:51 +0800 [1445480151.505] (PID: 6903) ]---------------
DEBUG [L0438] [16ms]: [Function](): URI: /api/json/api.php?Class=APIRequest&Method=validateRequest&v=2&MessageID=dff86baf-b31a-386e-da5c-3b52071a34cc IP Address: x.x.x.x
DEBUG [L0441] [16ms]: [Function](): USER-AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
DEBUG [L0445] [16ms]: [Function](): Version: 8.0.9 Edition: 10 Production: 1 Database: Type: postgres8 Name: timetrex Config: /home/timetrex/TimeTrex/timetrex/includes/../timetrex.ini.php Demo Mode: 0
DEBUG [L0163] [54ms]: TTDate::setTimeZone(): Setting TimeZone: TestTZ
DEBUG [L0224] [57ms]: [Function](): Handling JSON Call To API Factory: APIRequest Method: validateRequest Message ID: dff86baf-b31a-386e-da5c-3b52071a34cc
DEBUG [L0259] [57ms] Array: [Function](): Arguments: (Size: 268)
array(1) {
[0]=>
array(8) {
["date_stamp"]=>
string(10) "2015-10-22"
["company"]=>
string(36) "Test Company."
["full_name"]=>
bool(false)
["type_id"]=>
int(10)
["message"]=>
string(19) "proxy test err mesg"
["user_id"]=>
int(8506)
["first_name"]=>
string(4) "Test"
["last_name"]=>
string(5) "User"
}
}
DEBUG [L0268] [68ms]: [Function](): Session ID: e3db4430e3192832506090a8bff5062644ef1d21 Source IP: x.x.x.x
DEBUG [L0734] [68ms]: Authentication::Check(): Session ID: e3db4430e3192832506090a8bff5062644ef1d21 IP Address: x.x.x.x URL: /api/json/api.php?Class=APIRequest&Method=validateRequest&v=2&MessageID=dff86baf-b31a-386e-da5c-3b52071a34cc Touch Upd
DEBUG [L0734] [68ms]: Authentication::Check(): ated Date: 1
DEBUG [L0163] [109ms]: TTDate::setTimeZone(): Setting TimeZone: Etc/GMT-8
DEBUG [L0211] [110ms]: TTDate::setDateFormat(): Setting Default Date Format: Y-m-d
DEBUG [L0225] [110ms]: TTDate::setTimeFormat(): Setting Default Time Format: g:i A
DEBUG [L0239] [110ms]: TTDate::setTimeUnitFormat(): Setting Default Time Unit Format: 12
DEBUG [L0122] [113ms]: authenticatedInvokeService(): Locale Cookie:
DEBUG [L0130] [113ms]: authenticatedInvokeService(): User Preference Language matches cookie!
DEBUG [L0418] [117ms]: TTi18n::setLocale(): Set Master Locale To: en_PH
DEBUG [L0145] [130ms]: authenticatedInvokeService(): Current User: Test User (User ID: 8506) Company: Test Company (Company ID: 6)
DEBUG [L0220] [142ms]: APIRequest::setRequest(): Validating Only!
DEBUG [L0224] [142ms]: APIRequest::setRequest(): Received data for: 1 Requests
DEBUG [L0225] [142ms] Array: APIRequest::setRequest(): Data:
array(1) {
[0]=>
array(8) {
["date_stamp"]=>
string(10) "2015-10-22"
["company"]=>
string(36) "Test Company"
["full_name"]=>
bool(false)
["type_id"]=>
int(10)
["message"]=>
string(19) "proxy test err mesg"
["user_id"]=>
int(8506)
["first_name"]=>
string(4) "Test"
["last_name"]=>
string(5) "User"
}
}
DEBUG [L0093] [143ms]: ProgressBar::start(): start: 'dff86baf-b31a-386e-da5c-3b52071a34cc' Iterations: 1 Update Iterations: Key: dff86baf-b31a-386e-da5c-3b52071a34cc(1445480151.6473) Message:
DEBUG [L1661] [147ms]: Factory::StartTransaction(): StartTransaction(): Transaction Count: 0 Trans Off: 0
DEBUG [L0263] [148ms] Array: APIRequest::setRequest(): Data:
array(8) {
["date_stamp"]=>
string(10) "2015-10-22"
["company"]=>
string(36) "Test Company"
["full_name"]=>
bool(false)
["type_id"]=>
int(10)
["message"]=>
string(19) "proxy test err mesg"
["user_id"]=>
int(8506)
["first_name"]=>
string(4) "Test"
["last_name"]=>
string(5) "User"
}
DEBUG [L0271] [148ms]: APIRequest::setRequest(): Setting object data...
DEBUG [L0600] [170ms]: Factory::setCreatedAndUpdatedColumns(): Set created/updated columns...
DEBUG [L1685] [170ms]: Factory::isValid(): Calling Validate()
DEBUG [L0269] [174ms]: RequestFactory::getHierarchyTypeId(): Request Type ID: 10 Hierarchy Type ID: 1010
DEBUG [L0423] [183ms] Array: RequestFactory::Validate(): Check for Superiors:
array(1) {
[0]=>
int(7523)
}
DEBUG [L0280] [183ms]: APIRequest::setRequest(): Saving data...
DEBUG [L1666] [183ms]: Factory::FailTransaction(): FailTransaction(): Transaction Count: 1 Trans Off: 1
DEBUG [L1671] [184ms]: Factory::CommitTransaction(): CommitTransaction(): Transaction Count: 1 Trans Off: 1
DEBUG [L0163] [184ms]: TTDate::setTimeZone(): Setting TimeZone: Etc/GMT-8
DEBUG [L0287] [185ms]: [Function](): Server Response Time: 0.18420791625977
---------------[ 22-Oct-2015 10:15:51 +0800 [1445480151.6894] (PID: 6903) ]---------------
Re: Proxy error from TimeTrex
I don't see any issues in that log. What kind of proxy do you have between your computer and the TimeTrex server? Can you try testing without going through the proxy?
Re: Proxy error from TimeTrex
maybe we've found the solution .. it was because of wrong settings in postmaster ... we changed ipv6 to ipv4 and it seems it works ok
Re: Proxy error from TimeTrex
last info: it was done by filled work_email attribute .... because it wrongly communicates with mailserver, so that's why it causes PROXY error .... when I drop the email, everythings seems to work properly