標籤:app 端接收不到手機簡訊驗證
前言
最近很忙,業務要在這個月底上線。目前在測試階段。
2017年10月27日9點30分。世龍啊!咱們第三方伺服器接收不到手機簡訊驗證了,報錯504.好的我看看。我首先登入公司網站,開啟網站debug模式看看訪問那個頁面報錯是怎樣的?發現報錯如下:
</head>
<body>
<h1>An error occurred.</h1>
<p>Sorry, the page you are looking for is currently unavailable.<br/>
Please try again later.</p>
<p>If you are the system administrator of this resource then you should check
the <a href="650) this.width=650;" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />http://nginx.org/r/error_log">error log</a> for details.</p>
<p><em>Faithfully yours, nginx.</em></p>
650) this.width=650;" src="https://s4.51cto.com/oss/201710/27/92bb2251c54b830c990bd9fa8f366942.png-wh_500x0-wm_3-wmp_4-s_1658324590.png" title="1.PNG" alt="92bb2251c54b830c990bd9fa8f366942.png-wh_" />
650) this.width=650;" src="https://s1.51cto.com/oss/201710/27/f1256cec07223738f75838e97c2ff82e.png-wh_500x0-wm_3-wmp_4-s_1621294759.png" title="捕獲.PNG" alt="f1256cec07223738f75838e97c2ff82e.png-wh_" />
報錯資訊是說您正在尋找的頁面目前不可用,請聯絡系統管理員!
看到這個錯誤我想說給你們的感覺是什嗎?
反應1 :是不是代碼錯誤啊!幹了他狗日的!哈哈!
反應2 :還是看看日誌分析一下吧!!!
好的!我看看日誌吧?看看是否會獲得自己想要的資訊!:
650) this.width=650;" src="https://s5.51cto.com/oss/201710/27/e6f1a994ea5f8b66f6d3df4a82eb8404.png-wh_500x0-wm_3-wmp_4-s_430299912.png" title="捕獲.PNG" alt="e6f1a994ea5f8b66f6d3df4a82eb8404.png-wh_" />
看看報錯是什嗎?他說找不到/var/www/third2/ 中的js檔案啊?(測試環境代碼路徑隨便扔了!!!)
去看看該路徑中是否有報錯所提示的吧!
650) this.width=650;" src="https://s5.51cto.com/oss/201710/27/8e23e25e00b8dd32f72d0bdd788127fa.png-wh_500x0-wm_3-wmp_4-s_570429692.png" title="4.PNG" alt="8e23e25e00b8dd32f72d0bdd788127fa.png-wh_" />
我曹這裡不有這個東西嗎?什麼鬼?來說說? 好吧!我進sms.php 中看看吧!!!
650) this.width=650;" src="https://s5.51cto.com/oss/201710/27/6edac784e8745f38cb1a9a6e2876d47d.png-wh_500x0-wm_3-wmp_4-s_2605903788.png" title="6.PNG" alt="6edac784e8745f38cb1a9a6e2876d47d.png-wh_" />
分析發現呵呵了!是不是那個SB把資料庫連接錯了???
650) this.width=650;" src="https://s2.51cto.com/oss/201710/27/40b13a41b4c1b489de91ce98be023835.png-wh_500x0-wm_3-wmp_4-s_3710903487.png" title="9.PNG" alt="40b13a41b4c1b489de91ce98be023835.png-wh_" />
真是啊!今朝有酒今朝醉!
看看這回怎麼樣把??? 手機驗證吧!
650) this.width=650;" src="https://s5.51cto.com/oss/201710/27/bd530c33caccb0f3d73703915f7496a0.png-wh_500x0-wm_3-wmp_4-s_2154124228.png" title="99.PNG" alt="bd530c33caccb0f3d73703915f7496a0.png-wh_" />
看看手機吧!
650) this.width=650;" src="https://s3.51cto.com/oss/201710/27/d5c89b792e87b562eecdfe58f807d340.jpg-wh_500x0-wm_3-wmp_4-s_1968106056.jpg" title="TIM圖片20171027161454.jpg" alt="d5c89b792e87b562eecdfe58f807d340.jpg-wh_" />
可以了!
總結!日積月累》》》
本文出自 “李世龍” 部落格,謝絕轉載!
App 端接收不到手機簡訊驗證