콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
9608 화면

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!

아바타
취소
베스트 답변

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.

아바타
취소
베스트 답변

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

아바타
취소
베스트 답변

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

아바타
취소
관련 게시물 답글 화면 활동
0
3월 15
4804
2
5월 25
1114
1
2월 19
3587
3
7월 25
2588
0
3월 24
1858