Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3 Replies
9223 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Jawaban Terbai

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
0
Mar 15
4494
2
Mei 25
821
1
Feb 19
3378
3
Jul 25
2075
0
Mar 24
1661