Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
9313 Visualizzazioni

Hello,


I use odoo 10 just local.

My IP is 192.168.0.206


I setup a Calendar API and try to sync .. .but I get this error:

400. That’s an error.

Error: invalid_request device_id and device_name are required for private IP: http://192.168.0.206:8069/google_account/authentication


A private IP is not allowed ... but how can I solve this problem?


Thank you!

Avatar
Abbandona
Risposta migliore

Hi Hannes Horting,

We cant use public IP address to sync odoo with google calender. If you are using localhost.then use  http://localhost:8069/google_account/authentication while creating credentials.If it is public IP, you should use a domain.

Avatar
Abbandona
Risposta migliore

Hello,

I have the same problem with the synchronisation of google calendar even I'm using our public IP for creating the API credentials. The router is forwarding the port 8069. Everything is working fine and It is possible to connect from outside to our local odoo server.

The first try was with the following URI: http://121.xxx.xxx.xxx:8069/google_account/authentication

For the second try I configured DNS of a domain name I had left to our server. After 24 hours the DNS was working and I used the following URI for the API credentials: http://ourdomain.ch:8069/google_account/authentication

After pressing the synchro button I get allways the same error:

400. That’s an error.
Error: invalid_request
device_id and device_name are required for private IP: http://10.0.0.5:8069/google_account/authentication

Why is still used my local IP? What is wrong and where should I change this settings?

Greets Stefan

PS: Im using odoo 11 CE

Avatar
Abbandona
Risposta migliore

Try the following:

1. Configure your router to forward requests on port 8069 to 192.168.0.206

2. Find out your public address

3. Configure your api with http://your.public.add.ress:8069/google_account/authentication

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
mar 15
4600
2
mag 25
920
1
feb 19
3420
3
lug 25
2190
0
mar 24
1692