Cannot connect to server without typing a port number

Bug #1247109 reported by Denis Karataev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openerp-mobile
Fix Released
Low
Dharmang Soni (OpenERP)

Bug Description

Hi!

OpenERP Mobile has an option "Port number (optional)", but in fact it's not optional now, because without it I get connection error.

Related branches

Changed in openerp-mobile:
assignee: nobody → Dharmang Soni (OpenERP) (dpr-openerp)
Revision history for this message
Parth Gajjar(Open ERP) (pga-openerp) wrote :

Hello Denis Karataev,

Here "optional" in means if you running your server with any port than you must need to provide port number in mobile app.

If you are running your server locally (e.g http://localhost:8069 or http://192.168.1.211:8069) and your device connected through same network then provide values in app like,

URL : http://192.168.1.211 (localhost will not work, you must need to provide ip address)
Port: 8069 or as your port

Note: Local server will work only if you are connected with same network on which server is running.

If you are running your server on any web domain ( e.g. http://7-0-24378.runbot.openerp.com/ ) then you does not need to provide a port number just provide like this,

URL : http://7-0-24378.runbot.openerp.com/
Port: leave it blank

For avoiding confusion label should be "Port number (if any)" instead of "Port number (optional)". Marking as usability issue and will be updated soon.

Thanks,
Parth Gajjar (pga)

Changed in openerp-mobile:
importance: Undecided → Low
Changed in openerp-mobile:
status: New → Confirmed
status: Confirmed → In Progress
Revision history for this message
Dharmang Soni (OpenERP) (dpr-openerp) wrote :

Hello,

It has been fixed into https://code.launchpad.net/~openerp-dev/openerp-mobile/trunk-bug-1247109-dpr
branch with following

Revision ID: <email address hidden>
Revision No: 82

Thanks,
dpr

Changed in openerp-mobile:
status: In Progress → Fix Committed
Revision history for this message
Denis Karataev (dskarataev) wrote :

Dear Parth Gajjar,

I got the connection error even with standard port number, my server is http://tterp.ru:8069. I was able to connect only after typing the port number to the field "Port number (optional)".

Revision history for this message
Denis Karataev (dskarataev) wrote :

Meanwhile, field name "Port number (optional)" in my opinion was better name.

Revision history for this message
Parth Gajjar(Open ERP) (pga-openerp) wrote :

Hello Denis,

Now i got your problem :)
You are providing URL http://tterp.ru and on that URL your company's website is running (and it is not an OpenERP server).

Your server are running on http://tterp.ru:8069 so you must need to provide Port number. Without port number it's not going to work.

Thanks

Revision history for this message
Denis Karataev (dskarataev) wrote :

So in what case can we keep the port number field empty?

Revision history for this message
Dharmang Soni (OpenERP) (dpr-openerp) wrote :

Hello,

UI improved for port number usability issue.

Thanks,
Dharmang Soni (dpr)

Changed in openerp-mobile:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.