草庐IT

TransportException

全部标签

php - Laravel 忘记密码 1/1) Swift_TransportException

我是Laravel的新手,希望提高我使用Laravel框架5.4的技能。但是遇到这个错误我不知道怎么办:1/1)Swift_TransportException预期响应代码250但得到代码“530”,消息“5305.7.1需要身份验证”我的env文件有问题吗?或配置文件?感谢您的回复:) 最佳答案 我认为您可以检查您的.env和config/mail.php邮件配置,例如:.环境MAIL_DRIVER=smtpMAIL_HOST=smtp.gmail.comMAIL_PORT=587MAIL_USERNAME=myusername@

php - 如何纠正 Composer 的 [Composer\Downloader\TransportException] 错误

大家好,我已经遇到这个问题好几天了,当我尝试使用composer为我的php项目下载依赖项时出现此错误c:\wamp64\www\Test>composerglobalrequire"fxp/composer-asset-plugin:^1.3.1"ChangedcurrentdirectorytoC:/Users/NwachukwuFavour/AppData/Roaming/Composer./composer.jsonhasbeenupdatedLoadingcomposerrepositorieswithpackageinformationUpdatingdependencie

php - Zend Framework 2 应用程序中 composer.phar self 更新的 Composer\Downloader\TransportException

我正在尝试更新项目中的ZendFramework2库并遇到异常:use@machine:/path/to/project#phpcomposer.pharself-update[Composer\Downloader\TransportException]The"https://getcomposer.org/version"filecouldnotbedownloaded(HTTP/1.1502BadGateway)也试过了so,但错误仍然存​​在:use@machine:/path/to/project#curlhttp://getcomposer.org/installer|ph

php - 未捕获的异常 'Swift_TransportException',消息为 'Connection could not be established with host smtp.gmail.com [Connection timed out #110]'

我已经在google中搜索过了,并尝试了StackOverflow中的所有建议。但我仍然收到fatalerror:我正在使用SwiftMailer向GMAIL发送和电子邮件。它在我的本地主机上完美运行,但是当我上传并尝试时它给了我一个fatalerror:这是我的部分代码:require_once'Swift-5.1.0/lib/swift_required.php';$email="fromemail@gmail.com";$transport=Swift_SmtpTransport::newInstance('ssl://smtp.gmail.com',465);$transpor

PHP fatal error : 'Swift_TransportException' with message 'Failed to authenticate on SMTP server

我知道之前有人问过这个问题,我已经阅读了那里的所有帖子,但我仍然找不到解决方案。我有一台安装了wamp的Windows机器。当我尝试通过谷歌的SMTP服务器发送一封简单的电子邮件时,一切正常。但是,当我将相同的脚本复制到Ubuntu12机器时,它给了我这个错误:PHPFatalerror:Uncaughtexception'Swift_TransportException'withmessage'FailedtoauthenticateonSMTPserverwithusername"xxx@gmail.com"using2possibleauthenticators'in/home/

java 整合elasticsearch8.6.2 问题解决 .TransportException: [es/indices.exists] Miss

co.elastic.clients.transport.TransportException:[es/indices.exists]Missing[X-Elastic-Product]header问题记录这里记录一次远程连接es8.6.2,账号密码方式安全连接的一次问题解决,**注意*******:es8.6.2安全连接参考地址:https://cloud.tencent.com/developer/article/2046642补充,按照以上地址配置es理论上是不会出现[X-Elastic-Product]header这个问题的,所以请先确认es的证书(及服务器上配置es后生成的后缀名为.

java - 从未收到 SSH 服务器标识 - 握手死锁 [SSHJ]

我们在尝试为我们的应用程序实现SftpConnections池时遇到了一些问题。我们目前正在使用SSHJ(Schmizz)作为传输库,并且面临一个我们根本无法在开发环境中模拟的问题(但该错误在生产环境中不断随机显示,有时会在三天后出现,有时只需要10分钟)。问题是,当尝试通过SFTP发送文件时,线程在schmizz的TransportImpl类的init方法中被锁定:@Overridepublicvoidinit(StringremoteHost,intremotePort,InputStreamin,OutputStreamout)throwsTransportException{c

org.eclipse.jgit.api.errors.TransportException

SpringCloud下报错org.eclipse.jgit.api.errors.TransportException:git@github.com:XXX:Authfail(成功解决)由于SpringCloudConfig默认使用git来存储配置文件,所以在连接github就出现了此问题,直接上解决方案。spring:cloud:config:server:git:uri:https://github.com/XXX/XXX.git#GitHub上git仓库名search-paths:-springcloud-configskip-ssl-validation:true#跳过ssl验证us

php - 无法与主机 smtp.gmail.com 建立 Swift_TransportException 连接

我一辈子都想不通为什么它会失败......这就是我得到的确切错误:Fatalerror:Uncaughtexception'Swift_TransportException'withmessage'Connectioncouldnotbeestablishedwithhostsmtp.gmail.com[Connectionrefused#111]'in/home/content/38/6896038/html/test/lib/classes/Swift/Transport/StreamBuffer.php:259Stacktrace:#0/home/content/38/68960

php - 无法与主机 smtp.gmail.com 建立 Swift_TransportException 连接

我一辈子都想不通为什么它会失败......这就是我得到的确切错误:Fatalerror:Uncaughtexception'Swift_TransportException'withmessage'Connectioncouldnotbeestablishedwithhostsmtp.gmail.com[Connectionrefused#111]'in/home/content/38/6896038/html/test/lib/classes/Swift/Transport/StreamBuffer.php:259Stacktrace:#0/home/content/38/68960
12