# Dreamfactory 2.0.3 / admin application version 2.0.6 gmail error

**URL:** <https://community.dreamfactory.com/t/dreamfactory-2-0-3-admin-application-version-2-0-6-gmail-error/2000>\
**Category:** Miscellaneous\
**Created:** [January 8, 2016, 12:22am UTC](https://community.dreamfactory.com/t/dreamfactory-2-0-3-admin-application-version-2-0-6-gmail-error/2000 "2016-01-08T00:22:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rusher](https://avatars.discourse-cdn.com/v4/letter/r/ac8455/32.png) [@Rusher](https://community.dreamfactory.com/u/Rusher)\
**Post date:** [January 8, 2016, 12:22am UTC](https://community.dreamfactory.com/t/dreamfactory-2-0-3-admin-application-version-2-0-6-gmail-error/2000/1 "2016-01-08T00:22:04Z")

</div>

I configured smtp with tls 587 along gmail username and password

{  
“error”: {  
“context”: null,  
“message”: “Connection could not be established with host [smtp.gmail.com](http://smtp.gmail.com) [Connection timed out #110]”,  
“code”: 500,  
“trace”: [  
“0 /opt/bitnami/apps/dreamfactory/htdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php(62): Swift\_Transport\_StreamBuffer-\>\_establishSocketConnection()”,  
“1 /opt/bitnami/apps/dreamfactory/htdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(113): Swift\_Transport\_StreamBuffer-\>initialize(Array)”,  
“2 /opt/bitnami/apps/dreamfactory/htdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php(79): Swift\_Transport\_AbstractSmtpTransport-\>start()”,  
“3 /opt/bitnami/apps/dreamfactory/htdocs/vendor/laravel/framework/src/Illuminate/Mail/Mailer.php(395): Swift\_Mailer-\>send(Object(Swift\_Message), Array)”,  
“4 /opt/bitnami/apps/dreamfactory/htdocs/vendor/laravel/framework/src/Illuminate/Mail/Mailer.php(181): Illuminate\Mail\Mailer-\>sendSwiftMessage(Object(Swift\_Message))”,  
“5 /opt/bitnami/apps/dreamfactory/htdocs/vendor/dreamfactory/df-core/src/Services/Email/BaseService.php(198): Illuminate\Mail\Mailer-\>send(Array, Array, Object(Closure))”,  
“6 /opt/bitnami/apps/dreamfactory/htdocs/vendor/dreamfactory/df-core/src/Services/Email/BaseService.php(112): DreamFactory\Core\Services\Email\BaseService-\>sendEmail(Array, ‘this is a test’, NULL)”,  
“7 [internal function]: DreamFactory\Core\Services\Email\BaseService-\>handlePOST()”,  
“8 /opt/bitnami/apps/dreamfactory/htdocs/vendor/dreamfactory/df-core/src/Components/RestHandler.php(271): call\_user\_func(Array)”,  
“9 /opt/bitnami/apps/dreamfactory/htdocs/vendor/dreamfactory/df-core/src/Components/RestHandler.php(177): DreamFactory\Core\Components\RestHandler-\>processRequest()”,  
“10 /opt/bitnami/apps/dreamfactory/htdocs/vendor/dreamfactory/df-core/src/Services/BaseRestService.php(65): DreamFactory\Core\Components\RestHandler-\>handleRequest(Object(DreamFactory\Core\Utility\ServiceRequest), NULL)”,  
“11 /opt/bitnami/apps/dreamfactory/htdocs/vendor/dreamfactory/df-core/src/Utility/ServiceHandler.php(57): DreamFactory\Core\Services\BaseRestService-\>handleRequest(Object(DreamFactory\Core\Utility\ServiceRequest), NULL)”,  
“12 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(17653): DreamFactory\Core\Utility\ServiceHandler::processRequest(‘v2’, ‘email-passber-i…’, NULL)”,  
“13 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(17629): DreamFactory\Http\Controllers\RestController-\>handleService(‘v2’, ‘email-passber-i…’, NULL)”,  
“14 [internal function]: DreamFactory\Http\Controllers\RestController-\>handlePOST(‘v2’, ‘email-passber-i…’)”,  
“15 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(8873): call\_user\_func\_array(Array, Array)”,  
“16 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(8942): Illuminate\Routing\Controller-\>callAction(‘handlePOST’, Array)”,  
“17 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(8922): Illuminate\Routing\ControllerDispatcher-\>call(Object(DreamFactory\Http\Controllers\RestController), Object(Illuminate\Routing\Route), ‘handlePOST’)”,  
“18 [internal function]: Illuminate\Routing\ControllerDispatcher-\>Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,  
“19 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9592): call\_user\_func(Object(Closure), Object(Illuminate\Http\Request))”,  
“20 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(17802): Illuminate\Pipeline\Pipeline-\>Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,  
“21 [internal function]: DreamFactory\Http\Middleware\AccessCheck-\>handle(Object(Illuminate\Http\Request), Object(Closure))”,  
“22 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9584): call\_user\_func\_array(Array, Array)”,  
“23 [internal function]: Illuminate\Pipeline\Pipeline-\>Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,  
“24 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9574): call\_user\_func(Object(Closure), Object(Illuminate\Http\Request))”,  
“25 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(8923): Illuminate\Pipeline\Pipeline-\>then(Object(Closure))”,  
“26 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(8908): Illuminate\Routing\ControllerDispatcher-\>callWithinStack(Object(DreamFactory\Http\Controllers\RestController), Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), ‘handlePOST’)”,  
“27 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(7862): Illuminate\Routing\ControllerDispatcher-\>dispatch(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), ‘DreamFactory\\Ht…’, ‘handlePOST’)”,  
“28 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(7833): Illuminate\Routing\Route-\>runWithCustomDispatcher(Object(Illuminate\Http\Request))”,  
“29 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(7486): Illuminate\Routing\Route-\>run(Object(Illuminate\Http\Request))”,  
“30 [internal function]: Illuminate\Routing\Router-\>Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,  
“31 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9592): call\_user\_func(Object(Closure), Object(Illuminate\Http\Request))”,  
“32 [internal function]: Illuminate\Pipeline\Pipeline-\>Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,  
“33 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9574): call\_user\_func(Object(Closure), Object(Illuminate\Http\Request))”,  
“34 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(7487): Illuminate\Pipeline\Pipeline-\>then(Object(Closure))”,  
“35 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(7475): Illuminate\Routing\Router-\>runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))”,  
“36 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(7460): Illuminate\Routing\Router-\>dispatchToRoute(Object(Illuminate\Http\Request))”,  
“37 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(2307): Illuminate\Routing\Router-\>dispatch(Object(Illuminate\Http\Request))”,  
“38 [internal function]: Illuminate\Foundation\Http\Kernel-\>Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))”,  
“39 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9592): call\_user\_func(Object(Closure), Object(Illuminate\Http\Request))”,  
“40 /opt/bitnami/apps/dreamfactory/htdocs/app/Http/Middleware/AuthCheck.php(170): Illuminate\Pipeline\Pipeline-\>Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,  
“41 [internal function]: DreamFactory\Http\Middleware\AuthCheck-\>handle(Object(Illuminate\Http\Request), Object(Closure))”,  
“42 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9584): call\_user\_func\_array(Array, Array)”,  
“43 /opt/bitnami/apps/dreamfactory/htdocs/vendor/barryvdh/laravel-cors/src/HandleCors.php(34): Illuminate\Pipeline\Pipeline-\>Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,  
“44 [internal function]: Barryvdh\Cors\HandleCors-\>handle(Object(Illuminate\Http\Request), Object(Closure))”,  
“45 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9584): call\_user\_func\_array(Array, Array)”,  
“46 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(17894): Illuminate\Pipeline\Pipeline-\>Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,  
“47 [internal function]: DreamFactory\Http\Middleware\FirstUserCheck-\>handle(Object(Illuminate\Http\Request), Object(Closure))”,  
“48 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9584): call\_user\_func\_array(Array, Array)”,  
“49 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(12952): Illuminate\Pipeline\Pipeline-\>Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,  
“50 [internal function]: Illuminate\View\Middleware\ShareErrorsFromSession-\>handle(Object(Illuminate\Http\Request), Object(Closure))”,  
“51 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9584): call\_user\_func\_array(Array, Array)”,  
“52 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(11549): Illuminate\Pipeline\Pipeline-\>Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,  
“53 [internal function]: Illuminate\Session\Middleware\StartSession-\>handle(Object(Illuminate\Http\Request), Object(Closure))”,  
“54 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9584): call\_user\_func\_array(Array, Array)”,  
“55 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(12689): Illuminate\Pipeline\Pipeline-\>Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,  
“56 [internal function]: Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse-\>handle(Object(Illuminate\Http\Request), Object(Closure))”,  
“57 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9584): call\_user\_func\_array(Array, Array)”,  
“58 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(12626): Illuminate\Pipeline\Pipeline-\>Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,  
“59 [internal function]: Illuminate\Cookie\Middleware\EncryptCookies-\>handle(Object(Illuminate\Http\Request), Object(Closure))”,  
“60 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9584): call\_user\_func\_array(Array, Array)”,  
“61 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(2982): Illuminate\Pipeline\Pipeline-\>Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,  
“62 [internal function]: Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode-\>handle(Object(Illuminate\Http\Request), Object(Closure))”,  
“63 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9584): call\_user\_func\_array(Array, Array)”,  
“64 [internal function]: Illuminate\Pipeline\Pipeline-\>Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,  
“65 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9574): call\_user\_func(Object(Closure), Object(Illuminate\Http\Request))”,  
“66 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(2254): Illuminate\Pipeline\Pipeline-\>then(Object(Closure))”,  
“67 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(2237): Illuminate\Foundation\Http\Kernel-\>sendRequestThroughRouter(Object(Illuminate\Http\Request))”,  
“68 /opt/bitnami/apps/dreamfactory/htdocs/public/index.php(53): Illuminate\Foundation\Http\Kernel-\>handle(Object(Illuminate\Http\Request))”,  
“69 {main}”  
]  
}  
}

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [January 8, 2016, 4:08pm UTC](https://community.dreamfactory.com/t/dreamfactory-2-0-3-admin-application-version-2-0-6-gmail-error/2000/2 "2016-01-08T16:08:52Z")

</div>

Hi Rusher. I just tested smtp on a 2.0.3 install and did not have any trouble with [smtp.gmail.com](http://smtp.gmail.com)  
Perhaps you should try pinging from your DF server to [smtp.gmail.com](http://smtp.gmail.com) to see if the route is open.  
If that works you can also try telnetting on port 587 to [smtp.gmail.com](http://smtp.gmail.com) to see if it’s a firewall issue.

---

<div class="post-metadata">

**Author:** ![sreenivas](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@sreenivas](https://community.dreamfactory.com/u/sreenivas)\
**Post date:** [January 9, 2016, 11:43am UTC](https://community.dreamfactory.com/t/dreamfactory-2-0-3-admin-application-version-2-0-6-gmail-error/2000/3 "2016-01-09T11:43:57Z")

</div>

Hi Drew,

I added a new SMTP Service… but Host,portno, Username, password details are not getting saved…  
Its working in 2.0.3 but It seems there is a bug in 2.0.4.I have Tested it…2.0.4 SMTP details are not getting SAved…

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [January 11, 2016, 2:09pm UTC](https://community.dreamfactory.com/t/dreamfactory-2-0-3-admin-application-version-2-0-6-gmail-error/2000/4 "2016-01-11T14:09:50Z")

</div>

Thanks. I will investigate.

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [January 11, 2016, 7:35pm UTC](https://community.dreamfactory.com/t/dreamfactory-2-0-3-admin-application-version-2-0-6-gmail-error/2000/5 "2016-01-11T19:35:08Z")

</div>

Confirmed this bug. Filing a report.

FYI, this error @screenivas is reporting only exists in 2.0.4.

The original error reported in this thread has not been duplicated.

---

<div class="post-metadata">

**Author:** ![Rusher](https://avatars.discourse-cdn.com/v4/letter/r/ac8455/32.png) [@Rusher](https://community.dreamfactory.com/u/Rusher)\
**Post date:** [January 28, 2016, 8:09am UTC](https://community.dreamfactory.com/t/dreamfactory-2-0-3-admin-application-version-2-0-6-gmail-error/2000/7 "2016-01-28T08:09:18Z")

</div>

Dear drewpearce.

Has this been patched with 2.0.4.2?

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [January 28, 2016, 2:54pm UTC](https://community.dreamfactory.com/t/dreamfactory-2-0-3-admin-application-version-2-0-6-gmail-error/2000/8 "2016-01-28T14:54:30Z")

</div>

Rusher, the issue you reported has not been verified as a bug. See my response to you above.  
The issue that screenivas reported only existed in 2.4 (all releases.) His issue should be fixed in the forthcoming release.

---

<div class="post-metadata">

**Author:** ![samth](https://avatars.discourse-cdn.com/v4/letter/s/3ec8ea/32.png) [@samth](https://community.dreamfactory.com/u/samth)\
**Post date:** [October 25, 2018, 6:40am UTC](https://community.dreamfactory.com/t/dreamfactory-2-0-3-admin-application-version-2-0-6-gmail-error/2000/9 "2018-10-25T06:40:51Z")

</div>

I have faced the similar issue with Gmail id. Yesterday, My friend told me to contact [Gmail Error 007](https://www.emailcustomercareservice.com/blog/fix-gmail-error-007/) services for a set up account on Dreamfactory 2.0.3. I have made contact with him and my problem gets resolved successfully. You should contact them. Thank you!
