ramccor / esmska

Automatically exported from code.google.com/p/esmska
0 stars 0 forks source link

Gateway O2 (Registrace) is not working over proxy #462

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Just send SMS wia Gateway Gateway O2 (Registrace)
2.
3.

What is the expected output? What do you see instead?
It shows: Doslo k nezname chybe. Brana ma mozna problémy...
Same error is here at least for last 14 days. WWW gateway is working ok.

What version of Esmska are you using? On what operating system?
1.6 on W7

If you have problem with a gateway, what its exact name and version is?
(see gateway tooltip)
[CZ]O2 (registrace) from 2013-05-29 1.3beta1

Please provide any additional information below.

Original issue reported on code.google.com by lukas.je...@seznam.cz on 18 Jun 2014 at 8:54

GoogleCodeExporter commented 9 years ago
Further analysis showed that the issue is caused by proxy setting.

Original comment by lukas.je...@seznam.cz on 18 Jun 2014 at 9:05

GoogleCodeExporter commented 9 years ago
18.6.2014 10:57:09 esmska.transfer.GatewayConnector doGet
WARNING: Problem connecting to "http://sms.1188.cz". Response: HTTP/1.1 407 
Proxy Authentication Required ( Forefront TMG requires authorization to fulfill 
the request. Access to the Web Proxy filter is denied.  )
18.6.2014 10:57:09 esmska.transfer.GatewayExecutor getURL
WARNING: Could not execute getURL
java.io.IOException: Could not connect to URL
    at esmska.transfer.GatewayExecutor.getURL(GatewayExecutor.java:113)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:160)
    at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
    at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
    at org.mozilla.javascript.gen.c3._c16(<Unknown source>:78)
    at org.mozilla.javascript.gen.c3.call(<Unknown source>)
    at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:401)
    at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3003)
    at org.mozilla.javascript.gen.c3.call(<Unknown source>)
    at com.sun.phobos.script.javascript.RhinoScriptEngine.invokeMethod(RhinoScriptEngine.java:245)
    at com.sun.phobos.script.javascript.RhinoScriptEngine.invokeFunction(RhinoScriptEngine.java:216)
    at esmska.transfer.GatewayInterpreter.sendMessage(GatewayInterpreter.java:87)
    at esmska.transfer.SMSSender$SMSWorker.doInBackground(SMSSender.java:127)
    at esmska.transfer.SMSSender$SMSWorker.doInBackground(SMSSender.java:101)
    at javax.swing.SwingWorker$1.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at javax.swing.SwingWorker.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

Original comment by lukas.je...@seznam.cz on 18 Jun 2014 at 9:05

GoogleCodeExporter commented 9 years ago
Can you try on some computer without the proxy? This gateway works just fine 
for me.

Judging by the error message:
"Proxy Authentication Required ( Forefront TMG requires authorization to 
fulfill the request. Access to the Web Proxy filter is denied. )"

your proxy server requires authentication. That is not supported in Esmska, I'm 
sorry.

Original comment by kamil.paral on 21 Jun 2014 at 7:37