Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


Ciao Bruno!

Have you tried to put credentials on proxy URLs in LibreOffice proxy settings (Tools -> Options -> Internet -> Proxy -> Manual)?

I mean something like this:
Proxy HTTP: http://proxy_user:proxy_password@proxy.server.com:proxy_port/ (or with the proxy port only in the LibreOffice proxy port field) Proxy HTTPS: https://proxy_user:proxy_password@proxy.server.com:proxy_port/ (ibidem) Proxy FTP: ftp://proxy_user:proxy_password@proxy.server.com:proxy_port/ (ibidem)

And so on...

Have a sunny day,

Carlo

p.s. Webgrafia:
http://www.gnu.org/software/wget/manual/html_node/Proxies.html
http://stackoverflow.com/questions/34079/how-to-specify-an-authenticated-proxy-for-a-python-http-connection <- from this you can get some further ideas for your macros...

--
ing. Carlo Strata
-
via Botticelli 1/4
30031 Dolo - VE
Italia - Italy
-
tel./fax +39.041.822.0665
cell. +39.347.85.69.824
Skype carlo.strata
Google carlo.strata.69
-
carlo.strata@tiscali.it
PEC: carlo.strata@ingpec.eu

Il 27/08/2014 12:33, carboleum@openmailbox.org ha scritto:


On 2014-08-26 21:52, Mark Bourne wrote:
carboleum@openmailbox.org wrote:

[...]


I would like to get geocode by web service Google API, my macro works at
home (without proxy) but not at work (through proxy).

At work (Windows 7, LibO 4.0.5.2) , when I launch my macro, LibO freeze
any seconds and replay "Error 1: Une exception s'est produite : Type:
com.sun.star.ucb.InteractiveNetworkConnectException Message: . (line :
194)"


[...]


Not entirely sure if this will work, but try:


[Snip the explanations I've followed letter by letter]


- Now try accessing the web service from LibreOffice.


Doesn't work :-(

Another possibility is that the service is blocked by your proxy. Are
you able to access it from work through any other means to test? e.g.
another application, by manually connecting to it (if you know what
you're doing and it uses a plain-text protocol, you can connect a
telnet session via "telnet <address> <port>" from a command prompt,
and then type the requests and see if you get a response back).


I would like to use a Google geocoding service.

It works with my/your favorite browser (through proxy): <http://maps.googleapis.com/maps/api/geocode/xml?sensor=true&address=grand\%27place+Brussels+Belgium> return a xml including location coordinates. My webbrowser ask me the proxy's login/passwd.

It works with wget through proxy (Cygwin installed, .wgetrc configured with proxy's login/passwd).

To use the google service with LibO, I have found the following webpage: <http://www.tuicool.com/articles/IN7zEb>. It works on a connection without proxy but not trough proxy.

I've tried the following macro in LibO (simplier) -> same result: works without proxy, not with proxy!

Sub Macro1
open "http://www.google.com"; for input as #1
line input #1, texte
close #1
print texte
End Sub

LibO want not to pass trough proxy!

Does it exist an another way to use webservices into LibO (pluggin, or something like that ?)


It may be worth asking your IT department what you might need to do to
get through their proxy; the rest of us can only guess at how it might
be configured. Some are more aggressive than others in blocking
certain types of traffic.


I'll see with him.

Thanx you very much for your help. We keep in touch.

Mark.

Bruno.



--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.